]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipc-examples.git/commitdiff
example: Update makefile to remove "tr" usage 3.43.01.03
authorSam Nelson <sam.nelson@ti.com>
Mon, 27 Jun 2016 23:30:14 +0000 (19:30 -0400)
committerSam 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>
src/examples/makefile [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index d27fd6b..f51d0b7
@@ -43,12 +43,12 @@ include $(IPC_INSTALL_DIR)/products.mak
 # 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
 
@@ -78,11 +78,8 @@ else
     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