summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-12-05 15:27:26 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-12-05 15:27:26 +0000
commit84ddc66a410e61c56f2e68e539f7d678ef9abe1a (patch)
tree3f2d90912ecde2e34eb6f4b8cfc2d21a3f0c0d0d /package
parente35414722d976f819a9d42ee51e94d6ccbc03887 (diff)
toolchain/*: use CONFIG_UPDATE
Based on e0e0945e in Bernhard's tree.
Diffstat (limited to 'package')
-rw-r--r--package/gmp/gmp.mk2
-rw-r--r--package/mpfr/mpfr.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index 95d8deee3..f221b47bb 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -27,7 +27,7 @@ libgmp-source: $(DL_DIR)/$(GMP_SOURCE)
$(GMP_DIR)/.unpacked: $(DL_DIR)/$(GMP_SOURCE)
$(GMP_CAT) $(DL_DIR)/$(GMP_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(GMP_DIR) package/gmp/ \*.patch
- $(CONFIG_UPDATE) $(GMP_DIR)
+ $(CONFIG_UPDATE) $(@D)
touch $@
$(GMP_TARGET_DIR)/.configured: $(GMP_DIR)/.unpacked
diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
index 7c1febf4b..85fbbd73a 100644
--- a/package/mpfr/mpfr.mk
+++ b/package/mpfr/mpfr.mk
@@ -30,7 +30,7 @@ $(DL_DIR)/$(MPFR_SOURCE):
$(MPFR_DIR)/.unpacked: $(DL_DIR)/$(MPFR_SOURCE) $(MPFR_PATCH_SOURCE)
$(MPFR_CAT) $(DL_DIR)/$(MPFR_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(MPFR_DIR) package/mpfr/ \*.patch
- $(CONFIG_UPDATE) $(MPFR_DIR)
+ $(CONFIG_UPDATE) $(@D)
ifneq ($(MPFR_PATCH),)
( cd $(MPFR_DIR); patch -p1 -N -Z < $(MPFR_PATCH_SOURCE); )
endif