aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-03 11:56:56 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-03 11:56:56 +0000
commit71741b55b2dbedc28f1a3c1b559143810b2d2885 (patch)
treefa86ce3bcdcc2f9e2f1c0b7431275e4ddca1c4d4 /package
parent21e787d3a202ca42bc53ac48ea07193d372ba038 (diff)
downloadmaster-187ad058-71741b55b2dbedc28f1a3c1b559143810b2d2885.tar.gz
master-187ad058-71741b55b2dbedc28f1a3c1b559143810b2d2885.tar.bz2
master-187ad058-71741b55b2dbedc28f1a3c1b559143810b2d2885.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41493 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/wrt55agv2-spidevs/Makefile12
-rw-r--r--package/kernel/wrt55agv2-spidevs/src/Makefile2
2 files changed, 2 insertions, 12 deletions
diff --git a/package/kernel/wrt55agv2-spidevs/Makefile b/package/kernel/wrt55agv2-spidevs/Makefile
index 236c9a3be3..bfd24c2f8d 100644
--- a/package/kernel/wrt55agv2-spidevs/Makefile
+++ b/package/kernel/wrt55agv2-spidevs/Makefile
@@ -24,20 +24,10 @@ define KernelPackage/wrt55agv2-spidevs/description
Kernel module for the SPI devices on the WRT55AG v2 board.
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:= \
ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
- 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)
+ SUBDIRS="$(PKG_BUILD_DIR)"
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
diff --git a/package/kernel/wrt55agv2-spidevs/src/Makefile b/package/kernel/wrt55agv2-spidevs/src/Makefile
index 7f2ddb4e58..76b093930e 100644
--- a/package/kernel/wrt55agv2-spidevs/src/Makefile
+++ b/package/kernel/wrt55agv2-spidevs/src/Makefile
@@ -1 +1 @@
-obj-${CONFIG_WRT55AGV2_SPIDEVS} += wrt55agv2_spidevs.o \ No newline at end of file
+obj-m += wrt55agv2_spidevs.o