fix i4l patches
[openwrt.git] / package / linux / kernel-patches / 003-arch_mips_Makefile
1 --- linux-mips-cvs/arch/mips/Makefile 2005-01-31 12:59:28.000000000 +0100
2 +++ linux-broadcom/arch/mips/Makefile 2005-01-31 13:13:14.000000000 +0100
3 @@ -47,9 +47,9 @@
4 GCCFLAGS += -G 0 -mno-abicalls -fno-pic -pipe
5 GCCFLAGS += $(call check_gcc, -finline-limit=100000,)
6 LINKFLAGS += -G 0 -static -n
7 -MODFLAGS += -mlong-calls
8 +MODFLAGS += -mlong-calls -fno-common
9
10 -ifdef CONFIG_DEBUG_INFO
11 +ifdef CONFIG_REMOTE_DEBUG
12 GCCFLAGS += -g
13 ifdef CONFIG_SB1XXX_CORELIS
14 GCCFLAGS += -mno-sched-prolog -fno-omit-frame-pointer
15 @@ -174,6 +174,7 @@
16 endif
17
18 AFLAGS += $(GCCFLAGS)
19 +ASFLAGS += $(GCCFLAGS)
20 CFLAGS += $(GCCFLAGS)
21
22 LD += -m $(ld-emul)
23 @@ -727,6 +728,19 @@
24 endif
25
26 #
27 +# Broadcom BCM947XX variants
28 +#
29 +ifdef CONFIG_BCM947XX
30 +LIBS += arch/mips/brcm-boards/generic/brcm.o arch/mips/brcm-boards/bcm947xx/bcm947xx.o
31 +SUBDIRS += arch/mips/brcm-boards/generic arch/mips/brcm-boards/bcm947xx
32 +LOADADDR := 0x80001000
33 +
34 +zImage: vmlinux
35 + $(MAKE) -C arch/$(ARCH)/brcm-boards/bcm947xx/compressed
36 +export LOADADDR
37 +endif
38 +
39 +#
40 # Choosing incompatible machines durings configuration will result in
41 # error messages during linking. Select a default linkscript if
42 # none has been choosen above.
This page took 0.038714 seconds and 5 git commands to generate.