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_HOSTAP
) += hostap
9 package-
$(BR2_PACKAGE_KMOD_BCM43XX_DSCAPE
) += bcm43xx-dscape
10 package-
$(BR2_PACKAGE_KMOD_IEEE80211_DSCAPE
) += ieee80211-dscape
11 package-
$(BR2_PACKAGE_KMOD_MADWIFI
) += madwifi
12 package-
$(BR2_PACKAGE_KMOD_MINI_FO
) += mini_fo
13 package-
$(BR2_PACKAGE_KMOD_OPENSWAN
) += openswan
14 package-
$(BR2_PACKAGE_KMOD_SHFS
) += shfs
15 package-
$(BR2_PACKAGE_KMOD_SPCA5XX
) += spca5xx
16 package-
$(BR2_PACKAGE_KMOD_SWITCH
) += switch
17 package-
$(BR2_PACKAGE_KMOD_UEAGLE_ATM
) += ueagle-atm
18 package-y
+= base-files
19 bcm43xx-dscape-compile
: ieee80211-dscape-compile
21 ifeq ($(BOARD
)-$(KERNEL
),brcm-2.4
)
22 package-
$(BR2_PACKAGE_KMOD_DIAG
) += diag
23 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
24 wlcompat-compile
: base-files-compile
28 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
29 prepare
: $(patsubst %,%-prepare
,$(package-y
) $(package-m
))
30 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
31 install: $(patsubst %,%-install,$(package-y
))
33 MAKEOPTS
:= BOARD
="$(BOARD)" \
36 TARGET_DIR
="$(TARGET_DIR)" \
37 BUILD_DIR
="$(BUILD_DIR)" \
38 KERNEL_DIR
="$(KERNEL_DIR)" \
39 LINUX_VERSION
="$(LINUX_VERSION)" \
40 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
44 @
$(START_TRACE
) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
45 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
52 @
$(START_TRACE
) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
53 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
60 @
$(START_TRACE
) "target/linux/package/$(patsubst %-install,%,$@)-install: "
61 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
68 @
$(START_TRACE
) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
69 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean