Kaydet (Commit) e1087161 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

export BUILDDIR in config_host.mk to allow partial build

Change-Id: I865a22e48a3125f40de786933ded8a70c0329a39
üst 45ca417b
...@@ -14,7 +14,7 @@ endif ...@@ -14,7 +14,7 @@ endif
SHELL=/usr/bin/env bash SHELL=/usr/bin/env bash
export SRCDIR:=@SRC_ROOT@ export SRCDIR:=@SRC_ROOT@
export BUILDDIR:=$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))) export BUILDDIR:=@BUILDDIR@
.PHONY : $(filter-out $(BUILDDIR)/config_host.mk,$(MAKECMDGOALS)) .PHONY : $(filter-out $(BUILDDIR)/config_host.mk,$(MAKECMDGOALS))
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
# to get them into invoked external configures and override pkg-config there. # to get them into invoked external configures and override pkg-config there.
gb_SPACE:=$(gb_SPACE) $(gb_SPACE) gb_SPACE:=$(gb_SPACE) $(gb_SPACE)
export SRC_ROOT=@SRC_ROOT@ export SRC_ROOT=@SRC_ROOT@
export BUILDDIR=@SRC_ROOT@
export ABOUT_BACKGROUND_SVG=@ABOUT_BACKGROUND_SVG@ export ABOUT_BACKGROUND_SVG=@ABOUT_BACKGROUND_SVG@
export ALIGNOF_DOUBLE=@ALIGNOF_DOUBLE@ export ALIGNOF_DOUBLE=@ALIGNOF_DOUBLE@
......
...@@ -103,6 +103,7 @@ if test "$build_os" = "cygwin"; then ...@@ -103,6 +103,7 @@ if test "$build_os" = "cygwin"; then
fi fi
AC_SUBST(SRC_ROOT) AC_SUBST(SRC_ROOT)
AC_SUBST(BUILDDIR)
AC_SUBST(EXEEXT_FOR_BUILD) AC_SUBST(EXEEXT_FOR_BUILD)
AC_SUBST(x_Cygwin) AC_SUBST(x_Cygwin)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment