mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Revert "sys/arduino: work around llvm-ar bug."
This reverts commit 72f934f13d
.
Not required anymore as 'ar' is not executed in the object directory
anymore.
This commit is contained in:
parent
a581c2c8ce
commit
a1f0651170
@ -2,7 +2,7 @@
|
||||
|
||||
# Define application sketches module, it will be generated into $(BINDIR)
|
||||
SKETCH_MODULE ?= arduino_sketches
|
||||
SKETCH_MODULE_DIR ?= $(BINDIR)/$(SKETCH_MODULE)_src
|
||||
SKETCH_MODULE_DIR ?= $(BINDIR)/$(SKETCH_MODULE)
|
||||
SKETCHES = $(wildcard $(APPDIR)/*.sketch)
|
||||
include $(RIOTBASE)/sys/arduino/sketches.inc.mk
|
||||
|
||||
|
@ -19,8 +19,7 @@ SKETCH_GENERATED_FILES = $(SKETCH_MODULE_DIR)/Makefile $(SKETCH_MODULE_DIR)/$(SK
|
||||
# Building the module files
|
||||
# Do not use $^ in receipes as Makefile is also a prerequisite
|
||||
$(SKETCH_MODULE_DIR)/Makefile: $(SKETCH_MODULE_DIR)/$(SKETCH_CPP)
|
||||
$(Q)echo 'MODULE = $(SKETCH_MODULE)' > $@
|
||||
$(Q)echo 'SRCXX = $(SKETCH_CPP)' >> $@
|
||||
$(Q)echo 'SRCXX = $(SKETCH_CPP)' > $@
|
||||
$(Q)echo 'include $$(RIOTBASE)/Makefile.base' >> $@
|
||||
$(SKETCH_MODULE_DIR)/$(SKETCH_CPP): $(SKETCHES_ALL)
|
||||
@mkdir -p $(@D)
|
||||
|
Loading…
Reference in New Issue
Block a user