The buildsystem passes ARCH="$(ARCH)" by default, but when building kernel modules
we need to pass ARCH="$(LINUX_KARCH)" since Linux uses differet arch names in Kbuild.
Fixes ipset build on brcm47xx (mipsel -> mips) and likely others.
SVN-Revision: 31468
URL:=http://ipset.netfilter.org/
endef
URL:=http://ipset.netfilter.org/
endef
-include $(INCLUDE_DIR)/kernel-defaults.mk
-
CONFIGURE_ARGS += \
--with-kbuild="$(LINUX_DIR)"
CONFIGURE_ARGS += \
--with-kbuild="$(LINUX_DIR)"
+MAKE_FLAGS += \
+ ARCH="$(LINUX_KARCH)"
+
IPSET_MODULES:= \
ipset/ip_set \
ipset/ip_set_bitmap_ip \
IPSET_MODULES:= \
ipset/ip_set \
ipset/ip_set_bitmap_ip \