add models, vusolo/vuuno/vuultimo/vusolo2/vuduo2
[vuplus_openvuplus_3.0] / meta-bsp / vuduo2 / recipes / linux / linux-vuplus-2.6.37 / bmips-no-array-bounds.patch
1 diff --git a/arch/mips/Makefile b/arch/mips/Makefile
2 index 7c1102e..70e029e 100644
3 --- a/arch/mips/Makefile
4 +++ b/arch/mips/Makefile
5 @@ -162,6 +162,8 @@ cflags-$(CONFIG_CPU_R4000_WORKAROUNDS)      += $(call cc-option,-mfix-r4000,)
6  cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,)
7  cflags-$(CONFIG_CPU_DADDI_WORKAROUNDS) += $(call cc-option,-mno-daddi,)
8  
9 +cflags-$(CONFIG_BRCMSTB) += -Wno-array-bounds -Wno-unused-but-set-variable
10 +
11  ifdef CONFIG_CPU_SB1
12  ifdef CONFIG_SB1_PASS_1_WORKAROUNDS
13  KBUILD_AFLAGS_MODULE += -msb1-pass1-workarounds