fix the path to the build dir for host packages
[openwrt.git] / include / package-defaults.mk
index e0cb6e8..e375722 100644 (file)
@@ -13,7 +13,7 @@ define Package/Default
   PROVIDES:=
   EXTRA_DEPENDS:=
   MAINTAINER:=OpenWrt Developers Team <openwrt-devel@openwrt.org>
   PROVIDES:=
   EXTRA_DEPENDS:=
   MAINTAINER:=OpenWrt Developers Team <openwrt-devel@openwrt.org>
-  SOURCE:=$(patsubst $(TOPDIR)/%,%,${shell pwd})
+  SOURCE:=$(patsubst $(TOPDIR)/%,%,$(CURDIR))
   ifneq ($(PKG_VERSION),)
     ifneq ($(PKG_RELEASE),)
       VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
   ifneq ($(PKG_VERSION),)
     ifneq ($(PKG_RELEASE),)
       VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
@@ -32,6 +32,7 @@ define Package/Default
   TITLE:=
   KCONFIG:=
   BUILDONLY:=
   TITLE:=
   KCONFIG:=
   BUILDONLY:=
+  URL:=
 endef
 
 Build/Patch:=$(Build/Patch/Default)
 endef
 
 Build/Patch:=$(Build/Patch/Default)
@@ -39,7 +40,6 @@ ifneq ($(strip $(PKG_UNPACK)),)
   define Build/Prepare/Default
        $(PKG_UNPACK)
        $(Build/Patch)
   define Build/Prepare/Default
        $(PKG_UNPACK)
        $(Build/Patch)
-       $(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
   endef
 endif
 
   endef
 endif
 
This page took 0.025944 seconds and 4 git commands to generate.