From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/gcc/gcc-cross-kernel.inc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes/gcc/gcc-cross-kernel.inc (limited to 'recipes/gcc/gcc-cross-kernel.inc') diff --git a/recipes/gcc/gcc-cross-kernel.inc b/recipes/gcc/gcc-cross-kernel.inc new file mode 100644 index 0000000000..c0a8de77cc --- /dev/null +++ b/recipes/gcc/gcc-cross-kernel.inc @@ -0,0 +1,23 @@ +# Cut-down gcc for kernel builds +# Only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc. + +DEPENDS += "gcc-cross" + +PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}" + +do_install () { + : +} + +do_compile () { + # This compiler is only for the kernel. Don't bother running fixincludes. + mkdir -p gcc + touch gcc/stmp-fixinc + oe_runmake +} + +do_stage () { + cd gcc + oe_runmake installdirs install-common install-headers install-libgcc + install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV} +} -- cgit 1.2.3-korg