1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
4 package-
$(BR2_PACKAGE_KMOD_FUSE
) += fuse
5 package-
$(BR2_PACKAGE_KMOD_MINI_FO
) += mini_fo
6 package-
$(BR2_PACKAGE_KMOD_SHFS
) += shfs
7 package-
$(BR2_PACKAGE_KMOD_OPENSWAN
) += openswan
13 ifeq ($(LINUX_VERSION
),2.4.30)
14 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
17 nvram-compile
: openwrt-compile
21 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
22 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
23 install: $(patsubst %,%-install,$(package-y
))
25 MAKEOPTS
:= BOARD
="$(BOARD)" \
27 TARGET_DIR
="$(TARGET_DIR)" \
28 BUILD_DIR
="$(BUILD_DIR)" \
29 KERNEL_DIR
="$(KERNEL_DIR)" \
30 LINUX_VERSION
="$(LINUX_VERSION)" \
31 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
35 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
40 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
45 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
50 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean