From: Waldemar Brodkorb Date: Sat, 10 Sep 2005 17:21:57 +0000 (+0000) Subject: another KERNEL variable fix X-Git-Tag: kamikaze_7.06~2828 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c2a07679143e5a4c0b2f1150392e7aa3c8f1fd95;p=openwrt%2Fsvn-archive%2Fopenwrt.git another KERNEL variable fix SVN-Revision: 1889 --- diff --git a/openwrt/target/linux/package/Makefile b/openwrt/target/linux/package/Makefile index 4b8d068891..e55cc54d4b 100644 --- a/openwrt/target/linux/package/Makefile +++ b/openwrt/target/linux/package/Makefile @@ -8,12 +8,10 @@ package-$(BR2_PACKAGE_KMOD_OPENSWAN) += openswan package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi package-y += openwrt -ifeq ($(BOARD),brcm) -ifeq ($(LINUX_VERSION),2.4.30) +ifeq ($(BOARD)-$(KERNEL),brcm-2.4) package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat wlcompat-compile: openwrt-compile endif -endif all: compile install clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) @@ -21,6 +19,7 @@ compile: $(patsubst %,%-compile,$(package-y) $(package-m)) install: $(patsubst %,%-install,$(package-y)) MAKEOPTS:= BOARD="$(BOARD)" \ + KERNEL="$(KERNEL)" \ IPKG="$(IPKG)" \ TARGET_DIR="$(TARGET_DIR)" \ BUILD_DIR="$(BUILD_DIR)" \