Browse Source

make sure OBJDIR doesn't match CURDIR..

irr_shared
John-Mark Gurney 2 years ago
parent
commit
4a4ef7b580
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Makefile

+ 4
- 0
Makefile View File

@@ -30,6 +30,10 @@ ARMTARGET?= -mcpu=cortex-m3 -mthumb -DSTROBE_SINGLE_THREAD=1
#ARMCC?=clang-mp-9.0
#ARMTARGET?= -nostdlib -ffreestanding -target arm-none-eabi -mcpu=cortex-m3 -mfloat-abi=soft -mthumb

.if $(.OBJDIR) == $(.CURDIR)
.error Need to set MAKEOBJDIR.
.endif

PLATFORM != uname -s

.if $(PLATFORM) == "Darwin"


Loading…
Cancel
Save