summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-16 15:48:35 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-16 15:48:35 +0000
commitad529c62b2af4a81e493cb571af31f2fe5694bd1 (patch)
tree931ca5af3acacffa78e8be3cb7bba520c6be7656 /package
parent9c3542dfc739b2ede042b3121fdab8a3db889d69 (diff)
downloadbuildroot-novena-ad529c62b2af4a81e493cb571af31f2fe5694bd1.tar.gz
buildroot-novena-ad529c62b2af4a81e493cb571af31f2fe5694bd1.zip
automake: minor cleanup
Diffstat (limited to 'package')
-rw-r--r--package/automake/automake.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/automake/automake.mk b/package/automake/automake.mk
index 057579ab6..2bf2bccb3 100644
--- a/package/automake/automake.mk
+++ b/package/automake/automake.mk
@@ -104,8 +104,8 @@ automake-dirclean:
#############################################################
$(AUTOMAKE_HOST_DIR)/.configured: $(AUTOMAKE_SRC_DIR)/.unpacked $(AUTOCONF)
- mkdir -p $(AUTOMAKE_HOST_DIR)
- (cd $(AUTOMAKE_HOST_DIR); rm -rf config.cache; \
+ mkdir -p $(@D)
+ (cd $(@D); rm -rf config.cache; \
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
@@ -116,7 +116,7 @@ $(AUTOMAKE_HOST_DIR)/.configured: $(AUTOMAKE_SRC_DIR)/.unpacked $(AUTOCONF)
touch $@
$(AUTOMAKE_HOST_DIR)/$(AUTOMAKE_BINARY): $(AUTOMAKE_HOST_DIR)/.configured
- $(MAKE) -C $(AUTOMAKE_HOST_DIR)
+ $(MAKE) -C $(@D)
touch -c $@
$(AUTOMAKE): $(AUTOMAKE_HOST_DIR)/$(AUTOMAKE_BINARY)