wrt55agv2-spidevs: fix compile issues
i think this breakage was introduced when linux moved to uapi header Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41493
This commit is contained in:
parent
361215b186
commit
9f8fdb838e
2 changed files with 2 additions and 12 deletions
|
@ -24,20 +24,10 @@ define KernelPackage/wrt55agv2-spidevs/description
|
||||||
Kernel module for the SPI devices on the WRT55AG v2 board.
|
Kernel module for the SPI devices on the WRT55AG v2 board.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
EXTRA_KCONFIG:= \
|
|
||||||
CONFIG_WRT55AGV2_SPIDEVS=m
|
|
||||||
|
|
||||||
EXTRA_CFLAGS:= \
|
|
||||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=m,%,$(filter %=m,$(EXTRA_KCONFIG)))) \
|
|
||||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(EXTRA_KCONFIG)))) \
|
|
||||||
|
|
||||||
MAKE_OPTS:= \
|
MAKE_OPTS:= \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
SUBDIRS="$(PKG_BUILD_DIR)" \
|
SUBDIRS="$(PKG_BUILD_DIR)"
|
||||||
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
|
|
||||||
LINUXINCLUDE="-I$(LINUX_DIR)/include -I$(LINUX_DIR)/arch/mips/include -include generated/autoconf.h" \
|
|
||||||
$(EXTRA_KCONFIG)
|
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
mkdir -p $(PKG_BUILD_DIR)
|
mkdir -p $(PKG_BUILD_DIR)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
obj-${CONFIG_WRT55AGV2_SPIDEVS} += wrt55agv2_spidevs.o
|
obj-m += wrt55agv2_spidevs.o
|
||||||
|
|
Loading…
Reference in a new issue