From: Jean Guyader Date: Mon, 16 Nov 2009 18:06:18 +0000 (+0000) Subject: [buildroot]: Make _DIR overwritable for autotools makefiles. X-Git-Url: http://xenbits.xen.org/gitweb?a=commitdiff_plain;h=956e785829d15f23823031811c54a42200300197;p=xenclient%2Fbuild.git [buildroot]: Make _DIR overwritable for autotools makefiles. --- diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index c54f76c..08a23e0 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -299,7 +299,7 @@ define AUTOTARGETS_INNER # define package-specific variables to default values $(2)_NAME = $(1) $(2)_VERSION ?= undefined -$(2)_DIR = $$(BUILD_DIR)/$(1)-$$($(2)_VERSION) +$(2)_DIR ?= $$(BUILD_DIR)/$(1)-$$($(2)_VERSION) $(2)_SOURCE ?= $(1)-$$($(2)_VERSION).tar.gz $(2)_SITE ?= \ http://$$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/$(1)