Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

define $(RM) in Makefiles

In case make does not predefine it, eg. BSD make.

Signed-off-by: Michael Walle <michael@walle.cc>
  • Loading branch information...
commit 57d998d38fa1cd77c1c5eed72f079aaa2b0b0721 1 parent 68d407f
@mwalle mwalle authored
Showing with 7 additions and 0 deletions.
  1. +4 −0 test/Makefile
  2. +3 −0  test/unittests/Makefile
View
4 test/Makefile
@@ -10,6 +10,10 @@ EXTRA_DEFINES ?=
CC = $(CROSS_COMPILE)gcc
OBJCOPY = $(CROSS_COMPILE)objcopy
+
+# in case make does not have this already defined
+RM ?= rm -f
+
LDFLAGS = -Tlinker.ld -fno-builtin -nostdlib -lgcc
RTL ?= ../rtl
View
3  test/unittests/Makefile
@@ -7,6 +7,9 @@ SIZE = $(CROSS_COMPILE)size
LD = $(CC)
OBJCOPY = $(CROSS_COMPILE)objcopy
+# in case make does not have this already defined
+RM ?= rm -f
+
LDFLAGS = -Tlinker.ld -nostdlib -lgcc
ASFLAGS += -Wa,-I,.
Please sign in to comment.
Something went wrong with that request. Please try again.