2 sed -i 's!/usr/bin/mkdir -p!/bin/mkdir -p!g' ${S}/packaging/ac.service
3 # preload_list.txt and preexec_list.txt are generated from .in files so they are located in the build directory instead of the source one
4 sed -i 's@INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/legacy/preload_list.txt DESTINATION /usr/share/aul )@INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/legacy/preload_list.txt DESTINATION /usr/share/aul )@' ${S}/CMakeLists.txt
5 sed -i 's@INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/feature/preexec_list.txt DESTINATION /usr/share/aul )@INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/feature/preexec_list.txt DESTINATION /usr/share/aul )@' ${S}/CMakeLists.txt
8 SRC_URI_append_class-native = " file://remove-dlog-for-native-build.patch"
9 aul_files += "${prefix}/share/aul/mida_db.sql"
11 RDEPENDS_${PN}_remove_class-native = "systemd-native"
12 RDEPENDS_${PN}_remove_class-native = "eglibc-native"
14 DEPENDS_remove_class-native = "dlog-native"
16 EXTRA_OECMAKE+="-DCMAKE_AR:PATH=ar"