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_MADWIFI
) += madwifi
10 package-
$(BR2_PACKAGE_KMOD_MINI_FO
) += mini_fo
11 package-
$(BR2_PACKAGE_KMOD_OPENSWAN
) += openswan
12 package-
$(BR2_PACKAGE_KMOD_SHFS
) += shfs
13 package-
$(BR2_PACKAGE_KMOD_SPCA5XX
) += spca5xx
14 package-y
+= base-files
16 ifeq ($(BOARD
)-$(KERNEL
),brcm-2.4
)
17 package-
$(BR2_PACKAGE_KMOD_DIAG
) += diag
18 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
19 wlcompat-compile
: base-files-compile
23 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
24 prepare
: $(patsubst %,%-prepare
,$(package-y
) $(package-m
))
25 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
26 install: $(patsubst %,%-install,$(package-y
))
28 MAKEOPTS
:= BOARD
="$(BOARD)" \
31 TARGET_DIR
="$(TARGET_DIR)" \
32 BUILD_DIR
="$(BUILD_DIR)" \
33 KERNEL_DIR
="$(KERNEL_DIR)" \
34 LINUX_VERSION
="$(LINUX_VERSION)" \
35 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
39 @
$(START_TRACE
) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
40 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
47 @
$(START_TRACE
) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
48 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
55 @
$(START_TRACE
) "target/linux/package/$(patsubst %-install,%,$@)-install: "
56 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
63 @
$(START_TRACE
) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
64 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean