diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-01-31 20:44:25 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-01-31 21:43:59 +0200 |
commit | c5b1441ede3c58f1fe92372cbb48864f9d4df6ec (patch) | |
tree | c86b771e67121fe3ff1711f403bd633c02e93ec4 /Makefile.in | |
parent | 0e63a97066a817f3d01b40d99e3e1ed831ae3598 (diff) |
Use separate config_*.h files for BUILD and HOST when cross-compiling
We have only been lucky so far that there hasn't been any compilation errors
caused by using the HOST platform config_*.h files also for the BUILD
platform. But as more and more information found out during configury is
stored in config_*.h files, sooner or later it will be a problem.
Move config/* to config_host/*. When not cross-compiling, the config_*.h files
in config_host expanded from config_*.h.in are all there is. When
cross-compiling, the generated config_*.h files for the BUILD platform are
put into a config_build folder.
Then use config_build when building the cross_toolset and config_host
otherwise.
Change-Id: I3c28cc83866bffd696b45d00dfb68e00bc2ae538
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index c28ca6bd3e03..a4e57105142b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -46,7 +46,7 @@ else # MAKE_RESTARTS all: build ifeq ($(gb_Side),) -gb_Side:=host +export gb_Side:=host endif include $(BUILDDIR)/config_$(gb_Side).mk |