summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
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