move diag module outside of kernel directory
[openwrt.git] / openwrt / target / linux / package / Makefile
index a08d904..d1cf0f7 100644 (file)
@@ -5,16 +5,13 @@ 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
+package-$(BR2_PACKAGE_KMOD_DIAG) += diag
+wlcompat-compile: openwrt-compile
 endif
 
 all: compile install
@@ -23,6 +20,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)" \
This page took 0.023451 seconds and 4 git commands to generate.