build: VPATH is not needed.
This commit is contained in:
parent
d5b4ec76cb
commit
ad688c18a4
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -45,7 +45,7 @@ out: FORCE
|
|||
+mkdir -p out/$(mcu)/$(level)/$(target)
|
||||
|
||||
target: FORCE out
|
||||
$(MAKE) VPATH=$(ROOT)/src -C out/$(mcu)/$(level)/$(target) -f $(ROOT)/Rules.mk target.bin target.hex target.dfu $(mcu)=y $(level)=y $(target)=y
|
||||
$(MAKE) -C out/$(mcu)/$(level)/$(target) -f $(ROOT)/Rules.mk target.bin target.hex target.dfu $(mcu)=y $(level)=y $(target)=y
|
||||
|
||||
HXC_FF_URL := https://www.github.com/keirf/flashfloppy-hxc-file-selector
|
||||
HXC_FF_URL := $(HXC_FF_URL)/releases/download
|
||||
|
|
|
|||
2
Rules.mk
2
Rules.mk
|
|
@ -74,7 +74,7 @@ build.o: $(OBJS)
|
|||
|
||||
%/build.o: FORCE
|
||||
+mkdir -p $*
|
||||
$(MAKE) VPATH=$(VPATH)/$* -f $(ROOT)/Rules.mk -C $* build.o
|
||||
$(MAKE) -f $(ROOT)/Rules.mk -C $* build.o
|
||||
|
||||
%.ld: $(SRCDIR)/%.ld.S $(SRCDIR)/Makefile
|
||||
@echo CPP $@
|
||||
|
|
|
|||
Loading…
Reference in a new issue