- Timestamp:
- 12/25/06 23:04:45 (5 years ago)
- Location:
- floppyfw/package
- Files:
-
- 26 modified
-
e3/e3.mk (modified) (1 diff)
-
ebtables/ebtables.mk (modified) (2 diffs)
-
ethtool/ethtool.mk (modified) (2 diffs)
-
iproute2/iproute2.mk (modified) (2 diffs)
-
iptables/iptables.mk (modified) (6 diffs)
-
libosip2/libosip2.mk (modified) (3 diffs)
-
libpcap/libpcap.mk (modified) (3 diffs)
-
lineserv/lineserv.mk (modified) (2 diffs)
-
madwifi/madwifi.mk (modified) (2 diffs)
-
mii-diag/mii-diag.mk (modified) (2 diffs)
-
nanotop/nanotop.mk (modified) (2 diffs)
-
noip2/noip2.mk (modified) (2 diffs)
-
openssl/openssl.mk (modified) (2 diffs)
-
openvpn/openvpn.mk (modified) (2 diffs)
-
pcmcia/pcmcia.mk (modified) (2 diffs)
-
pppd/pppd.mk (modified) (2 diffs)
-
pppoe/Config.in (modified) (1 diff)
-
pppoe/pppoe.mk (modified) (1 diff)
-
siproxd/siproxd.mk (modified) (2 diffs)
-
tcpdump/Config.in (modified) (1 diff)
-
tcpdump/tcpdump.mk (modified) (2 diffs)
-
ucarp/ucarp.mk (modified) (2 diffs)
-
wireless-tools/wireless-tools.mk (modified) (2 diffs)
-
wpa_supplicant/Config.in (modified) (1 diff)
-
wpa_supplicant/wpa_supplicant.mk (modified) (1 diff)
-
wsmenu/wsmenu.mk (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
floppyfw/package/e3/e3.mk
r165 r185 13 13 E3_SOURCE=e3-$(E3_VERSION).tar.gz 14 14 E3_DIR=$(BUILD_DIR)/e3-$(E3_VERSION) 15 E3_PKG_DIR=$(PACKAGES_DIR)/e3 15 16 ifeq ($(strip $(BR2_PACKAGE_E3)),m) 17 E3_PKG_DIR=$(TARGET_PACKAGES_DIR)/e3 18 else 19 E3_PKG_DIR=$(TARGET_DIR) 20 endif 16 21 17 22 -
floppyfw/package/ebtables/ebtables.mk
r154 r185 8 8 EBTABLES_SOURCE=ebtables-v2.0.6.tar.gz 9 9 EBTABLES_DIR=$(BUILD_DIR)/ebtables-v2.0.6 10 11 ifeq ($(strip $(BR2_PACKAGE_EBTABLES)),m) 12 EBTABLES_PKG_DIR=$(TARGET_PACKAGES_DIR)/ebtables 13 else 14 EBTABLES_PKG_DIR=$(TARGET_DIR) 15 endif 16 10 17 11 18 $(DL_DIR)/$(EBTABLES_SOURCE): … … 32 39 BINDIR=/usr/sbin 33 40 34 $( ADD_MASTER)/sbin/ebtables: $(EBTABLES_DIR)/ebtables35 cp -a $(EBTABLES_DIR)/ebtables $( ADD_MASTER)/sbin/ebtables36 -$(SSTRIP) $( ADD_MASTER)/sbin/ebtables41 $(EBTABLES_PKG_DIR)/sbin/ebtables: $(EBTABLES_DIR)/ebtables 42 cp -a $(EBTABLES_DIR)/ebtables $(EBTABLES_PKG_DIR)/sbin/ebtables 43 -$(SSTRIP) $(EBTABLES_PKG_DIR)/sbin/ebtables 37 44 38 ebtables: linux-source-configured $( ADD_MASTER)/sbin/ebtables45 ebtables: linux-source-configured $(EBTABLES_PKG_DIR)/sbin/ebtables 39 46 40 47 ebtables-clean: 41 48 -$(MAKE) -C $(EBTABLES_DIR) clean 42 $(RM) $( ADD_MASTER)/sbin/ebtables49 $(RM) $(EBTABLES_PKG_DIR)/sbin/ebtables 43 50 44 51 ebtables-dirclean: 45 52 $(RM) -r $(EBTABLES_DIR) 46 $(RM) $( ADD_MASTER)/sbin/ebtables53 $(RM) $(EBTABLES_PKG_DIR)/sbin/ebtables 47 54 55 ############################################################# 56 # 57 # Toplevel Makefile options 58 # 59 ############################################################# 60 ifeq ($(strip $(BR2_PACKAGE_EBTABLES)),y) 61 TARGETS+=ebtables 62 endif 63 ifeq ($(strip $(BR2_PACKAGE_EBTABLES)),m) 64 TARGETS+=ebtables 65 endif -
floppyfw/package/ethtool/ethtool.mk
r153 r185 9 9 ETHTOOL_DIR=$(BUILD_DIR)/ethtool-3 10 10 11 ETHTOOL_PKG_DIR=$(PACKAGES_DIR)/ethtool 11 ifeq ($(strip $(BR2_PACKAGE_ETHTOOL)),m) 12 ETHTOOL_PKG_DIR=$(TARGET_PACKAGES_DIR)/ethtool 13 else 14 ETHTOOL_PKG_DIR=$(TARGET_DIR) 15 endif 16 12 17 13 18 $(DL_DIR)/$(ETHTOOL_SOURCE): … … 55 60 # 56 61 ############################################################# 57 ifeq ( ,y)62 ifeq ($(strip $(BR2_PACKAGE_ETHTOOL)),y) 58 63 TARGETS+=ethtool 59 64 endif 60 ifeq ( ,m)65 ifeq ($(strip $(BR2_PACKAGE_ETHTOOL)),m) 61 66 TARGETS+=ethtool 62 67 endif -
floppyfw/package/iproute2/iproute2.mk
r141 r185 14 14 IPROUTE2_PATCH:=Makefile.diff 15 15 16 IPROUTE2_PKG_DIR=$(PACKAGES_DIR)/iproute2 16 ifeq ($(strip $(BR2_PACKAGE_IPROUTE2)),m) 17 IPROUTE2_PKG_DIR=$(TARGET_PACKAGES_DIR)/iproute2 18 else 19 IPROUTE2_PKG_DIR=$(TARGET_DIR) 20 endif 21 17 22 18 23 $(DL_DIR)/$(IPROUTE2_SOURCE): … … 82 87 # 83 88 ############################################################# 84 ifeq ( ,y)89 ifeq ($(strip $(BR2_PACKAGE_IPROUTE2)),y) 85 90 TARGETS+=iproute2 86 91 endif 87 ifeq ( ,m)92 ifeq ($(strip $(BR2_PACKAGE_IPROUTE2)),m) 88 93 TARGETS+=iproute2 89 94 endif -
floppyfw/package/iptables/iptables.mk
r184 r185 10 10 IPTABLES_SOURCE=iptables-$(IPTABLES_VERSION).tar.bz2 11 11 IPTABLES_BUILD_DIR=$(BUILD_DIR)/iptables-$(IPTABLES_VERSION) 12 13 ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),m) 14 IPTABLES_PKG_DIR=$(TARGET_PACKAGES_DIR)/iptables 15 else 16 IPTABLES_PKG_DIR=$(TARGET_DIR) 17 endif 12 18 13 19 $(DL_DIR)/$(IPTABLES_SOURCE): … … 26 32 KERNEL_DIR=$(BUILD_DIR)/linux \ 27 33 DO_IPV6=0 \ 28 DESTDIR=$( ADD_MASTER)/ \34 DESTDIR=$(IPTABLES_PKG_DIR)/ \ 29 35 PREFIX=/ \ 30 36 BINDIR=/sbin \ … … 35 41 COPT_FLAGS="$(TARGET_CFLAGS) -DNDEBUG" \ 36 42 37 $( ADD_MASTER)/sbin/iptables: $(IPTABLES_BUILD_DIR)/iptables38 $(RM) $( ADD_MASTER)/lib/iptables/*43 $(IPTABLES_PKG_DIR)/sbin/iptables: $(IPTABLES_BUILD_DIR)/iptables 44 $(RM) $(IPTABLES_PKG_DIR)/lib/iptables/* 39 45 $(MAKE) -C $(IPTABLES_BUILD_DIR) \ 40 46 KERNEL_DIR=$(BUILD_DIR)/linux \ 41 47 DO_IPV6=0 \ 42 DESTDIR=$( ADD_MASTER)/ \48 DESTDIR=$(IPTABLES_PKG_DIR)/ \ 43 49 PREFIX=/ \ 44 50 BINDIR=/sbin \ … … 49 55 COPT_FLAGS="$(TARGET_CFLAGS) -DNDEBUG" \ 50 56 install 51 $(RM) $( ADD_MASTER)/sbin/iptables-restore52 $(RM) $( ADD_MASTER)/sbin/iptables-save57 $(RM) $(IPTABLES_PKG_DIR)/sbin/iptables-restore 58 $(RM) $(IPTABLES_PKG_DIR)/sbin/iptables-save 53 59 # I hate doing this: (and I really want gcc 3.4) 54 $(RM) $( ADD_MASTER)/lib/iptables/libipt_sctp.so55 $(RM) $( ADD_MASTER)/lib/iptables/libipt_dscp.so56 $(RM) $( ADD_MASTER)/lib/iptables/libipt_DSCP.so57 $(RM) $( ADD_MASTER)/lib/iptables/libipt_TARPIT.so58 $(RM) $( ADD_MASTER)/lib/iptables/libipt_MIRROR.so59 $(RM) -r $( ADD_MASTER)$(TMP_DIR)/*60 $(RM) -r $( ADD_MASTER)/usr$(TMP_DIR)/*61 -$(SSTRIP) $( ADD_MASTER)/sbin/iptables62 -$(SSTRIP) $( ADD_MASTER)/lib/iptables/*60 $(RM) $(IPTABLES_PKG_DIR)/lib/iptables/libipt_sctp.so 61 $(RM) $(IPTABLES_PKG_DIR)/lib/iptables/libipt_dscp.so 62 $(RM) $(IPTABLES_PKG_DIR)/lib/iptables/libipt_DSCP.so 63 $(RM) $(IPTABLES_PKG_DIR)/lib/iptables/libipt_TARPIT.so 64 $(RM) $(IPTABLES_PKG_DIR)/lib/iptables/libipt_MIRROR.so 65 $(RM) -r $(IPTABLES_PKG_DIR)$(TMP_DIR)/* 66 $(RM) -r $(IPTABLES_PKG_DIR)/usr$(TMP_DIR)/* 67 -$(SSTRIP) $(IPTABLES_PKG_DIR)/sbin/iptables 68 -$(SSTRIP) $(IPTABLES_PKG_DIR)/lib/iptables/* 63 69 64 iptables: $( ADD_MASTER)/sbin/iptables70 iptables: $(IPTABLES_PKG_DIR)/sbin/iptables 65 71 66 72 iptables-source: $(DL_DIR)/$(IPTABLES_SOURCE) … … 70 76 KERNEL_DIR=$(BUILD_DIR)/linux \ 71 77 DO_IPV6=0 \ 72 DESTDIR=$( ADD_MASTER)/ \78 DESTDIR=$(IPTABLES_PKG_DIR)/ \ 73 79 PREFIX=/ \ 74 80 BINDIR=/sbin \ … … 81 87 $(RM) -r $(IPTABLES_BUILD_DIR) 82 88 89 ############################################################# 90 # 91 # Toplevel Makefile options 92 # 93 ############################################################# 94 ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),y) 95 TARGETS+=iptables 96 endif 97 ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),m) 98 TARGETS+=iptables 99 endif -
floppyfw/package/libosip2/libosip2.mk
r141 r185 9 9 LIBOSIP2_DIR=$(BUILD_DIR)/libosip2-2.0.9 10 10 11 LIBOSIP2_PKG_DIR=/usr 11 ifeq ($(strip $(BR2_PACKAGE_LIBOSIP2)),m) 12 LIBOSIP2_PKG_DIR=$(TARGET_PACKAGES_DIR)/libosip2 13 else 14 LIBOSIP2_PKG_DIR=$(TARGET_DIR) 15 endif 16 12 17 13 18 $(DL_DIR)/$(LIBOSIP2_SOURCE): … … 23 28 $(LIBOSIP2_DIR)/.configured: $(LIBOSIP2_DIR)/.unpacked 24 29 (cd $(LIBOSIP2_DIR); \ 25 ./configure --prefix= $(LIBOSIP2_PKG_DIR)\30 ./configure --prefix=/usr \ 26 31 --disable-debug \ 27 32 --disable-trace \ … … 34 39 35 40 $(LIBOSIP2_PKG_DIR)/lib/libosip2.so.2.0.9: $(LIBOSIP2_DIR)/src/osip2/.libs/libosip2.so.2.0.9 36 $(MAKE) -C $(LIBOSIP2_DIR) install41 $(MAKE) -C $(LIBOSIP2_DIR) DESTDIR=$(LIBOSIP2_PKG_DIR) install 37 42 38 43 libosip2: $(LIBOSIP2_PKG_DIR)/lib/libosip2.so.2.0.9 -
floppyfw/package/libpcap/libpcap.mk
r169 r185 31 31 $(WGET) -P $(DL_DIR) $(LIBPCAP_SITE)/$(LIBPCAP_SOURCE) 32 32 33 # We don't need any destdir for this. 34 # I'll keep it for now anyway. 35 LIBPCAP_DESTDIR=$(PACKAGES_DIR)/tcpdump 33 # Superfluous, I know. should just use TCPDUMP_PKG_DIR instead. 34 ifeq ($(strip $(BR2_PACKAGE_TCPDUMP)),m) 35 LIBPCAP_PKG_DIR=$(TCPDUMP_PKG_DIR) 36 else 37 LIBPCAP_PKG_DIR=$(TCPDUMP_PKG_DIR) 38 endif 36 39 37 40 libpcap-source: $(DL_DIR)/$(LIBPCAP_SOURCE) … … 69 72 70 73 # The observant reader will find this not in use. 71 $(LIBPCAP_ DESTDIR)/usr/lib/libpcap.a: $(LIBPCAP_DIR)/libpcap.a72 mkdir -p $(LIBPCAP_ DESTDIR)74 $(LIBPCAP_PKG_DIR)/usr/lib/libpcap.a: $(LIBPCAP_DIR)/libpcap.a 75 mkdir -p $(LIBPCAP_PKG_DIR) 73 76 $(MAKE) \ 74 77 -C $(LIBPCAP_DIR) \ 75 DESTDIR=$(LIBPCAP_ DESTDIR) \78 DESTDIR=$(LIBPCAP_PKG_DIR) \ 76 79 install 77 rm -rf $(LIBPCAP_ DESTDIR)/usr/man80 rm -rf $(LIBPCAP_PKG_DIR)/usr/man 78 81 79 82 libpcap: uclibc $(LIBPCAP_DIR)/libpcap.a 80 83 81 84 libpcap-clean: 82 rm -f $(LIBPCAP_ DESTDIR)/include/pcap*.h $(LIBPCAP_DESTDIR)/lib/libpcap.a85 rm -f $(LIBPCAP_PKG_DIR)/include/pcap*.h $(LIBPCAP_PKG_DIR)/lib/libpcap.a 83 86 -$(MAKE) -C $(LIBPCAP_DIR) clean 84 87 … … 93 96 TARGETS+=libpcap 94 97 endif 98 ifeq ($(strip $(BR2_PACKAGE_LIBPCAP)),m) 99 TARGETS+=libpcap 100 endif -
floppyfw/package/lineserv/lineserv.mk
r153 r185 9 9 LINESERV_DIR=$(BUILD_DIR)/linesrv-2.1 10 10 11 LINESERV_PKG_DIR=$(PACKAGES_DIR)/linesrv 11 ifeq ($(strip $(BR2_PACKAGE_LINESERV)),m) 12 LINESERV_PKG_DIR=$(TARGET_PACKAGES_DIR)/linesrv 13 else 14 LINESERV_PKG_DIR=$(TARGET_DIR) 15 endif 12 16 13 17 … … 50 54 -$(RM) -r $(LINESERV_DIR) 51 55 $(RM) $(LINESERV_PKG_DIR) 56 57 ############################################################# 58 # 59 # Toplevel Makefile options 60 # 61 ############################################################# 62 ifeq ($(strip $(BR2_PACKAGE_LINESERV)),y) 63 TARGETS+=linesrv 64 endif 65 ifeq ($(strip $(BR2_PACKAGE_LINESERV)),m) 66 TARGETS+=linesrv 67 endif -
floppyfw/package/madwifi/madwifi.mk
r176 r185 10 10 MADWIFI_DIR=$(BUILD_DIR)/madwifi-ng-$(MADWIFI_VER) 11 11 12 MADWIFI_PKG_DIR=$(PACKAGES_DIR)/madwifi 12 ifeq ($(strip $(BR2_PACKAGE_MADWIFI)),m) 13 MADWIFI_PKG_DIR=$(TARGET_PACKAGES_DIR)/madwifi 14 else 15 MADWIFI_PKG_DIR=$(TARGET_DIR) 16 endif 17 13 18 14 19 $(DL_DIR)/$(MADWIFI_SOURCE): … … 52 57 -$(RM) -r $(MADWIFI_DIR) 53 58 -$(RM) -r $(MADWIFI_PKG_DIR) 59 60 ############################################################# 61 # 62 # Toplevel Makefile options 63 # 64 ############################################################# 65 ifeq ($(strip $(BR2_PACKAGE_MADWIFI)),y) 66 TARGETS+=madwifi 67 endif 68 ifeq ($(strip $(BR2_PACKAGE_MADWIFI)),m) 69 TARGETS+=madwifi 70 endif -
floppyfw/package/mii-diag/mii-diag.mk
r141 r185 8 8 MII-DIAG_SOURCE=mii-diag_2.09.orig.tar.gz 9 9 MII-DIAG_DIR=$(BUILD_DIR)/mii-diag-2.09.orig 10 11 ifeq ($(strip $(BR2_PACKAGE_MII-DIAG)),m) 12 MII-DIAG_PKG_DIR=$(TARGET_PACKAGES_DIR)/iptables 13 else 14 MII-DIAG_PKG_DIR=$(TARGET_DIR) 15 endif 16 10 17 11 18 $(DL_DIR)/$(MII-DIAG_SOURCE): … … 24 31 ); 25 32 26 $(ADD_MASTER)/sbin/mii-diag: $(MII-DIAG_DIR)/mii-diag 27 cp -a $(MII-DIAG_DIR)/mii-diag $(ADD_MASTER)/sbin/mii-diag 28 -$(SSTRIP) $(ADD_MASTER)/sbin/mii-diag 33 $(MII-DIAG_PKG_DIR)/sbin/mii-diag: $(MII-DIAG_DIR)/mii-diag 34 mkdir -p $(MII-DIAG_PKG_DIR) 35 cp -a $(MII-DIAG_DIR)/mii-diag $(MII-DIAG_PKG_DIR)/sbin/mii-diag 36 -$(SSTRIP) $(MII-DIAG_PKG_DIR)/sbin/mii-diag 29 37 30 mii-diag: $( ADD_MASTER)/sbin/mii-diag38 mii-diag: $(MII-DIAG_PKG_DIR)/sbin/mii-diag 31 39 32 40 mii-diag-clean: 33 41 $(RM) $(MII-DIAG_DIR)/mii-diag 34 $(RM) $( ADD_MASTER)/sbin/mii-diag42 $(RM) $(MII-DIAG_PKG_DIR)/sbin/mii-diag 35 43 36 44 mii-diag-dirclean: 37 45 $(RM) -r $(MII-DIAG_DIR) 38 $(RM) $( ADD_MASTER)/sbin/mii-diag46 $(RM) $(MII-DIAG_PKG_DIR)/sbin/mii-diag 39 47 48 ############################################################# 49 # 50 # Toplevel Makefile options 51 # 52 ############################################################# 53 ifeq ($(strip $(BR2_PACKAGE_MII-DIAG)),y) 54 TARGETS+=mii-diag 55 endif 56 ifeq ($(strip $(BR2_PACKAGE_MII-DIAG)),m) 57 TARGETS+=mii-diag 58 endif -
floppyfw/package/nanotop/nanotop.mk
r141 r185 14 14 NANOTOP_DIR=$(BUILD_DIR)/nanotop-1.4.5d 15 15 NANOTOP_PKG_DIR=$(PACKAGES_DIR)/nanotop 16 17 ifeq ($(strip $(BR2_PACKAGE_NANOTOP)),m) 18 NANOTOP_PKG_DIR=$(TARGET_PACKAGES_DIR)/nanotop 19 else 20 NANOTOP_PKG_DIR=$(TARGET_DIR) 21 endif 16 22 17 23 # Downloading the source. … … 72 78 $(RM) -r $(NANOTOP_PKG_DIR) 73 79 $(RM) -r $(DL_DIR)/$(NANOTOP_SOURCE) 80 81 ############################################################# 82 # 83 # Toplevel Makefile options 84 # 85 ############################################################# 86 ifeq ($(strip $(BR2_PACKAGE_NANOTOP)),y) 87 TARGETS+=nanotop 88 endif 89 ifeq ($(strip $(BR2_PACKAGE_NANOTOP)),m) 90 TARGETS+=nanotop 91 endif -
floppyfw/package/noip2/noip2.mk
r141 r185 12 12 NOIP2_SOURCE=noip-2.1.tgz 13 13 NOIP2_DIR=$(BUILD_DIR)/noip-2.0 14 NOIP2_PKG_DIR=$(PACKAGES_DIR)/noip2 14 15 ifeq ($(strip $(BR2_PACKAGE_NOIP2)),m) 16 NOIP2_PKG_DIR=$(TARGET_PACKAGES_DIR)/noip2 17 else 18 NOIP2_PKG_DIR=$(TARGET_DIR) 19 endif 15 20 16 21 … … 71 76 noip2-distclean: 72 77 $(RM) -r $(DL_DIR)/$(NOIP2_SOURCE) 78 79 ############################################################# 80 # 81 # Toplevel Makefile options 82 # 83 ############################################################# 84 ifeq ($(strip $(BR2_PACKAGE_NOIP2)),y) 85 TARGETS+=noip2 86 endif 87 ifeq ($(strip $(BR2_PACKAGE_NOIP2)),m) 88 TARGETS+=noip2 89 endif -
floppyfw/package/openssl/openssl.mk
r141 r185 7 7 ############################################################# 8 8 9 OPENSSL_PKG_DIR=$(PACKAGES_DIR)/openssl 9 ifeq ($(strip $(BR2_PACKAGE_OPENSSL)),m) 10 OPENSSL_PKG_DIR=$(TARGET_PACKAGES_DIR)/openssl 11 else 12 OPENSSL_PKG_DIR=$(TARGET_DIR) 13 endif 10 14 11 15 … … 32 36 openssl-dirclean: 33 37 -$(RM) -r $(OPENSSL_PKG_DIR) 38 39 ############################################################# 40 # 41 # Toplevel Makefile options 42 # 43 ############################################################# 44 ifeq ($(strip $(BR2_PACKAGE_OPENSSL)),y) 45 TARGETS+=openssl 46 endif 47 ifeq ($(strip $(BR2_PACKAGE_OPENSSL)),m) 48 TARGETS+=openssl 49 endif -
floppyfw/package/openvpn/openvpn.mk
r153 r185 10 10 11 11 OPENVPN_PKG_DIR=$(PACKAGES_DIR)/openvpn 12 13 ifeq ($(strip $(BR2_PACKAGE_OPENVPN)),m) 14 OPENVPN_PKG_DIR=$(TARGET_PACKAGES_DIR)/openvpn 15 else 16 OPENVPN_PKG_DIR=$(TARGET_DIR) 17 endif 18 12 19 13 20 $(DL_DIR)/$(OPENVPN_SOURCE): … … 49 56 -$(RM) -r $(OPENVPN_DIR) 50 57 -$(RM) -r $(OPENVPN_PKG_DIR) 58 59 ############################################################# 60 # 61 # Toplevel Makefile options 62 # 63 ############################################################# 64 ifeq ($(strip $(BR2_PACKAGE_OPENVPN)),y) 65 TARGETS+=openvpn 66 endif 67 ifeq ($(strip $(BR2_PACKAGE_OPENVPN)),m) 68 TARGETS+=openvpn 69 endif -
floppyfw/package/pcmcia/pcmcia.mk
r184 r185 27 27 PCMCIA_CAT:=zcat 28 28 29 ifeq ($(strip $(BR2_PACKAGE_PCMCIA)),m) 29 30 PCMCIA_PKG_DIR=$(TARGET_PACKAGES_DIR)/pcmcia-cs 31 else 32 PCMCIA_PKG_DIR=$(TARGET_DIR) 33 endif 34 30 35 31 36 $(DL_DIR)/$(PCMCIA_SOURCE): … … 97 102 > $(PCMCIA_PKG_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep 98 103 touch $(PCMCIA_DIR)/.modules.dep 104 105 ############################################################# 106 # 107 # Toplevel Makefile options 108 # 109 ############################################################# 110 ifeq ($(strip $(BR2_PACKAGE_PCMCIA)),y) 111 TARGETS+=pcmcia-cs 112 endif 113 ifeq ($(strip $(BR2_PACKAGE_PCMCIA)),m) 114 TARGETS+=pcmcia-cs 115 endif -
floppyfw/package/pppd/pppd.mk
r141 r185 8 8 PPPD_SOURCE=ppp-2.4.1.pppoe4.tgz 9 9 PPPD_DIR=$(BUILD_DIR)/ppp-2.4.1.pppoe4 10 PPPD_PACKAGES_DIR=$(PACKAGES_DIR)/ppp 10 11 ifeq ($(strip $(BR2_PACKAGE_PPPD)),m) 12 PPPD_PKG_DIR=$(TARGET_PACKAGES_DIR)/ppp 13 else 14 PPPD_PKG_DIR=$(TARGET_DIR) 15 endif 11 16 12 17 $(DL_DIR)/$(PPPD_SOURCE): … … 31 36 ); 32 37 33 $(P ACKAGES_DIR)/ppp/sbin/pppd: $(PPPD_DIR)/pppd/pppd34 -$(RM) -r $(PPPD_P ACKAGES_DIR)35 cp -a $(PACKAGES_SKELETON_DIR)/ppp $(PPPD_P ACKAGES_DIR)36 -find $(PPPD_P ACKAGES_DIR) -type d -name CVS -exec $(RM) -r {} \; > /dev/null 2>&137 -find $(PPPD_P ACKAGES_DIR) -type d -name .svn -exec $(RM) -r {} \; > /dev/null 2>&138 cp -a $(PPPD_DIR)/pppd/pppd $(PPPD_P ACKAGES_DIR)/sbin/pppd39 cp -a $(PPPD_DIR)/chat/chat $(PPPD_P ACKAGES_DIR)/sbin/chat40 -$(SSTRIP) $(PPPD_P ACKAGES_DIR)/sbin/*38 $(PPPD_PKG_DIR)/sbin/pppd: $(PPPD_DIR)/pppd/pppd 39 -$(RM) -r $(PPPD_PKG_DIR) 40 cp -a $(PACKAGES_SKELETON_DIR)/ppp $(PPPD_PKG_DIR) 41 -find $(PPPD_PKG_DIR) -type d -name CVS -exec $(RM) -r {} \; > /dev/null 2>&1 42 -find $(PPPD_PKG_DIR) -type d -name .svn -exec $(RM) -r {} \; > /dev/null 2>&1 43 cp -a $(PPPD_DIR)/pppd/pppd $(PPPD_PKG_DIR)/sbin/pppd 44 cp -a $(PPPD_DIR)/chat/chat $(PPPD_PKG_DIR)/sbin/chat 45 -$(SSTRIP) $(PPPD_PKG_DIR)/sbin/* 41 46 42 $(PACKAGES_DIR)/ppp.ffw: 43 (cd $(PACKAGES_DIR); $(RM) -r ppp/var ; sh mkpack ppp) 44 45 pppd: $(PPPD_PACKAGES_DIR)/sbin/pppd 47 pppd: $(PPPD_PKG_DIR)/sbin/pppd 46 48 47 49 pppd-clean: 48 50 -$(MAKE) -C $(PPPD_DIR) clean 49 -$(RM) -r $(PPPD_P ACKAGES_DIR)51 -$(RM) -r $(PPPD_PKG_DIR) 50 52 51 53 pppd-dirclean: 52 54 -$(RM) -r $(PPPD_DIR) 53 -$(RM) -r $(PPPD_PACKAGES_DIR) 55 -$(RM) -r $(PPPD_PKG_DIR) 56 57 ############################################################# 58 # 59 # Toplevel Makefile options 60 # 61 ############################################################# 62 ifeq ($(strip $(BR2_PACKAGE_PPPD)),y) 63 TARGETS+=pppd 64 endif 65 ifeq ($(strip $(BR2_PACKAGE_PPPD)),m) 66 TARGETS+=pppd 67 endif -
floppyfw/package/pppoe/Config.in
r149 r185 4 4 default n 5 5 help 6 Roaring pengiun PPPoE server. Selects and ends up in the pppd package. -
floppyfw/package/pppoe/pppoe.mk
r141 r185 30 30 $(MAKE) CC="$(TARGET_CC)" -C $(PPPOE_DIR)/src 31 31 32 $(P ACKAGES_DIR)/ppp/sbin/pppoe: $(PPPOE_DIR)/src/pppoe33 cp -a $(PPPOE_DIR)/src/pppoe $(P ACKAGES_DIR)/ppp/sbin/pppoe34 -$(SSTRIP) $(P ACKAGES_DIR)/ppp/sbin/pppoe32 $(PPPD_PKG_DIR)/ppp/sbin/pppoe: $(PPPOE_DIR)/src/pppoe 33 cp -a $(PPPOE_DIR)/src/pppoe $(PPPD_PKG_DIR)/sbin/pppoe 34 -$(SSTRIP) $(PPPD_PKG_DIR)/sbin/pppoe 35 35 36 pppoe: pppd $(P ACKAGES_DIR)/ppp/sbin/pppoe36 pppoe: pppd $(PPPD_PKG_DIR)/sbin/pppoe 37 37 38 38 pppoe-clean: 39 39 -$(MAKE) -C $(PPPOE_DIR) clean 40 $(RM) $(P ACKAGES_DIR)/ppp/sbin/pppoe41 $(RM) $(P ACKAGES_DIR)/ppp/sbin/chat40 $(RM) $(PPPD_PKG_DIR)/sbin/pppoe 41 $(RM) $(PPPD_PKG_DIR)/sbin/chat 42 42 43 43 pppoe-dirclean: 44 44 $(RM) -r $(PPPOE_DIR) 45 $(RM) $(PACKAGES_DIR)/ppp/sbin/pppoe 46 $(RM) $(PACKAGES_DIR)/ppp/sbin/chat 45 $(RM) $(PPPD_PKG_DIR)/sbin/pppoe 46 $(RM) $(PPPD_PKG_DIR)/sbin/chat 47 48 ############################################################# 49 # 50 # Toplevel Makefile options 51 # 52 ############################################################# 53 ifeq ($(strip $(BR2_PACKAGE_PPPOE)),y) 54 TARGETS+=pppoe 55 endif 56 ifeq ($(strip $(BR2_PACKAGE_PPPOE)),m) 57 TARGETS+=pppoe 58 endif -
floppyfw/package/siproxd/siproxd.mk
r153 r185 10 10 11 11 SIPROXD_PKG_DIR=$(PACKAGES_DIR)/siproxd 12 13 ifeq ($(strip $(BR2_PACKAGE_SIPROXD)),m) 14 SIPROXD_PKG_DIR=$(TARGET_PACKAGES_DIR)/siproxd 15 else 16 SIPROXD_PKG_DIR=$(TARGET_DIR) 17 endif 12 18 13 19 $(DL_DIR)/$(SIPROXD_SOURCE): … … 58 64 -$(RM) -r $(SIPROXD_DIR) 59 65 -$(RM) -r $(SIPROXD_PKG_DIR) 66 67 ############################################################# 68 # 69 # Toplevel Makefile options 70 # 71 ############################################################# 72 ifeq ($(strip $(BR2_PACKAGE_SIPROXD)),y) 73 TARGETS+=siproxd 74 endif 75 ifeq ($(strip $(BR2_PACKAGE_SIPROXD)),m) 76 TARGETS+=siproxd 77 endif -
floppyfw/package/tcpdump/Config.in
r169 r185 2 2 tristate "tcpdump" 3 3 default n 4 select BR2PACKAGES_LIBPCAP 4 5 help 5 6 -
floppyfw/package/tcpdump/tcpdump.mk
r169 r185 13 13 TCPDUMP_CAT:=zcat 14 14 15 TCPDUMP_DESTDIR=$(PACKAGES_DIR)/tcpdump16 17 15 ifeq ($(strip $(BR2_PACKAGE_TCMPDUMP)),m) 18 TCPDUMP_ DESTDIR=$(TARGET_PACKAGES_DIR)/dropbear16 TCPDUMP_PKG_DIR=$(TARGET_PACKAGES_DIR)/tcpdump 19 17 else 20 TCPDUMP_ DESTDIR=$(TARGET_DIR)18 TCPDUMP_PKG_DIR=$(TARGET_DIR) 21 19 endif 22 20 … … 59 57 -C $(TCPDUMP_DIR) 60 58 61 $(TCPDUMP_ DESTDIR)/sbin/tcpdump: $(TCPDUMP_DIR)/tcpdump59 $(TCPDUMP_PKG_DIR)/sbin/tcpdump: $(TCPDUMP_DIR)/tcpdump 62 60 $(MAKE) \ 63 DESTDIR=$(TCPDUMP_ DESTDIR) \61 DESTDIR=$(TCPDUMP_PKG_DIR) \ 64 62 -C $(TCPDUMP_DIR) \ 65 63 install 66 $(SSTRIP) $(TCPDUMP_ DESTDIR)/usr/sbin/*67 rm -rf $(TCPDUMP_ DESTDIR)/usr/man64 $(SSTRIP) $(TCPDUMP_PKG_DIR)/usr/sbin/* 65 rm -rf $(TCPDUMP_PKG_DIR)/usr/man 68 66 69 tcpdump: libpcap $(TCPDUMP_ DESTDIR)/sbin/tcpdump67 tcpdump: libpcap $(TCPDUMP_PKG_DIR)/sbin/tcpdump 70 68 71 69 tcpdump-clean: 72 rm -f $(TCPDUMP_ DESTDIR)/sbin/tcpdump70 rm -f $(TCPDUMP_PKG_DIR)/sbin/tcpdump 73 71 -$(MAKE) -C $(TCPDUMP_DIR) clean 74 72 -
floppyfw/package/ucarp/ucarp.mk
r141 r185 9 9 UCARP_SOURCE=ucarp-$(UCARP_VER).tar.bz2 10 10 UCARP_DIR=$(BUILD_DIR)/ucarp-$(UCARP_VER) 11 UCARP_PKG_DIR=$(PACKAGES_DIR)/ucarp 11 12 ifeq ($(strip $(BR2_PACKAGE_UCARP)),m) 13 UCARP_PKG_DIR=$(TARGET_PACKAGES_DIR)/ucarp 14 else 15 UCARP_PKG_DIR=$(TARGET_DIR) 16 endif 17 12 18 13 19 $(DL_DIR)/$(UCARP_SOURCE): … … 49 55 -$(RM) $(UCARP_PKG_DIR)/identd 50 56 57 ############################################################# 58 # 59 # Toplevel Makefile options 60 # 61 ############################################################# 62 ifeq ($(strip $(BR2_PACKAGE_UCARP)),y) 63 TARGETS+=ucarp 64 endif 65 ifeq ($(strip $(BR2_PACKAGE_UCARP)),m) 66 TARGETS+=ucarp 67 endif -
floppyfw/package/wireless-tools/wireless-tools.mk
r141 r185 26 26 WIRELESS_TOOLS_CAT:=zcat 27 27 28 WIRELESS_TOOLS_PKG_DIR=$(PACKAGES_DIR)/wireless-tools 28 ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),m) 29 WIRELESS_TOOLS_PKG_DIR=$(TARGET_PACKAGES_DIR)/wireless-tools 30 else 31 WIRELESS_TOOLS_PKG_DIR=$(TARGET_DIR) 32 endif 29 33 30 34 $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE): … … 72 76 # wireless-tools: $(WIRELESS_TOOLS_PKG_DIR)/sbin/cardmgr $(WIRELESS_TOOLS_DIR)/.modules.dep 73 77 78 ############################################################# 79 # 80 # Toplevel Makefile options 81 # 82 ############################################################# 83 ifeq ($(strip $(BR2_PACKAGE_WIRELESS_TOOLS)),y) 84 TARGETS+=wireless-tools 85 endif 86 ifeq ($(strip $(BR2_PACKAGE_WIRELESS_TOOLS)),m) 87 TARGETS+=wireless-tools 88 endif -
floppyfw/package/wpa_supplicant/Config.in
r141 r185 2 2 tristate "wpa_supplicant" 3 3 default n 4 select BR2_PACKAGE_HOSTAP 4 5 help 5 6 7 This is basically a part of the hostap package/tools. -
floppyfw/package/wpa_supplicant/wpa_supplicant.mk
r141 r185 68 68 -$(RM) -r $(WPA_SUPPLICANT_PKG_DIR)/* 69 69 -$(RM) -r $(WPA_SUPPLICANT_DIR) 70 71 ############################################################# 72 # 73 # Toplevel Makefile options 74 # 75 ############################################################# 76 ifeq ($(strip $(BR2_PACKAGE_WPA_SUPPLICANT)),y) 77 TARGETS+=wpa_supplicant 78 endif 79 ifeq ($(strip $(BR2_PACKAGE_WPA_SUPPLICANT)),m) 80 TARGETS+=wpa_supplicant 81 endif -
floppyfw/package/wsmenu/wsmenu.mk
r141 r185 5 5 # 6 6 ######################## 7 WSMENU_PKG_DIR=$(PACKAGES_DIR)/wsmenu 7 ifeq ($(strip $(BR2_PACKAGE_WSMENU)),m) 8 WSMENU_PKG_DIR=$(TARGET_PACKAGES_DIR)/wsmenu 9 else 10 WSMENU_PKG_DIR=$(TARGET_DIR) 11 endif 8 12 9 13 wsmenu: … … 28 32 -rm -f $(PACKAGES_DIR)/wsmenu.ffw 29 33 34 ############################################################# 35 # 36 # Toplevel Makefile options 37 # 38 ############################################################# 39 ifeq ($(strip $(BR2_PACKAGE_WSMENU)),y) 40 TARGETS+=wsmenu 41 endif 42 ifeq ($(strip $(BR2_PACKAGE_WSMENU)),m) 43 TARGETS+=wsmenu 44 endif