Fix compilation under MacOSX

This commit is contained in:
Gabriele Gristina
2019-07-10 18:43:19 +02:00
parent 77c5e28bce
commit 563050c8ba
6 changed files with 41 additions and 6 deletions

View File

@@ -43,15 +43,13 @@ TARFLAGS = -C .. -rvf
# amount of shell command line parsing going on. echo "" on
# Windows yields literal "", on Linux yields an empty line
ifeq ($(shell echo ""),)
# This is probably a proper system, so we can use uname
UNAME := $(shell uname)
DELETE=rm -rf
MOVE=mv
COPY=cp
PATHSEP=/
FLASH_TOOL=client/flasher
DETECTED_OS=$(UNAME)
# This is probably a proper system, so we can use uname
DETECTED_OS=$(platform)
else
# Assume that we are running on Windows.