clean common_arm/Makefile.common

This commit is contained in:
Philippe Teuwen 2019-08-30 21:38:12 +02:00
parent 4d31b2399b
commit dbc9865c36

View file

@ -40,28 +40,11 @@ INCLUDE = -I../include -I../common_arm -I../common_fpga -I../common -I.
TAR=tar
TARFLAGS = -C .. -rvf
# Windows' echo echos its input verbatim, on Posix there is some
# amount of shell command line parsing going on. echo "" on
# Windows yields literal "", on Linux yields an empty line
ifeq ($(shell echo ""),)
DELETE=rm -rf
MOVE=mv
COPY=cp
PATHSEP=/
FLASH_TOOL=client/flasher
# This is probably a proper system, so we can use uname
DETECTED_OS=$(platform)
else
# Assume that we are running on Windows.
DELETE=del /q
MOVE=ren
COPY=copy
PATHSEP=\\#
FLASH_TOOL=client\\flasher.exe
DETECTED_OS=Windows
endif
# Also search prerequisites in the common directory (for usb.c), the fpga directory (for fpga.bit), and the zlib directory
VPATH = . ../common_arm ../common ../common/crapto1 ../common/mbedtls ../common/zlib ../fpga ../armsrc/Standalone