summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-04-30 09:40:09 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-04-30 09:40:09 +0200
commitaf703ff647668bd0f2a088fc4335ae8b5f88c7f9 (patch)
treeb567dba8fe53823b6a3d18ee04a583d126756f1f /Makefile
parentb956db43523f7e6c45e9ad759b0a4c70813d443d (diff)
Makefile: Create an empty .config if neededHEADmain
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a5fde65..619d6c3 100644
--- a/Makefile
+++ b/Makefile
@@ -269,6 +269,11 @@ endif
default: build/system.elf
+# When running ./mp arch=... app=..., a .config file is not needed.
+# Create an empty one if it does not exist yet.
+.config:
+ touch .config
+
include/config.h: .config
${QUIET}test -z "${app}" && awk -f script/conf2h.awk .config > include/config.h || : > include/config.h