[openwrt/openwrt] tools/mpc: use STAGING_DIR_HOST instead of hardcoding default
LEDE Commits
lede-commits at lists.infradead.org
Mon Jan 9 12:33:28 PST 2023
ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e854dcaef37cdb59109448889e9da9358591748a
commit e854dcaef37cdb59109448889e9da9358591748a
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Fri Dec 2 20:13:06 2022 +0100
tools/mpc: use STAGING_DIR_HOST instead of hardcoding default
Use STAGING_DIR_HOST to reference the staging dir for host tools instead
of hardcoding it to the default location.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
tools/mpc/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/mpc/Makefile b/tools/mpc/Makefile
index 5c196a27ef..97e94291cb 100644
--- a/tools/mpc/Makefile
+++ b/tools/mpc/Makefile
@@ -22,8 +22,8 @@ unexport CFLAGS
HOST_CONFIGURE_ARGS += \
--enable-static \
--disable-shared \
- --with-mpfr=$(TOPDIR)/staging_dir/host \
- --with-gmp=$(TOPDIR)/staging_dir/host
+ --with-mpfr=$(STAGING_DIR_HOST) \
+ --with-gmp=$(STAGING_DIR_HOST)
define Host/Uninstall
-$(call Host/Compile/Default,uninstall)
More information about the lede-commits
mailing list