From 3930356282932bcebf168bdbae54e5f3706f8051 Mon Sep 17 00:00:00 2001 From: wbx Date: Sat, 10 Sep 2005 17:21:57 +0000 Subject: another KERNEL variable fix git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1889 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/linux/package/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'openwrt/target/linux/package/Makefile') diff --git a/openwrt/target/linux/package/Makefile b/openwrt/target/linux/package/Makefile index 4b8d06889..e55cc54d4 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)" \ -- cgit v1.2.3