Unverified Commit af703ff6 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Makefile: Create an empty .config if needed

parent b956db43
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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