Skip to content

Commit

Permalink
software: unbreak cargo builds with V=1.
Browse files Browse the repository at this point in the history
whitequark committed Feb 5, 2017
1 parent 4cb4cf2 commit c3bdb33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misoc/software/common.mak
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ endif
AR_normal := $(TARGET_PREFIX)ar
LD_normal := $(TARGET_PREFIX)ld
OBJCOPY_normal := $(TARGET_PREFIX)objcopy
CARGO_normal := env CARGO_TARGET_DIR=$(realpath .)/cargo cargo
CARGO_normal := env CARGO_TARGET_DIR=$(realpath .)/cargo cargo build --target $(CARGO_TRIPLE)

CC_quiet = @echo " CC " $@ && $(CC_normal)
CX_quiet = @echo " CX " $@ && $(CX_normal)
@@ -64,5 +64,5 @@ $(CC) -c $(CFLAGS) -o $@ $<
endef

define cargo
$(CARGO) build --target $(CARGO_TRIPLE)
$(CARGO)
endef

0 comments on commit c3bdb33

Please sign in to comment.