]> xenbits.xen.org Git - xenclient/build.git/commitdiff
[buildroot]: Make _DIR overwritable for autotools makefiles.
authorJean Guyader <jean.guyader@eu.citrix.com>
Mon, 16 Nov 2009 18:06:18 +0000 (18:06 +0000)
committerJean Guyader <jean.guyader@eu.citrix.com>
Mon, 16 Nov 2009 18:06:18 +0000 (18:06 +0000)
package/Makefile.autotools.in

index c54f76c22ea37cb5ae1bcc77e8a343edc88c916f..08a23e03e5ad1bbc09c8ff75de32ae1ffe2e9ea4 100644 (file)
@@ -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)