diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:03:58 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:12:02 +0100 |
commit | be10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch) | |
tree | 9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/gcc-cross-kernel.inc | |
parent | 93b28937ac67ba46d65f55637e42552e224aa7e2 (diff) | |
download | meta-openembedded-be10a6b1321f250b1034c7d9d0a8ef18b296eef1.tar.gz |
angstrom-layers: meta-openembedded: replace poky gcc 4.5 sources with OE ones
This needs further investigation, but for now we can get the tested sources into the poky gcc harness
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes-devtools/gcc/gcc-cross-kernel.inc')
-rw-r--r-- | recipes-devtools/gcc/gcc-cross-kernel.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-cross-kernel.inc b/recipes-devtools/gcc/gcc-cross-kernel.inc new file mode 100644 index 0000000000..5347762762 --- /dev/null +++ b/recipes-devtools/gcc/gcc-cross-kernel.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | # Cut-down gcc for kernel builds | ||
2 | # Only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc. | ||
3 | |||
4 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}" | ||
5 | |||
6 | do_install () { | ||
7 | cd gcc | ||
8 | oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc | ||
9 | install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV} | ||
10 | } | ||