include/kernel.mk: enhance built-in/missing modules detection when packaging kmods
[openwrt.git] / target / linux / ubicom32 / patches-2.6.32 / 140-arch_cflags.patch
1 --- a/arch/ubicom32/Makefile
2 +++ b/arch/ubicom32/Makefile
3 @@ -54,8 +54,8 @@ CFLAGS_MODULE += -mno-fastcall
4 #
5 # Some CFLAG additions based on specific CPU type.
6 #
7 -cflags-$(CONFIG_UBICOM32_V3) := -march=ubicom32v3 -DIP5000
8 -cflags-$(CONFIG_UBICOM32_V4) := -march=ubicom32v4 -DIP7000
9 +cflags-$(CONFIG_UBICOM32_V3) := -march=ubicom32v3 -mno-fdpic -DIP5000
10 +cflags-$(CONFIG_UBICOM32_V4) := -march=ubicom32v4 -mno-fdpic -DIP7000
11
12 ldflags-$(CONFIG_LINKER_RELAXATION) := --relax
13 LDFLAGS_vmlinux := $(ldflags-y)
This page took 0.042829 seconds and 5 git commands to generate.