Skip to contentSkip to conversation

soc: Allow test-building of MediaTek drivers

PATCH New Jean Delvare 3 participants 3 messages Oct 5, 2017 – Oct 20, 2017 Arm MediaTek

lore
Share & tools
lore
#0 lore raw

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.

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
#1 lore raw

PATCH 1/1 soc: Allow test-building of MediaTek drivers

Quoted 7 lines · Jean Delvare

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.

Cc Sean Wang <[email protected]>
Cc Matthias Brugger <[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/
maintainer Applied
#2 lore raw

PATCH 1/1 soc: Allow test-building of MediaTek drivers

In reply to Jean Delvare
Quoted 10 lines · Jean Delvare

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.

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/