kconfig: Use HOST_OS environment variable in Makefile
Since the root Makefile already provides a HOST_OS environment variable that is exported by using uname, make use of it in the Kconfig Makefile. Change-Id: I13655a5295bbcd9f2fdfa8b6309634c1ab143f70 Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
769e2541d1
commit
8081fd3cf8
1 changed files with 1 additions and 2 deletions
|
@ -11,8 +11,7 @@ else
|
||||||
Kconfig := Kconfig
|
Kconfig := Kconfig
|
||||||
endif
|
endif
|
||||||
|
|
||||||
UNAME := $(shell uname)
|
ifeq ($(HOST_OS),MINGW)
|
||||||
ifeq (MINGW, $(findstring MINGW, $(UNAME)))
|
|
||||||
HOST_LOADLIBES ?= -lregex
|
HOST_LOADLIBES ?= -lregex
|
||||||
export HOST_LOADLIBES
|
export HOST_LOADLIBES
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue