Bringing WiFi to the Cidco Mailstation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: Try to find objcopy on macOS

+9 -2
+9 -2
mailstation/GNUmakefile
··· 5 5 6 6 CFLAGS += -Wall 7 7 8 + UNAME_S := $(shell uname -s) 9 + 10 + OBJCOPY ?= objcopy 11 + ifeq ($(UNAME_S),Darwin) 12 + OBJCOPY = /opt/homebrew/Cellar/llvm/*/bin/llvm-objcopy 13 + endif 14 + 8 15 all: wsloader.bin flashloader.bin 9 16 10 17 clean: ··· 18 25 $(SDCC) --no-std-crt0 -o $@ $< 19 26 20 27 wsloader.bin: wsloader.ihx 21 - objcopy -Iihex -Obinary $< $@ 28 + $(OBJCOPY) -Iihex -Obinary $< $@ 22 29 hexdump -C $@ 23 30 24 31 # dataflash loader ··· 29 36 $(SDCC) --no-std-crt0 -o $@ $< 30 37 31 38 flashloader.bin: flashloader.ihx 32 - objcopy -Iihex -Obinary $< $@ 39 + $(OBJCOPY) -Iihex -Obinary $< $@