Fix modversions crap with pcmcia-non-kernel.
This commit is contained in:
parent
7bff251407
commit
a6de893a5e
|
@ -137,16 +137,16 @@ ifeq ($(PRISM2_USB), y)
|
|||
MODULES+=$(USB_MODULE)
|
||||
endif
|
||||
|
||||
# Compiler Options
|
||||
CFLAGS = $(KERNEL_CFLAGS) $(KERNEL_MODFLAGS)
|
||||
# Preprocessor Options
|
||||
CPPFLAGS=-I../../include -I../include $(WLAN_INCLUDE_DEBUG) $(WLAN_CS_CONFIG_SNIFF)
|
||||
CPPFLAGS=-I../../include -I../include $(WLAN_INCLUDE_DEBUG)
|
||||
|
||||
# Use the following if building for kernel pcmcia
|
||||
ifeq ($(WLAN_KERN_PCMCIA), y)
|
||||
CS_SYSINC=
|
||||
CFLAGS = $(KERNEL_CFLAGS) $(KERNEL_MODFLAGS)
|
||||
else
|
||||
CS_SYSINC=-I$(PCMCIA_SRC)/include
|
||||
CS_SYSINC=-I$(PCMCIA_SRC)/include $(WLAN_CS_CONFIG_SNIFF)
|
||||
CFLAGS = $(KERNEL_CFLAGS) $(PCMCIA_MODFLAGS)
|
||||
endif
|
||||
|
||||
# Implicit rules to handle the separate obj dirs
|
||||
|
|
Loading…
Reference in a new issue