X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=meta-bsp%2Fvuduo2%2Frecipes%2Flinux%2Flinux-vuplus-2.6.37%2Fbmips-no-array-bounds.patch;fp=meta-bsp%2Fvuduo2%2Frecipes%2Flinux%2Flinux-vuplus-2.6.37%2Fbmips-no-array-bounds.patch;h=09ad2535adbf05e08f3d60738c3898d48d7f689b;hb=51a0a87e90d4beb0f224dcedb1126d3d8c9a4855;hp=0000000000000000000000000000000000000000;hpb=4b72030a9aa57e32f1e80f91e008fb9d5e55af13;p=vuplus_openvuplus diff --git a/meta-bsp/vuduo2/recipes/linux/linux-vuplus-2.6.37/bmips-no-array-bounds.patch b/meta-bsp/vuduo2/recipes/linux/linux-vuplus-2.6.37/bmips-no-array-bounds.patch new file mode 100644 index 0000000..09ad253 --- /dev/null +++ b/meta-bsp/vuduo2/recipes/linux/linux-vuplus-2.6.37/bmips-no-array-bounds.patch @@ -0,0 +1,13 @@ +diff --git a/arch/mips/Makefile b/arch/mips/Makefile +index 7c1102e..70e029e 100644 +--- a/arch/mips/Makefile ++++ b/arch/mips/Makefile +@@ -162,6 +162,8 @@ cflags-$(CONFIG_CPU_R4000_WORKAROUNDS) += $(call cc-option,-mfix-r4000,) + cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,) + cflags-$(CONFIG_CPU_DADDI_WORKAROUNDS) += $(call cc-option,-mno-daddi,) + ++cflags-$(CONFIG_BRCMSTB) += -Wno-array-bounds -Wno-unused-but-set-variable ++ + ifdef CONFIG_CPU_SB1 + ifdef CONFIG_SB1_PASS_1_WORKAROUNDS + KBUILD_AFLAGS_MODULE += -msb1-pass1-workarounds