1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
5 ifneq ($(BOARD
)-$(KERNEL
),brcm-2.6
)
6 package-
$(BR2_PACKAGE_KMOD_ALSA
) += alsa
9 package-
$(BR2_PACKAGE_KMOD_FUSE
) += fuse
10 package-
$(BR2_PACKAGE_KMOD_HOSTAP
) += hostap
11 package-
$(BR2_PACKAGE_KMOD_MADWIFI
) += madwifi
12 package-
$(BR2_PACKAGE_KMOD_MINI_FO
) += mini_fo
13 ifneq ($(BOARD
)-$(KERNEL
),brcm-2.6
)
14 package-
$(BR2_PACKAGE_KMOD_OPENSWAN
) += openswan
16 package-
$(BR2_PACKAGE_KMOD_SHFS
) += shfs
17 package-y
+= base-files
19 ifeq ($(BOARD
)-$(KERNEL
),brcm-2.4
)
20 package-
$(BR2_PACKAGE_KMOD_DIAG
) += diag
21 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
22 wlcompat-compile
: base-files-compile
26 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
27 prepare
: $(patsubst %,%-prepare
,$(package-y
) $(package-m
))
28 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
29 install: $(patsubst %,%-install,$(package-y
))
31 MAKEOPTS
:= BOARD
="$(BOARD)" \
34 TARGET_DIR
="$(TARGET_DIR)" \
35 BUILD_DIR
="$(BUILD_DIR)" \
36 KERNEL_DIR
="$(KERNEL_DIR)" \
37 LINUX_VERSION
="$(LINUX_VERSION)" \
38 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
42 @
$(START_TRACE
) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
43 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
50 @
$(START_TRACE
) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
51 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
58 @
$(START_TRACE
) "target/linux/package/$(patsubst %-install,%,$@)-install: "
59 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
66 @
$(START_TRACE
) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
67 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean