From af703ff647668bd0f2a088fc4335ae8b5f88c7f9 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 30 Apr 2025 09:40:09 +0200 Subject: Makefile: Create an empty .config if needed --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3