summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-06-04 10:46:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-09 12:20:05 +0200
commit550cfbc917c9d48110e6e4e7c348e928fa69a4c6 (patch)
treefb560b6c80eb2f46ba8cc2f433537584a1a1f962
parent03a4f384493ea04dd5c7c86f6e1d47141e89fd52 (diff)
downloadbarebox-550cfbc917c9d48110e6e4e7c348e928fa69a4c6.tar.gz
barebox-550cfbc917c9d48110e6e4e7c348e928fa69a4c6.tar.xz
kbuild: add ARCH=um alias for sandbox
ARCH=um (User Mode) is the Linux kernel counterpart to our sandbox architecture. Add um as an alias, so we can interoperate with tools that handle ARCH=um specially. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210604084704.17410-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3b7dbd4c77..a1411386f1 100644
--- a/Makefile
+++ b/Makefile
@@ -356,6 +356,10 @@ ifeq ($(ARCH),ppc)
SRCARCH := powerpc
endif
+ifeq ($(ARCH),um)
+ SRCARCH := sandbox
+endif
+
KCONFIG_CONFIG ?= .config
export KCONFIG_CONFIG