From 395cbb4f9702df56493f4684a3b51e8c28d08199 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 6 Nov 2018 22:09:18 +0100 Subject: mb/*/*/Kconfig: Use CONFIG_VARIANT_DIR for devicetree Change-Id: Ic9620cfa1630c7c085b6c244ca80dc023a181e30 Signed-off-by: Peter Lemenkov Reviewed-on: https://review.coreboot.org/29595 Tested-by: build bot (Jenkins) Reviewed-by: Elyes HAOUAS Reviewed-by: Werner Zeh --- src/mainboard/lenovo/t520/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mainboard/lenovo/t520') diff --git a/src/mainboard/lenovo/t520/Kconfig b/src/mainboard/lenovo/t520/Kconfig index 79455e2dda..6bc5884d4f 100644 --- a/src/mainboard/lenovo/t520/Kconfig +++ b/src/mainboard/lenovo/t520/Kconfig @@ -37,8 +37,7 @@ config MAINBOARD_DIR config DEVICETREE string - default "variants/t520/devicetree.cb" if BOARD_LENOVO_T520 - default "variants/w520/devicetree.cb" if BOARD_LENOVO_W520 + default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" config MAINBOARD_PART_NUMBER string -- cgit v1.2.3