summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-16 19:18:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-16 19:18:55 +0000
commit1d307eea87ca839a93e6b580e841c98ee2af9571 (patch)
treeffc6f0db61d8e167214c2e2ebf8a770463973bad /package
parentedea35b85ee74122f5579519d0fa0d3af16bf9fa (diff)
downloadmtk-20170518-1d307eea87ca839a93e6b580e841c98ee2af9571.zip
mtk-20170518-1d307eea87ca839a93e6b580e841c98ee2af9571.tar.gz
mtk-20170518-1d307eea87ca839a93e6b580e841c98ee2af9571.tar.bz2
add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
SVN-Revision: 6580
Diffstat (limited to 'package')
-rw-r--r--package/alsa/Makefile2
-rw-r--r--package/aodv-uu/Makefile2
-rw-r--r--package/ar7-atm/Makefile4
-rw-r--r--package/ar7-net/Makefile4
-rw-r--r--package/broadcom-wl/Makefile2
-rw-r--r--package/busybox/Makefile2
-rw-r--r--package/d80211/Makefile4
-rw-r--r--package/dnsmasq/Makefile2
-rw-r--r--package/dropbear/Makefile2
-rw-r--r--package/e2fsprogs/Makefile3
-rw-r--r--package/fuse/Makefile3
-rw-r--r--package/gdbserver/Makefile3
-rw-r--r--package/gmp/Makefile3
-rw-r--r--package/haserl/Makefile2
-rw-r--r--package/hostap-utils/Makefile2
-rw-r--r--package/hostap/Makefile3
-rw-r--r--package/hostapd/Makefile2
-rw-r--r--package/hotplug2/Makefile2
-rw-r--r--package/ifenslave/Makefile2
-rw-r--r--package/iproute2/Makefile2
-rw-r--r--package/ipsec-tools/Makefile3
-rw-r--r--package/ipset/Makefile2
-rw-r--r--package/iptables/Makefile3
-rw-r--r--package/isakmpd/Makefile1
-rw-r--r--package/kexec-tools/Makefile3
-rw-r--r--package/keynote/Makefile4
-rw-r--r--package/libpcap/Makefile3
-rw-r--r--package/linux-atm/Makefile3
-rw-r--r--package/madwifi/Makefile2
-rw-r--r--package/nozomi/Makefile2
-rw-r--r--package/ntfs-3g/Makefile3
-rw-r--r--package/openssl/Makefile3
-rw-r--r--package/openswan/Makefile3
-rw-r--r--package/pcmcia-cs/Makefile3
-rw-r--r--package/ppp/Makefile3
-rw-r--r--package/pptp/Makefile2
-rw-r--r--package/pwc/Makefile1
-rw-r--r--package/rt2500/Makefile2
-rw-r--r--package/rt2570/Makefile2
-rw-r--r--package/rt61/Makefile3
-rw-r--r--package/shfs/Makefile3
-rw-r--r--package/spca5xx/Makefile2
-rw-r--r--package/strongswan/Makefile3
-rw-r--r--package/udev/Makefile3
-rw-r--r--package/ueagle-atm/Makefile3
-rw-r--r--package/util-linux/Makefile3
-rw-r--r--package/wireless-tools/Makefile1
-rw-r--r--package/wpa_supplicant/Makefile3
-rw-r--r--package/zlib/Makefile3
49 files changed, 5 insertions, 121 deletions
diff --git a/package/alsa/Makefile b/package/alsa/Makefile
index d03ae7e..a96e4f0 100644
--- a/package/alsa/Makefile
+++ b/package/alsa/Makefile
@@ -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
diff --git a/package/aodv-uu/Makefile b/package/aodv-uu/Makefile
index ea42a7f..9a3b218 100644
--- a/package/aodv-uu/Makefile
+++ b/package/aodv-uu/Makefile
@@ -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
diff --git a/package/ar7-atm/Makefile b/package/ar7-atm/Makefile
index 11c3345..e30b53f 100644
--- a/package/ar7-atm/Makefile
+++ b/package/ar7-atm/Makefile
@@ -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
diff --git a/package/ar7-net/Makefile b/package/ar7-net/Makefile
index fbcdf64..4b7127f 100644
--- a/package/ar7-net/Makefile
+++ b/package/ar7-net/Makefile
@@ -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
diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile
index 106e748..1bf1ee0 100644
--- a/package/broadcom-wl/Makefile
+++ b/package/broadcom-wl/Makefile
@@ -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
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 3e6cc4e..fc5711f 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -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 :=
diff --git a/package/d80211/Makefile b/package/d80211/Makefile
index 25b9051..1d8af48 100644
--- a/package/d80211/Makefile
+++ b/package/d80211/Makefile
@@ -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
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile
index e6af567..4451f81 100644
--- a/package/dnsmasq/Makefile
+++ b/package/dnsmasq/Makefile
@@ -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
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 23e125e..591d778 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -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
diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile
index 1543a7b..47e30cb 100644
--- a/package/e2fsprogs/Makefile
+++ b/package/e2fsprogs/Makefile
@@ -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
diff --git a/package/fuse/Makefile b/package/fuse/Makefile
index 42fe78c..913feba 100644
--- a/package/fuse/Makefile
+++ b/package/fuse/Makefile
@@ -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
diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile
index d4d1491..17dbbe8 100644
--- a/package/gdbserver/Makefile
+++ b/package/gdbserver/Makefile
@@ -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
diff --git a/package/gmp/Makefile b/package/gmp/Makefile
index fa916f0..90e0751 100644
--- a/package/gmp/Makefile
+++ b/package/gmp/Makefile
@@ -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
diff --git a/package/haserl/Makefile b/package/haserl/Makefile
index 15b64f7..8e53456 100644
--- a/package/haserl/Makefile
+++ b/package/haserl/Makefile
@@ -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
diff --git a/package/hostap-utils/Makefile b/package/hostap-utils/Makefile
index 4f4be05..aa99387 100644
--- a/package/hostap-utils/Makefile
+++ b/package/hostap-utils/Makefile
@@ -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
diff --git a/package/hostap/Makefile b/package/hostap/Makefile
index 15b4aec..7987551 100644
--- a/package/hostap/Makefile
+++ b/package/hostap/Makefile
@@ -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
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index b7a7d5e..f362912 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -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
diff --git a/package/hotplug2/Makefile b/package/hotplug2/Makefile
index 99e2776..3d1729c 100644
--- a/package/hotplug2/Makefile
+++ b/package/hotplug2/Makefile
@@ -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
diff --git a/package/ifenslave/Makefile b/package/ifenslave/Makefile
index bf6fa23..86132a1 100644
--- a/package/ifenslave/Makefile
+++ b/package/ifenslave/Makefile
@@ -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
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 645d034..5d3851f 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -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
diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile
index 67772f1..f1620d3 100644
--- a/package/ipsec-tools/Makefile
+++ b/package/ipsec-tools/Makefile
@@ -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
diff --git a/package/ipset/Makefile b/package/ipset/Makefile
index 3b53858..c683343 100644
--- a/package/ipset/Makefile
+++ b/package/ipset/Makefile
@@ -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
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index f29aad3..c7f73f1 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -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
diff --git a/package/isakmpd/Makefile b/package/isakmpd/Makefile
index e149f13..336bdfe 100644
--- a/package/isakmpd/Makefile
+++ b/package/isakmpd/Makefile
@@ -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
diff --git a/package/kexec-tools/Makefile b/package/kexec-tools/Makefile
index 0fa253c..de0ad37 100644
--- a/package/kexec-tools/Makefile
+++ b/package/kexec-tools/Makefile
@@ -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
diff --git a/package/keynote/Makefile b/package/keynote/Makefile
index 5e2b389..30ff889 100644
--- a/package/keynote/Makefile
+++ b/package/keynote/Makefile
@@ -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
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index 20eb17e..b2edc1a 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -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
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 7691c11..a9a58a1 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -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
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index ad55d05..5c780ed 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -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
diff --git a/package/nozomi/Makefile b/package/nozomi/Makefile
index 17bb824..b5ed921 100644
--- a/package/nozomi/Makefile
+++ b/package/nozomi/Makefile
@@ -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)
diff --git a/package/ntfs-3g/Makefile b/package/ntfs-3g/Makefile
index 5152704..7fc2085 100644
--- a/package/ntfs-3g/Makefile
+++ b/package/ntfs-3g/Makefile
@@ -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
diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index 9c1f6bf..d0e178e 100644
--- a/package/openssl/Makefile
+++ b/package/openssl/Makefile
@@ -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
diff --git a/package/openswan/Makefile b/package/openswan/Makefile
index 7bb8bab..18ea6af 100644
--- a/package/openswan/Makefile
+++ b/package/openswan/Makefile
@@ -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
diff --git a/package/pcmcia-cs/Makefile b/package/pcmcia-cs/Makefile
index 6aca50f..e0474c4 100644
--- a/package/pcmcia-cs/Makefile
+++ b/package/pcmcia-cs/Makefile
@@ -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
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 8202d58..4293f1d 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -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
diff --git a/package/pptp/Makefile b/package/pptp/Makefile
index 081ff4e..eeff668 100644
--- a/package/pptp/Makefile
+++ b/package/pptp/Makefile
@@ -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
diff --git a/package/pwc/Makefile b/package/pwc/Makefile
index 3f5f60e..2540cde 100644
--- a/package/pwc/Makefile
+++ b/package/pwc/Makefile
@@ -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
diff --git a/package/rt2500/Makefile b/package/rt2500/Makefile
index c31d97d..f7631a8 100644
--- a/package/rt2500/Makefile
+++ b/package/rt2500/Makefile
@@ -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
diff --git a/package/rt2570/Makefile b/package/rt2570/Makefile
index 40e4bd7..ad01632 100644
--- a/package/rt2570/Makefile
+++ b/package/rt2570/Makefile
@@ -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
diff --git a/package/rt61/Makefile b/package/rt61/Makefile
index a8112b6..6b2efbe 100644
--- a/package/rt61/Makefile
+++ b/package/rt61/Makefile
@@ -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
diff --git a/package/shfs/Makefile b/package/shfs/Makefile
index 5891491..201358c 100644
--- a/package/shfs/Makefile
+++ b/package/shfs/Makefile
@@ -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
diff --git a/package/spca5xx/Makefile b/package/spca5xx/Makefile
index 90a29ef..013a77c 100644
--- a/package/spca5xx/Makefile
+++ b/package/spca5xx/Makefile
@@ -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
diff --git a/package/strongswan/Makefile b/package/strongswan/Makefile
index fdd8636..43a7880 100644
--- a/package/strongswan/Makefile
+++ b/package/strongswan/Makefile
@@ -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
diff --git a/package/udev/Makefile b/package/udev/Makefile
index 46f302b..9f2e9a3 100644
--- a/package/udev/Makefile
+++ b/package/udev/Makefile
@@ -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
diff --git a/package/ueagle-atm/Makefile b/package/ueagle-atm/Makefile
index cdf59fe..6b38f8e 100644
--- a/package/ueagle-atm/Makefile
+++ b/package/ueagle-atm/Makefile
@@ -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
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index 5fc819b..05ad5cf 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -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
diff --git a/package/wireless-tools/Makefile b/package/wireless-tools/Makefile
index c7b80f3..d05e69f 100644
--- a/package/wireless-tools/Makefile
+++ b/package/wireless-tools/Makefile
@@ -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
diff --git a/package/wpa_supplicant/Makefile b/package/wpa_supplicant/Makefile
index 658837c..b08a4be 100644
--- a/package/wpa_supplicant/Makefile
+++ b/package/wpa_supplicant/Makefile
@@ -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
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 74544bc..d16c79d 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -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