X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f80d4fdc68858ba956a39e19ad6efa868beb827e..19f0474827ced87b5b48cb50df7ab76ef1558638:/target/linux/package/Makefile?ds=inline diff --git a/target/linux/package/Makefile b/target/linux/package/Makefile index a08d9048a..e55cc54d4 100644 --- a/target/linux/package/Makefile +++ b/target/linux/package/Makefile @@ -5,16 +5,12 @@ package-$(BR2_PACKAGE_KMOD_FUSE) += fuse package-$(BR2_PACKAGE_KMOD_MINI_FO) += mini_fo package-$(BR2_PACKAGE_KMOD_SHFS) += shfs package-$(BR2_PACKAGE_KMOD_OPENSWAN) += openswan +package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi package-y += openwrt -ifeq ($(BOARD),brcm) -package-y += nvram - -ifeq ($(LINUX_VERSION),2.4.30) +ifeq ($(BOARD)-$(KERNEL),brcm-2.4) package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat -endif - -nvram-compile: openwrt-compile +wlcompat-compile: openwrt-compile endif all: compile install @@ -23,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)" \