summaryrefslogtreecommitdiff
path: root/src/arch/esp8266/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-04-29 12:48:58 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-04-29 12:48:58 +0200
commitf8eb76eea9ec9cd8f799ab9b44251c7f3b945206 (patch)
treeefda177e3dfd5e18e210919a84cb2d9a47f20b31 /src/arch/esp8266/Makefile.inc
parent15b0ce313f7ea33b29700466a2bfeb0bbeaf2704 (diff)
Makefile: Create build directory if needed
Diffstat (limited to 'src/arch/esp8266/Makefile.inc')
-rw-r--r--src/arch/esp8266/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc
index f0f36f9..c1bb621 100644
--- a/src/arch/esp8266/Makefile.inc
+++ b/src/arch/esp8266/Makefile.inc
@@ -47,6 +47,7 @@ endif
${QUIET}${OBJCOPY} --rename-section .text=.irom0.text --rename-section .literal=.irom0.literal $@
build/system.ar: ${OBJECTS}
+ ${QUIET}mkdir -p build
${AR} cru $@ ${OBJECTS}
build/system.elf: build/system.ar