1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
4 package-
$(BR2_PACKAGE_KMOD_FUSE
) += fuse
5 package-
$(BR2_PACKAGE_KMOD_SHFS
) += shfs
6 package-
$(BR2_PACKAGE_KMOD_OPENSWAN
) += openswan
7 ifeq ($(LINUX_VERSION
),2.4.30)
8 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
12 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
13 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
14 install: $(patsubst %,%-install,$(package-y
))
16 MAKEOPTS
:= BOARD
="$(BOARD)" \
17 TARGET_DIR
="$(TARGET_DIR)" \
18 BUILD_DIR
="$(BUILD_DIR)" \
19 KERNEL_DIR
="$(KERNEL_DIR)" \
20 LINUX_VERSION
="$(LINUX_VERSION)" \
21 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
25 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
30 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
35 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
40 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean