summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c2324cd)
raw | patch | inline | side by side (parent: c2324cd)
author | Sam Nelson <sam.nelson@ti.com> | |
Mon, 27 Jun 2016 23:30:14 +0000 (19:30 -0400) | ||
committer | Sam Nelson <sam.nelson@ti.com> | |
Mon, 27 Jun 2016 23:30:14 +0000 (19:30 -0400) |
-tr usage causes issue when building with windows host
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
src/examples/makefile | [changed mode: 0644->0755] | patch | blob | history |
diff --git a/src/examples/makefile b/src/examples/makefile
--- a/src/examples/makefile
+++ b/src/examples/makefile
# If we see KERNEL_INSTALL_DIR set, we assume Linux, else if we see
# QNX_INSTALL_DIR set, we assume Qnx, else we assume Bios.
ifneq ("$(KERNEL_INSTALL_DIR)","")
- HOSTOS = Linux
+ HOSTOS = linux
else
ifneq ("$(QNX_INSTALL_DIR)","")
- HOSTOS = Qnx
+ HOSTOS = qnx
else
- HOSTOS = Bios
+ HOSTOS = bios
endif
endif
MKSH = SH
endif
-ifeq ("$(MKSH)","SH")
- EXHOSTOS := $(shell echo $(HOSTOS) | tr A-Z a-z)
-else
- EXHOSTOS = $(HOSTOS)
-endif
+
+EXHOSTOS = $(HOSTOS)
# Only elf supported now
EXLDR = elf