build: Makefile should reference CONFIG_HOST_xxx

instead to detect the host through uname

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-10-26 01:26:55 +08:00
committed by Brennan Ashton
parent 1fab9ad6da
commit 9097244cb8
10 changed files with 14 additions and 22 deletions
@@ -40,7 +40,7 @@ else
endif
ifeq ($(OLDGCC),n)
ifneq ($(HOSTOS),Cygwin)
ifneq ($(CONFIG_WINDOWS_CYGWIN),y)
OBJCOPYARGS = -R .note -R .note.gnu.build-id -R .comment
endif
endif