soc: Allow test-building of MediaTek drivers
PATCH 1/1 soc: Allow test-building of MediaTek drivers
The COMPILE_TEST alternative dependency allows test-building the drivers but only as long as the build system itself will look into the directory where the drivers reside.
Signed-off-by Jean Delvare <[email protected]>
Cc Sean Wang <[email protected]>
Cc Matthias Brugger <[email protected]>
--- drivers/soc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/Makefile +1 -1
@@ -10,7 +10,7 @@ obj-$(CONFIG_MACH_DOVE) += dove/ obj-y += fsl/ obj-$(CONFIG_ARCH_MXC) += imx/ obj-$(CONFIG_SOC_XWAY) += lantiq/ -obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/ +obj-y += mediatek/ obj-$(CONFIG_ARCH_MESON) += amlogic/ obj-$(CONFIG_ARCH_QCOM) += qcom/ obj-y += renesas/
Signature · 2 lines
Jean Delvare SUSE L3 Support
PATCH 1/1 soc: Allow test-building of MediaTek drivers
Quoted 7 lines · Jean Delvare
The
COMPILE_TESTalternative dependency allows test-building the drivers but only as long as the build system itself will look into the directory where the drivers reside.Signed-off-by Jean Delvare <[email protected]>Cc Sean Wang <[email protected]>Cc Matthias Brugger <[email protected]>
Acked-by Sean Wang <[email protected]>
Quoted 17 lines
--- drivers/soc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/soc/Makefile +1
-1@@ -10,7 +10,7 @@ obj-$(CONFIG_MACH_DOVE) += dove/ obj-y += fsl/ obj-$(CONFIG_ARCH_MXC) += imx/ obj-$(CONFIG_SOC_XWAY) += lantiq/ -obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/ +obj-y += mediatek/ obj-$(CONFIG_ARCH_MESON) += amlogic/ obj-$(CONFIG_ARCH_QCOM) += qcom/ obj-y += renesas/
PATCH 1/1 soc: Allow test-building of MediaTek drivers
In reply to Jean DelvareQuoted 10 lines · Jean Delvare
The
COMPILE_TESTalternative dependency allows test-building the drivers but only as long as the build system itself will look into the directory where the drivers reside.Signed-off-by Jean Delvare <[email protected]>Cc Sean Wang <[email protected]>Cc Matthias Brugger <[email protected]>--- drivers/soc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Pushed to v4.14-next/soc
Thanks!
Quoted 14 lines
drivers/soc/Makefile +1
-1@@ -10,7 +10,7 @@ obj-$(CONFIG_MACH_DOVE) += dove/ obj-y += fsl/ obj-$(CONFIG_ARCH_MXC) += imx/ obj-$(CONFIG_SOC_XWAY) += lantiq/ -obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/ +obj-y += mediatek/ obj-$(CONFIG_ARCH_MESON) += amlogic/ obj-$(CONFIG_ARCH_QCOM) += qcom/ obj-y += renesas/