another KERNEL variable fix

SVN-Revision: 1889
master
Waldemar Brodkorb 19 years ago
parent 0e71beaf51
commit c2a0767914
  1. 5
      openwrt/target/linux/package/Makefile

@ -8,12 +8,10 @@ package-$(BR2_PACKAGE_KMOD_OPENSWAN) += openswan
package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi
package-y += openwrt package-y += openwrt
ifeq ($(BOARD),brcm) ifeq ($(BOARD)-$(KERNEL),brcm-2.4)
ifeq ($(LINUX_VERSION),2.4.30)
package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat
wlcompat-compile: openwrt-compile wlcompat-compile: openwrt-compile
endif endif
endif
all: compile install all: compile install
clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
@ -21,6 +19,7 @@ compile: $(patsubst %,%-compile,$(package-y) $(package-m))
install: $(patsubst %,%-install,$(package-y)) install: $(patsubst %,%-install,$(package-y))
MAKEOPTS:= BOARD="$(BOARD)" \ MAKEOPTS:= BOARD="$(BOARD)" \
KERNEL="$(KERNEL)" \
IPKG="$(IPKG)" \ IPKG="$(IPKG)" \
TARGET_DIR="$(TARGET_DIR)" \ TARGET_DIR="$(TARGET_DIR)" \
BUILD_DIR="$(BUILD_DIR)" \ BUILD_DIR="$(BUILD_DIR)" \

Loading…
Cancel
Save