X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/900c05f6e102b84281efcd2fc5297b72d9253ba7..2f23c770ba8cc33ecef97b4894e65a202704be2c:/include/host-build.mk diff --git a/include/host-build.mk b/include/host-build.mk index c0d62148e..5622e9870 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2007 OpenWrt.org +# Copyright (C) 2006-2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -27,6 +27,7 @@ ifneq ($(strip $(PKG_UNPACK)),) define Build/Prepare/Default $(PKG_UNPACK) $(Build/Patch) + $(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used) endef endif @@ -81,11 +82,13 @@ define Download/default FILE:=$(PKG_SOURCE) URL:=$(PKG_SOURCE_URL) PROTO:=$(PKG_SOURCE_PROTO) + SUBDIR:=$(PKG_SOURCE_SUBDIR) VERSION:=$(PKG_SOURCE_VERSION) MD5SUM:=$(PKG_MD5SUM) endef define HostBuild + $(if $(QUILT),$(Build/Quilt)) $(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)) $(if $(DUMP),,$(call HostBuild/Autoclean))