summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/gcc/gcc-cross-kernel.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/gcc/gcc-cross-kernel.inc b/packages/gcc/gcc-cross-kernel.inc
index a567c60119..c0a8de77cc 100644
--- a/packages/gcc/gcc-cross-kernel.inc
+++ b/packages/gcc/gcc-cross-kernel.inc
@@ -9,6 +9,13 @@ 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