1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
5 package-
$(BR2_PACKAGE_BRIDGE
) += bridge
6 package-
$(BR2_PACKAGE_BUSYBOX
) += busybox
7 package-
$(BR2_PACKAGE_DROPBEAR
) += dropbear
8 package-
$(BR2_PACKAGE_DNSMASQ
) += dnsmasq
9 package-
$(BR2_PACKAGE_EBTABLES
) += ebtables
10 package-
$(BR2_PACKAGE_ARPTABLES
) += arptables
11 package-
$(BR2_PACKAGE_IPTABLES
) += iptables
12 package-
$(BR2_PACKAGE_PPP
) += ppp
13 package-
$(BR2_PACKAGE_LZO
) += lzo
14 package-
$(BR2_PACKAGE_ZLIB
) += zlib
15 package-
$(BR2_PACKAGE_OPENSSL
) += openssl
16 package-
$(BR2_PACKAGE_OPENVPN
) += openvpn
17 package-
$(BR2_PACKAGE_IPROUTE2
) += iproute2
18 package-
$(BR2_PACKAGE_LINKSYS_UTILS
) += linksys-utils
21 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
)) linux-clean
22 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
23 install: $(patsubst %,%-install,$(package-y
))
25 dropbear-compile
: zlib-compile
26 openssl-compile
: zlib-compile
27 $(patsubst %,%-prepare
,$(package-y
) $(package-m
)): linux-install
30 @
[ -f
$(STAMP_DIR
)/.
$@
] ||
$(MAKE
) -C
$(patsubst %-prepare
,%,$@
) prepare
31 @touch
$(STAMP_DIR
)/.
$@
34 @
[ -f
$(STAMP_DIR
)/.
$@
] ||
$(MAKE
) -C
$(patsubst %-compile
,%,$@
) compile
35 @touch
$(STAMP_DIR
)/.
$@
38 @
[ -f
$(STAMP_DIR
)/.
$@
] ||
$(MAKE
) -C
$(patsubst %-install,%,$@
) install
39 @touch
$(STAMP_DIR
)/.
$@
42 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean
43 @
rm -f
$(STAMP_DIR
)/.
$(patsubst %-clean,%,$@
)-*