Author: blogic Date: 2014-07-03 13:56:56 +0200 (Thu, 03 Jul 2014) New Revision: 41493
Modified: trunk/package/kernel/wrt55agv2-spidevs/Makefile trunk/package/kernel/wrt55agv2-spidevs/src/Makefile Log: wrt55agv2-spidevs: fix compile issues i think this breakage was introduced when linux moved to uapi header Signed-off-by: John Crispin <[email protected]> Modified: trunk/package/kernel/wrt55agv2-spidevs/Makefile =================================================================== --- trunk/package/kernel/wrt55agv2-spidevs/Makefile 2014-07-03 10:49:41 UTC (rev 41492) +++ trunk/package/kernel/wrt55agv2-spidevs/Makefile 2014-07-03 11:56:56 UTC (rev 41493) @@ -24,20 +24,10 @@ 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) Modified: trunk/package/kernel/wrt55agv2-spidevs/src/Makefile =================================================================== --- trunk/package/kernel/wrt55agv2-spidevs/src/Makefile 2014-07-03 10:49:41 UTC (rev 41492) +++ trunk/package/kernel/wrt55agv2-spidevs/src/Makefile 2014-07-03 11:56:56 UTC (rev 41493) @@ -1 +1 @@ -obj-${CONFIG_WRT55AGV2_SPIDEVS} += wrt55agv2_spidevs.o \ No newline at end of file +obj-m += wrt55agv2_spidevs.o _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
