What do you think of the patch below? This reuses the HEADER_ARCH variable that uml already needs to setup anyway: diff --git a/arch/um/Kconfig b/arch/um/Kconfig index dd4b67131105..6b9938919f0b 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig @@ -63,7 +63,7 @@ config NR_CPUS range 1 1 default 1 -source "arch/$(SUBARCH)/um/Kconfig" +source "arch/$(HEADER_ARCH)/um/Kconfig" config STATIC_LINK bool "Force a static link" diff --git a/arch/um/Makefile b/arch/um/Makefile index 0207f6316d71..a88b40ee0332 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile @@ -174,4 +174,4 @@ endef include/generated/user_constants.h: $(HOST_DIR)/um/user-offsets.s $(call filechk,gen-asm-offsets) -export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS DEV_NULL_PATH +export HEADER_ARCH USER_CFLAGS CFLAGS_NO_HARDENING OS DEV_NULL_PATH -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html