diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-19 14:47:35 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-19 14:47:35 +0200 |
commit | fe06da781bf153fded6c88012083c07427b74464 (patch) | |
tree | b71f8086c2b618161f492c77abb09cd4a6baea5e /package/Makefile.autotools.in | |
parent | f5239c327e303a1470829c641bc2d9e28c819d23 (diff) | |
parent | 84a8eafd4cbd103e89194ed1768cc43760ecde3a (diff) |
Merge branch 'huge-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/Makefile.autotools.in')
-rw-r--r-- | package/Makefile.autotools.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 859e7bcf4..d4e6160d3 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -243,7 +243,7 @@ $(BUILD_DIR)/%/.stamp_configured: $(TARGET_CONFIGURE_ENV) \ $($(PKG)_CONF_ENV) \ $(if $(THIS_SRCDIR),$(THIS_SRCDIR)/,./)configure \ - $(if $(filter YES,$($(PKG)_USE_CONFIG_CACHE)),--cache-file="$(PROJECT_BUILD_DIR)/tgt-config.cache",) \ + $(if $(filter YES,$($(PKG)_USE_CONFIG_CACHE)),--cache-file="$(BUILD_DIR)/tgt-config.cache",) \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ @@ -274,7 +274,7 @@ $(BUILD_DIR)/%/.stamp_staging_installed: touch $@ # Install to target dir -$(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed: +$(BUILD_DIR)/%/.stamp_target_installed: $(call MESSAGE,"Installing to target") $($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_INSTALL_TARGET_OPT) -C $($(PKG)_DIR)/$($(PKG)_SUBDIR) $(if $(BR2_HAVE_MANPAGES),,for d in man share/man; do \ @@ -352,8 +352,7 @@ $(2)_DIR_PREFIX = $(if $(3),$(3),$(TOP_SRCDIR)/package) # define sub-target stamps -# targets which affect $(TARGET_DIR) must use a unique stamp for each $(PROJECT) -$(2)_TARGET_INSTALL_TARGET = $(PROJECT_BUILD_DIR)/autotools-stamps/$(1)_target_installed +$(2)_TARGET_INSTALL_TARGET = $$($(2)_DIR)/.stamp_target_installed $(2)_TARGET_INSTALL_STAGING = $$($(2)_DIR)/.stamp_staging_installed $(2)_TARGET_BUILD = $$($(2)_DIR)/.stamp_built $(2)_TARGET_CONFIGURE = $$($(2)_DIR)/.stamp_configured @@ -369,7 +368,7 @@ $(2)_TARGET_DIRCLEAN = $$($(2)_DIR)/.stamp_dircleaned $(2)_HOOK_POST_EXTRACT = $$($(2)_DIR)/.stamp_hook_post_extract $(2)_HOOK_POST_CONFIGURE = $$($(2)_DIR)/.stamp_hook_post_configure $(2)_HOOK_POST_BUILD = $$($(2)_DIR)/.stamp_hook_post_build -$(2)_HOOK_POST_INSTALL = $(PROJECT_BUILD_DIR)/autotools-stamps/$(1)_hook_post_install +$(2)_HOOK_POST_INSTALL = $$($(2)_DIR)/.stamp_hook_post_install # human-friendly targets and target sequencing $(1): $(1)-install |