[packages] ipset: fix kernel architecture (#11345)
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. git-svn-id: svn://svn.openwrt.org/openwrt/packages@31468 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
549f19c776
commit
fc2ad79ba4
@ -34,11 +34,12 @@ $(call Package/ipset/Default)
|
||||
URL:=http://ipset.netfilter.org/
|
||||
endef
|
||||
|
||||
include $(INCLUDE_DIR)/kernel-defaults.mk
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--with-kbuild="$(LINUX_DIR)"
|
||||
|
||||
MAKE_FLAGS += \
|
||||
ARCH="$(LINUX_KARCH)"
|
||||
|
||||
IPSET_MODULES:= \
|
||||
ipset/ip_set \
|
||||
ipset/ip_set_bitmap_ip \
|
||||
|
Loading…
x
Reference in New Issue
Block a user