diff options
-rw-r--r-- | arch/mips/Kconfig | 3 | ||||
-rw-r--r-- | arch/mips/Makefile | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 06a516d70f..c2c555dc37 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -22,6 +22,9 @@ config GENERIC_LINKER_SCRIPT bool default y +config HAS_NO_BOARD_HL_CODE + bool + menu "Machine selection" config BUILTIN_DTB diff --git a/arch/mips/Makefile b/arch/mips/Makefile index dd5ceea200..ecc91111bf 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -124,7 +124,11 @@ else MACH := endif -common-y += $(BOARD) $(MACH) +ifndef CONFIG_HAS_NO_BOARD_HL_CODE +common-y += $(BOARD) +endif + +common-y += $(MACH) common-y += arch/mips/lib/ common-y += arch/mips/boot/ |