1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
5 package-
$(BR2_PACKAGE_KMOD_ALSA
) += alsa
7 package-
$(BR2_PACKAGE_KMOD_FUSE
) += fuse
8 package-
$(BR2_PACKAGE_KMOD_MINI_FO
) += mini_fo
9 package-
$(BR2_PACKAGE_KMOD_SHFS
) += shfs
10 package-
$(BR2_PACKAGE_KMOD_OPENSWAN
) += openswan
11 package-
$(BR2_PACKAGE_KMOD_MADWIFI
) += madwifi
14 ifeq ($(BOARD
)-$(KERNEL
),brcm-2.4
)
15 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
16 package-
$(BR2_PACKAGE_KMOD_DIAG
) += diag
17 wlcompat-compile
: openwrt-compile
21 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
22 prepare
: $(patsubst %,%-prepare
,$(package-y
) $(package-m
))
23 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
24 install: $(patsubst %,%-install,$(package-y
))
26 MAKEOPTS
:= BOARD
="$(BOARD)" \
29 TARGET_DIR
="$(TARGET_DIR)" \
30 BUILD_DIR
="$(BUILD_DIR)" \
31 KERNEL_DIR
="$(KERNEL_DIR)" \
32 LINUX_VERSION
="$(LINUX_VERSION)" \
33 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
37 @
$(START_TRACE
) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
38 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
45 @
$(START_TRACE
) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
46 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
53 @
$(START_TRACE
) "target/linux/package/$(patsubst %-install,%,$@)-install: "
54 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
61 @
$(START_TRACE
) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
62 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean