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@gmail.com>
This commit is contained in:
Christian Marangi 2022-12-02 20:13:06 +01:00
parent 7b56ca399a
commit e854dcaef3
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ unexport CFLAGS
HOST_CONFIGURE_ARGS += \ HOST_CONFIGURE_ARGS += \
--enable-static \ --enable-static \
--disable-shared \ --disable-shared \
--with-mpfr=$(TOPDIR)/staging_dir/host \ --with-mpfr=$(STAGING_DIR_HOST) \
--with-gmp=$(TOPDIR)/staging_dir/host --with-gmp=$(STAGING_DIR_HOST)
define Host/Uninstall define Host/Uninstall
-$(call Host/Compile/Default,uninstall) -$(call Host/Compile/Default,uninstall)