-PV = "20100106"
-PR = "r0"
TARGET_OS_ORIG := "${TARGET_OS}"
OVERRIDES_append = ":${TARGET_OS_ORIG}"
EXTRA_OECONF_LAST = "--build=${BUILD_SYS} --host=${HOST_SYS}"
+
+SRC_URI += "file://prelink.conf.patch \
+ "
+
+do_patch_append () {
+ echo RLM begining of do_patch
+
+ cat ${WORKDIR}/prelink.conf.patch | patch -s -p1 --fuzz=2
+ echo RLM end of do_patch
+}
+
+
+
do_configure_prepend () {
# Disable documentation!
echo "all:" > ${S}/doc/Makefile.am
--- /dev/null
+diff --git a/packaging/prelink.conf b/packaging/prelink.conf
+index 8959bf0..5d63e3c 100644
+--- a/packaging/prelink.conf
++++ b/packaging/prelink.conf
+@@ -15,8 +15,9 @@
+ -b *.xslt
+ -b *.a
+ -b *.js
+--b /lib/modules
+--b /usr/lib/locale
++#do not work for yocto
++#-b /lib/modules
++#-b /usr/lib/locale
+ -l /usr/local/sbin
+ -l /sbin
+ -l /usr/sbin