1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
4 package-
$(BR2_PACKAGE_KMOD_FUSE
) += fuse
5 package-
$(BR2_PACKAGE_KMOD_MINI_FO
) += mini_fo
6 package-
$(BR2_PACKAGE_KMOD_SHFS
) += shfs
7 package-
$(BR2_PACKAGE_KMOD_OPENSWAN
) += openswan
8 package-
$(BR2_PACKAGE_KMOD_MADWIFI
) += madwifi
11 ifeq ($(BOARD
)-$(KERNEL
),brcm-2.4
)
12 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
13 package-
$(BR2_PACKAGE_KMOD_DIAG
) += diag
14 wlcompat-compile
: openwrt-compile
18 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
19 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
20 install: $(patsubst %,%-install,$(package-y
))
22 MAKEOPTS
:= BOARD
="$(BOARD)" \
25 TARGET_DIR
="$(TARGET_DIR)" \
26 BUILD_DIR
="$(BUILD_DIR)" \
27 KERNEL_DIR
="$(KERNEL_DIR)" \
28 LINUX_VERSION
="$(LINUX_VERSION)" \
29 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
33 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
38 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
43 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
48 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean