2009-09-16 23:49:03 +00:00
|
|
|
inherit cross-canadian
|
2010-01-14 10:21:45 +00:00
|
|
|
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
|
2010-07-15 09:16:57 +00:00
|
|
|
EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
|
2009-09-16 23:49:03 +00:00
|
|
|
--program-prefix=${TARGET_PREFIX}"
|
|
|
|
|
|
|
|
do_install () {
|
|
|
|
autotools_do_install
|
|
|
|
|
2010-07-24 00:07:54 +00:00
|
|
|
# We're not interested in the libs or headers, these would come from the
|
|
|
|
# nativesdk or target version of the binutils recipe
|
2010-08-03 19:04:33 +00:00
|
|
|
rm -rf ${D}${prefix}/${TARGET_SYS}
|
2010-07-24 00:07:54 +00:00
|
|
|
rm -f ${D}${libdir}/libbfd*
|
|
|
|
rm -f ${D}${libdir}/libiberty*
|
|
|
|
rm -f ${D}${libdir}/libopcodes*
|
|
|
|
rm -f ${D}${includedir}/*.h
|
2009-09-16 23:49:03 +00:00
|
|
|
}
|