summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-02-24 11:00:46 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2021-02-24 11:00:46 +0100
commitfd393a4cd5e2df69ac8dce6313b842d3aadaed72 (patch)
treee0588d11517fdf331aba4ca6ed7bcb7c5e867431 /Makefile
parent5f3c3ed47e125c74d577da65c5ee3ffa951fbda5 (diff)
app makefiles: set CONFIG_* variables where applicable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 369d26c..d45e8be 100644
--- a/Makefile
+++ b/Makefile
@@ -5,14 +5,11 @@
# Only load .config when app/arch are not specified on commandline
ifneq (${app}, )
CONFIG_app = ${app}
+ CONFIG_arch = ${arch}
else
-include .config
endif
-ifneq (${arch}, )
- CONFIG_arch = ${arch}
-endif
-
# Make cannot include "foo"/Makefile.inc, so remove quotes from config entries
quote="
app_dir = $(subst ${quote},,${CONFIG_app})