kernel: add new ltq-vdsl-vr11 driver
[openwrt/staging/hauke.git] / package / kernel / lantiq / ltq-vdsl-vr11 / patches / 020-not-leak-cflags.patch
1 --- a/src/Makefile.am
2 +++ b/src/Makefile.am
3 @@ -283,10 +283,7 @@ else
4 drv_dsl_cpe_api_common_mod_cflags =
5 endif
6
7 -drv_dsl_cpe_api_common_cflags = -DLINUX -D__LINUX__ -D__KERNEL__ -DEXPORT_SYMTAB \
8 - -pipe -Wall -Wformat -Wimplicit -Wunused -Wswitch -Wcomment -Winline \
9 - -Wuninitialized -Wparentheses -Wreturn-type \
10 - -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
11 +drv_dsl_cpe_api_common_cflags = -DLINUX -D__LINUX__ -D__KERNEL__ -DEXPORT_SYMTAB
12
13 if DSL_DBG_MAX_LEVEL_SET
14 drv_dsl_cpe_api_common_cflags += -DDSL_DBG_MAX_LEVEL=$(DSL_DBG_MAX_LEVEL_PRE)
15 @@ -296,7 +293,7 @@ endif
16 drv_dsl_cpe_api_target_cflags = $(ADD_DRV_CFLAGS)
17
18 # compile cflags
19 -drv_dsl_cpe_api_compile_cflags = $(EXTRA_DRV_CFLAGS)
20 +drv_dsl_cpe_api_compile_cflags =
21
22 if !KERNEL_2_6
23 # the headerfile of linux kernels 2.6.x contain to much arithmetic