add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if...
authorFelix Fietkau <nbd@openwrt.org>
Fri, 16 Mar 2007 19:18:55 +0000 (19:18 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 16 Mar 2007 19:18:55 +0000 (19:18 +0000)
SVN-Revision: 6580

51 files changed:
include/kernel.mk
include/package.mk
package/alsa/Makefile
package/aodv-uu/Makefile
package/ar7-atm/Makefile
package/ar7-net/Makefile
package/broadcom-wl/Makefile
package/busybox/Makefile
package/d80211/Makefile
package/dnsmasq/Makefile
package/dropbear/Makefile
package/e2fsprogs/Makefile
package/fuse/Makefile
package/gdbserver/Makefile
package/gmp/Makefile
package/haserl/Makefile
package/hostap-utils/Makefile
package/hostap/Makefile
package/hostapd/Makefile
package/hotplug2/Makefile
package/ifenslave/Makefile
package/iproute2/Makefile
package/ipsec-tools/Makefile
package/ipset/Makefile
package/iptables/Makefile
package/isakmpd/Makefile
package/kexec-tools/Makefile
package/keynote/Makefile
package/libpcap/Makefile
package/linux-atm/Makefile
package/madwifi/Makefile
package/nozomi/Makefile
package/ntfs-3g/Makefile
package/openssl/Makefile
package/openswan/Makefile
package/pcmcia-cs/Makefile
package/ppp/Makefile
package/pptp/Makefile
package/pwc/Makefile
package/rt2500/Makefile
package/rt2570/Makefile
package/rt61/Makefile
package/shfs/Makefile
package/spca5xx/Makefile
package/strongswan/Makefile
package/udev/Makefile
package/ueagle-atm/Makefile
package/util-linux/Makefile
package/wireless-tools/Makefile
package/wpa_supplicant/Makefile
package/zlib/Makefile

index 4cf0e7a72d4a8cb48eb45a77d6b59ab4f3dcbde3..9792d04d0dd1a3a88c003f95791cb69784cea04b 100644 (file)
@@ -43,6 +43,8 @@ else
            http://www.kernel.org/pub/linux/kernel/v$(KERNEL) \
            http://www.de.kernel.org/pub/linux/kernel/v$(KERNEL)
 
+  PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 endif
 
 
index e9d73e4a067d0176ca1785396d897155b503daf5..44fe33ae1fa83f05218ac57eaa7480f9c1c9083b 100644 (file)
@@ -7,6 +7,9 @@
 
 all: $(if $(DUMP),dumpinfo,compile)
 
+PKG_BUILD_DIR ?= $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_INSTALL_DIR ?= $(PKG_BUILD_DIR)/ipkg-install
+
 include $(INCLUDE_DIR)/prereq.mk
 include $(INCLUDE_DIR)/host.mk
 include $(INCLUDE_DIR)/unpack.mk
index d03ae7e58969b8b8fb3e945e36ef96a7160a57f1..a96e4f0f619d463058626bb65b14141c4cfab23a 100644 (file)
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/driver/
 PKG_MD5SUM:=4cff99be4b225e96663fbd61cabe3182
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/alsa
index ea42a7f89b45da65d4e41bcd5a15ba60511df088..9a3b218b6ee5f4ea52ee76765aa4cf75bbe37783 100644 (file)
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=http://core.it.uu.se/core/files/
 PKG_MD5SUM:=05460543054449cb4b170252a7168c65
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/aodv-uu/Default
index 11c3345e9477427beeae1c1b97e9575a44b307c5..e30b53fc22de90f230d21f105f0a0b001120ba94 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id:$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
 PKG_MD5SUM:=90c10702c9c3129e2ad1c01ce3975bf5
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/sangam-atm-annex-a
index fbcdf64968d6db375b43b9499090b8640980e52d..4b7127f3f9ac1cca6ba7158913969cdb5e310a3c 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id:$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
 PKG_MD5SUM:=ce46849a8f1055cef09c59c6bdb7f86a
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/avalanche-cpmac
index 106e7486bfedac195ad2791217a2ccd378354501..1bf1ee0175e7c1380b5d43ff0a0fc5af886914e0 100644 (file)
@@ -19,8 +19,6 @@ PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
 PKG_MD5SUM:=a7d8dde3ce474c361143b83e1d9890b1
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/broadcom-wl/Default
index 3e6cc4e9c9208dbb4656dfff50b2e9af56d74624..fc5711f6a50414c6dcafd2102396236986b0c7f7 100644 (file)
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=http://www.busybox.net/downloads \
 PKG_MD5SUM:=5728403bce309cdabcffa414e2e64052
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 init-y :=
index 25b9051bd65a88f564d2be9083d72fda23ce1f00..1d8af481fd3ffbecab9ffb4b27a4e0daa5b78e7e 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id:$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
@@ -12,8 +12,6 @@ include $(INCLUDE_DIR)/kernel.mk
 PKG_NAME:=kmod-d80211
 PKG_VERSION:=20070201
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/d80211
index e6af5672fa238b2b36064b174b607abddcb33afe..4451f8113ec7fa3f577e66b406a6161ef60424cb 100644 (file)
@@ -17,8 +17,6 @@ PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
 PKG_MD5SUM:=57b8643dc394cf2fbd1bced64536c6df
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/dnsmasq
index 23e125e7cf0e62b58fbc0f71afb3c4b1edb6a4ef..591d7785674d5e303a55353ed543f4c953669e2c 100644 (file)
@@ -17,8 +17,6 @@ PKG_SOURCE_URL:=http://matt.ucc.asn.au/dropbear/releases/
 PKG_MD5SUM:=ca8e53a766faec831882831364568421
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/dropbear/Default
index 1543a7bc00ba627b6bdac81d3acad56fc9572756..47e30cb44ed521239e65aada398482f34902d04a 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=@SF/e2fsprogs
 PKG_MD5SUM:=06f7806782e357797fad1d34b7ced0c6
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/e2fsprogs
index 42fe78c9680740240e80caf4e4eb6ebcaf521c77..913feba59997cbefc6724ca8917e8de5acf0bd57 100644 (file)
@@ -18,9 +18,6 @@ PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=3f4f5d07d12dedc0a3fd23472171fe94
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/fuse/Default
index d4d149102df76be8b75c9b73dcca586b5b9c3af8..17dbbe8b0e780d3c1cecef4292f92371d678a015 100644 (file)
@@ -11,9 +11,6 @@ PKG_NAME:=gdbserver
 PKG_VERSION:=6.3
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 GDB_DIR:=$(TOOLCHAIN_BUILD_DIR)/gdb-$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
index fa916f0b1d1592a8c3ef8f0484d2dbbee1cf043a..90e0751825d734d5fefbbe345e26879b479b08da 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=@GNU/gmp
 PKG_MD5SUM:=0aa7d3b3f5b5ec5951e7dddd6f65e891
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/libgmp
index 15b64f7839a6b5d777d5cfdccf90daffa812fec1..8e5345645529314e127f6dcec1bd0413f655f68b 100644 (file)
@@ -17,8 +17,6 @@ PKG_SOURCE_URL:=@SF/haserl
 PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/haserl
index 4f4be05890b5e66e68c9d51209f9d887844bb8a2..aa993874882141f67da38b724c53e5190a9afb69 100644 (file)
@@ -16,8 +16,6 @@ PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
 PKG_MD5SUM:=afe041581b8f01666e353bec20917c85
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/hostap-utils
index 15b4aecdd429066a4d0244978341afb30f9b1daa..79875512f0147a270a0c13832907e1989cd280c6 100644 (file)
@@ -18,9 +18,6 @@ PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
 PKG_MD5SUM:=c7534dc040ab90218257a78488ecd378
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
   -include $(LINUX_DIR)/.config
index b7a7d5e11019af193e8ac49207cf37c369f80679..f362912d01e4322bc4ab3bd0fad445ea7f39a321 100644 (file)
@@ -17,8 +17,6 @@ PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
 PKG_MD5SUM:=d5113247dc6ee17106e6bc7cb89aa507
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 PKG_BUILD_DEPENDS:=madwifi
 
 include $(INCLUDE_DIR)/package.mk
index 99e277623006cf783a4f9662a8f52dddbe930c7c..3d1729cb550404f0bec3b59ed73aca2f43962717 100644 (file)
@@ -17,8 +17,6 @@ PKG_SOURCE_URL:=http://isteve.bofh.cz/~isteve/hotplug2
 PKG_MD5SUM:=ea2c01d027b4002e4e6b0ff266f51a51
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/hotplug2
index bf6fa239ecbbc8f71c7393bab2c2967347ccc500..86132a106095cff27257d15ce84d4d8ead68a380 100644 (file)
@@ -13,8 +13,6 @@ PKG_NAME:=ifenslave
 PKG_VERSION:=$(LINUX_VERSION)
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/ifenslave
index 645d0349f496e584c1e546d279e180cc021ce6d3..5d3851f9f33617a7d6b4de0804924ecea787f446 100644 (file)
@@ -17,8 +17,6 @@ PKG_SOURCE_URL:=http://developer.osdl.org/dev/iproute2/download/
 PKG_MD5SUM:=04f57a6d366d36426d276178b600f5c5
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/iproute2-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/iproute2/Default
index 67772f126c229f7987f58125954f14fd2ea477dc..f1620d325cb06d03d2cedba86f9ed6b811ec60d0 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=@SF/ipsec-tools
 PKG_MD5SUM:=e908f3cf367e31c7902df5ab16fbe5c3
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/kernel.mk
 
index 3b53858601275d6e96575de33809a01951e1ce8d..c68334331199891c5ffa35715e8c78f1fa441ef2 100644 (file)
@@ -17,8 +17,6 @@ PKG_SOURCE_URL:=http://ipset.netfilter.org
 PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/ipset
index f29aad3f909bccbd9bb255b4c24d54f168a7e0e4..c7f73f1ccf08d36347dff998d580b2a2b02ad49f 100644 (file)
@@ -21,9 +21,6 @@ PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
 PKG_MD5SUM:=00fb916fa8040ca992a5ace56d905ea5
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
   -include $(LINUX_DIR)/.config
index e149f130adbc9bf072831abe81392f21d1d93a33..336bdfe5a4b24b9e6476696b516f04158c412b4b 100644 (file)
@@ -18,7 +18,6 @@ PKG_MD5SUM:=e6d25a9e232fb186e1a48dc06453bd57
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/kernel.mk
index 0fa253c64b4773c5d4e1e9fff4980159583b2a09..de0ad37fb7b906a1153a3b96ab809806b1843af1 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=http://www.xmission.com/~ebiederm/files/kexec/
 PKG_MD5SUM:=b4f7ffcc294d41a6a4c40d6e44b7734d
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/kexec-tools
index 5e2b3898b96924d4f75f64a3d9daa895eb1304a8..30ff8899c7c5c5734eaff830f844e9aa55e1a024 100644 (file)
@@ -7,6 +7,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=keynote
 PKG_VERSION:=2.3
@@ -17,10 +18,7 @@ PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
 PKG_MD5SUM:=b569066ac2ba1356c2112b118a7d74d0
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/kernel.mk
 
 define Package/keynote
   SECTION:=net
index 20eb17e70a57d8f71029cfae760c666140d3ea4d..b2edc1aa3005474ab92a2fdf728eca9b5ba519d4 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=http://www.tcpdump.org/release/
 PKG_MD5SUM:=79025766e8027df154cb1f32de8a7974
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/libpcap
index 7691c1149a14da5f7c2ef86d4af46efa96fe4628..a9a58a13ab50896f286fff6a088dff61aaeb78a2 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/linux-atm/
 PKG_MD5SUM:=84fef49cc39ff2605204246666f65864
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/linux-atm/Default
index ad55d05158fa36b12d40ac87c9a2dc6a5d9a3fb5..5c780ed66caf110cd0be804e4429fc3fc0cedc41 100644 (file)
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=bf5509fccd3852e22551826063b1b61e
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 RATE_CONTROL:=sample
index 17bb8242e2c295902c62746588858808d65f84d9..b5ed921347b2c6191e0f8c043bb045883f987ac9 100644 (file)
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=http://www.pharscape.org/3G
 PKG_MD5SUM:=90e4d8f389a18b5579f7234a23e32e99
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 PKG_UNPACK:=mkdir -p $(PKG_BUILD_DIR); $(ZCAT) $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
index 51527043ee8d6b4e0f9b10ada6818bf5326ae6c3..7fc208556ad59f72c7c08578c26d98264c45f58a 100644 (file)
@@ -18,9 +18,6 @@ PKG_SOURCE_URL:=http://www.ntfs-3g.org/
 PKG_MD5SUM:=873a8de662849d129fc7c475ad3f5447
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 PKG_BUILD_DEPENDS:=libfuse
 
 include $(INCLUDE_DIR)/package.mk
index 9c1f6bf7f8078a99ce7ef7464b3db192b09b6f38..d0e178ef954a6dce2c3e5c76ced1cbfb37a91d5c 100644 (file)
@@ -20,9 +20,6 @@ PKG_SOURCE_URL:=http://www.openssl.org/source/ \
 PKG_MD5SUM:=8ed1853538e1d05a1f5ada61ebf8bffa
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/openssl/Default
index 7bb8babaffa4989af008478b2d425092f5db818e..18ea6af9fba05dc4531a316608e23a4a1f226e40 100644 (file)
@@ -18,9 +18,6 @@ PKG_SOURCE_URL:=http://www.openswan.org/download
 PKG_MD5SUM:=70f22e8adc39e07a165f75eccb7cd079
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/openswan/Default
index 6aca50fd78ef90cca9eced2ee42d70c84618d8fe..e0474c48d0c3996ff64eda4506634395cdc5d107 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=0d6d65be8896eff081aee996049afaa5
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/pcmcia-cs
index 8202d58d08a6896e6be2db9600dd73330d28ea53..4293f1d2798b95f6247246ed36295ca5817f3c54 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
 PKG_MD5SUM:=848f6c3cafeb6074ffeb293c3af79b7c
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 PKG_BUILD_DEPENDS:=libpcap linux-atm
 
 include $(INCLUDE_DIR)/package.mk
index 081ff4e52adeb64f0f3f87a18fd067d09717f07a..eeff6686798fd700a3b76ea2b128ed95d8a8830d 100644 (file)
@@ -17,8 +17,6 @@ PKG_SOURCE_URL:=@SF/pptpclient
 PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/pptp
index 3f5f60e8b5ba26640a71466f6de506a5aea08022..2540cdee3bd4ed99aaa18d310bffd18b8da6506e 100644 (file)
@@ -13,7 +13,6 @@ PKG_NAME:=pwc
 PKG_VERSION:=10.0.12-rc1
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.saillard.org/linux/pwc/files/
 PKG_MD5SUM:=8763f3d6fd0f9738ef9854de205a126d
index c31d97ddc7d1c57812044e027baeb74987f358f6..f7631a86346069d06dd0e4a19530c9d72e698cf9 100644 (file)
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=@SF/rt2400
 PKG_MD5SUM:=83b8b9a091705c08d99268479f3b3b6a
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/rt2500
index 40e4bd77c766f4ae629509f91f8ffa176ab520e8..ad01632f9cc06acdb178bb594641c697fc4e965d 100644 (file)
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=@SF/rt2400
 PKG_MD5SUM:=f4131d670920a878b4d4a0f5d4d8b93a
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/rt2570
index a8112b6985f63d9cfe43031517a93c514182e9ea..6b2efbe0cd14e3850adcd0dc614a0fe387d87f2c 100644 (file)
@@ -13,8 +13,7 @@ PKG_NAME:=rt61
 PKG_VERSION:=1.1.0-b1
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/rt61-$(PKG_VERSION)/
-PKG_SOURCE:=rt61-$(PKG_VERSION).tar.gz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/rt2400
 PKG_MD5SUM:=3f2600400a3d6d878a5d27d0a2e47eed
 PKG_CAT:=zcat
index 58914912cfff8c44c612f24bc65c3ba2023d4584..201358ca7632f97920e259d4209916171f7b9732 100644 (file)
@@ -18,9 +18,6 @@ PKG_SOURCE_URL:=@SF/shfs
 PKG_MD5SUM:=016f49d71bc32eee2b5d11fc1600cfbe
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/shfs/Default
index 90a29ef3863489bc7704f3ffd8883cce73b3085c..013a77ca7f1365aedd2e70bd00e02ef8eaa0455f 100644 (file)
@@ -18,8 +18,6 @@ PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download
 PKG_MD5SUM:=1e3fa004490a07b7b76de03d70b3e8ea
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/gspca
index fdd8636ef5cbb6a77298c70e7f699e75824de5bf..43a788074e402f78ad646ba8a94ec8bb5e449e12 100644 (file)
@@ -18,9 +18,6 @@ PKG_SOURCE_URL:=http://download.strongswan.org/
 PKG_MD5SUM:=57427f5b48123851a73b10d78dd4f8d6
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/strongswan/Default
index 46f302b981acb681bdb58e4093a9306d6b5a42ea..9f2e9a34a10c1dfc6381df28a4caae7e0c3e52a6 100644 (file)
@@ -22,9 +22,6 @@ PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
 PKG_MD5SUM:=320ccd2d0f4540d10e021bafa14f8985
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/udev
index cdf59fe9cfc6ca3b935c256370e1b5bc0272df01..6b38f8e69e8b31325809d58f9ea6841c57bd2057 100644 (file)
@@ -18,9 +18,6 @@ PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/
 PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/ueagle-atm
index 5fc819bcfffb8d12b6684e5f5662b2c4d1513f9e..05ad5cfda04cef7cdc4e55bc3e49223c907c3a6e 100644 (file)
@@ -20,9 +20,6 @@ PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \
 PKG_MD5SUM:=c261230b27fc0fbcc287c76884caf2d3
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/util-linux/Default
index c7b80f31d2a97a7bf39b883c2b2cb0275ec84af4..d05e69f8ff968d24f565e99a00ec2317e469a001 100644 (file)
@@ -19,7 +19,6 @@ PKG_CAT:=zcat
 TAR_OPTIONS += || true
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/wireless_tools.28
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
index 658837c34a06b2f736081b31a060081c31f4eefc..b08a4be9a754c064f6b04b3940a014563724fe08 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=http://hostap.epitest.fi/releases
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/wpa-supplicant
index 74544bc86a6be57b28f7e31e5a082c773daafe6a..d16c79d4fe083e55e839b50d909d37eabb0e2beb 100644 (file)
@@ -17,9 +17,6 @@ PKG_SOURCE_URL:=http://www.zlib.net @SF/zlib
 PKG_MD5SUM:=dee233bf288ee795ac96a98cc2e369b6
 PKG_CAT:=bzcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/zlib