From fd393a4cd5e2df69ac8dce6313b842d3aadaed72 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 24 Feb 2021 11:00:46 +0100 Subject: app makefiles: set CONFIG_* variables where applicable --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Makefile') 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}) -- cgit v1.2.3