Quellcode durchsuchen

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 <[email protected]>
Christian Marangi vor 2 Jahren
Ursprung
Commit
e854dcaef3
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      tools/mpc/Makefile

+ 2 - 2
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)