diff options
author | Tom Rini <trini@embeddedalley.com> | 2009-01-28 15:44:56 -0500 |
---|---|---|
committer | Tom Rini <trini@embeddedalley.com> | 2009-01-28 15:44:56 -0500 |
commit | 6638d03ac6f88d30dfc904a1e20f9d3c5d73fa70 (patch) | |
tree | dca1348f8431ddcfa53f5c7e5db859d99b6f3be7 /packages/binutils/binutils-canadian-cross.inc | |
parent | 95c914647d7fcbefee17b6c319af2d576b503f4e (diff) | |
parent | b2b123a438f9a456dca068330c27ba554524b0e3 (diff) |
Merge branch 'org.openembedded.dev' into trini/canadian-final-merge
Diffstat (limited to 'packages/binutils/binutils-canadian-cross.inc')
-rw-r--r-- | packages/binutils/binutils-canadian-cross.inc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/binutils/binutils-canadian-cross.inc b/packages/binutils/binutils-canadian-cross.inc new file mode 100644 index 0000000000..244c69ff8b --- /dev/null +++ b/packages/binutils/binutils-canadian-cross.inc @@ -0,0 +1,25 @@ +SECTION = "devel" +inherit canadian-cross +DEPENDS += "flex-native bison-native" +PROVIDES = "virtual/${TARGET_PREFIX}binutils" +PACKAGES = "" +EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_HOST} \ + --program-prefix=${TARGET_PREFIX} \ + --enable-install-libbfd \ + --disable-werror" + +do_stage () { + # ugly hack introduce to link our staging area up + mkdir -p ${exec_prefix}/${SDK_SYS} + ln -s ${STAGING_INCDIR} ${exec_prefix}/${SDK_SYS}/include + ln -s ${STAGING_LIBDIR} ${exec_prefix}/${SDK_SYS}/lib + + oe_runmake install + + # We don't really need these, so we'll remove them... + rm -rf ${exec_prefix}/${SDK_SYS}/lib/ldscripts +} + +do_install () { + : +} |