mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
fix chronos bindir creation
This commit is contained in:
parent
33557e1033
commit
138c1c0e71
@ -15,7 +15,6 @@ all: $(BINDIR)$(ARCH)
|
||||
$(MAKE) -C drivers
|
||||
|
||||
$(BINDIR)$(ARCH): $(OBJ)
|
||||
mkdir -p $(BINDIR)
|
||||
$(AR) rcs $(BINDIR)$(ARCH) $(OBJ)
|
||||
|
||||
# pull in dependency info for *existing* .o files
|
||||
@ -23,6 +22,7 @@ $(BINDIR)$(ARCH): $(OBJ)
|
||||
|
||||
# compile and generate dependency info
|
||||
$(BINDIR)%.o: %.c
|
||||
mkdir -p $(BINDIR)
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -c $*.c -o $(BINDIR)$*.o
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -MM $*.c > $(BINDIR)$*.d
|
||||
@printf "$(BINDIR)"|cat - $(BINDIR)$*.d > /tmp/fw_out && mv /tmp/fw_out $(BINDIR)$*.d
|
||||
|
Loading…
Reference in New Issue
Block a user