summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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