aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-mtx-1-2.4.24/05-zboot-cflags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-mtx-1-2.4.24/05-zboot-cflags.diff')
-rw-r--r--recipes/linux/linux-mtx-1-2.4.24/05-zboot-cflags.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/linux/linux-mtx-1-2.4.24/05-zboot-cflags.diff b/recipes/linux/linux-mtx-1-2.4.24/05-zboot-cflags.diff
new file mode 100644
index 0000000000..9ac0c31b45
--- /dev/null
+++ b/recipes/linux/linux-mtx-1-2.4.24/05-zboot-cflags.diff
@@ -0,0 +1,15 @@
+--- linux-mips-2.4.24-pre2+zboot/arch/mips/zboot/Makefile 2004-11-17 19:25:04.538345048 +0100
++++ linux/arch/mips/zboot/Makefile 2004-11-17 19:21:05.304714088 +0100
+@@ -25,11 +25,7 @@
+
+ GZIP_FLAGS = -v9f
+
+-CFLAGS := $(CPPFLAGS) -O2 -D__BOOTER__ \
+- -fomit-frame-pointer -fno-strict-aliasing -fno-common \
+- -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 \
+- -I$(TOPDIR)/arch/$(ARCH)/zboot/include \
+- -I$(TOPDIR)/include/asm
++CFLAGS += -D__BOOTER__ -I$(TOPDIR)/arch/$(ARCH)/zboot/include
+ AFLAGS += -D__BOOTER__
+
+ BOOT_TARGETS = zImage zImage.initrd zImage.flash zImage.initrd.flash