Thread (58 messages) 58 messages, 5 authors, 2017-10-24

Re: [PATCH 02/23] drm/sun4i: Realign Makefile padding and reorder it

From: Chen-Yu Tsai <hidden>
Date: 2017-10-17 09:15:21
Also in: dri-devel, linux-arm-kernel, lkml

On Tue, Oct 17, 2017 at 5:06 PM, Maxime Ripard
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
Some options were not padded as they should, and the order in the Makefile
was chaotic. Fix that.

Signed-off-by: Maxime Ripard <redacted>
---
 drivers/gpu/drm/sun4i/Makefile | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/sun4i/Makefile b/drivers/gpu/drm/sun4i/Makefile
index 43c753cafc88..af18b70ba5ed 100644
--- a/drivers/gpu/drm/sun4i/Makefile
+++ b/drivers/gpu/drm/sun4i/Makefile
@@ -1,24 +1,24 @@
-sun4i-drm-y += sun4i_drv.o
-sun4i-drm-y += sun4i_framebuffer.o
+sun4i-backend-y                        += sun4i_backend.o sun4i_layer.o

-sun4i-drm-hdmi-y += sun4i_hdmi_enc.o
-sun4i-drm-hdmi-y += sun4i_hdmi_i2c.o
-sun4i-drm-hdmi-y += sun4i_hdmi_ddc_clk.o
-sun4i-drm-hdmi-y += sun4i_hdmi_tmds_clk.o
+sun4i-drm-y                    += sun4i_drv.o
+sun4i-drm-y                    += sun4i_framebuffer.o

-sun4i-tcon-y += sun4i_tcon.o
-sun4i-tcon-y += sun4i_rgb.o
-sun4i-tcon-y += sun4i_dotclock.o
-sun4i-tcon-y += sun4i_crtc.o
+sun4i-drm-hdmi-y               += sun4i_hdmi_enc.o
+sun4i-drm-hdmi-y               += sun4i_hdmi_i2c.o
+sun4i-drm-hdmi-y               += sun4i_hdmi_ddc_clk.o
+sun4i-drm-hdmi-y               += sun4i_hdmi_tmds_clk.o

-sun4i-backend-y += sun4i_backend.o sun4i_layer.o
+sun4i-tcon-y                   += sun4i_tcon.o
+sun4i-tcon-y                   += sun4i_rgb.o
+sun4i-tcon-y                   += sun4i_dotclock.o
+sun4i-tcon-y                   += sun4i_crtc.o
I don't know if you wanted to sort the file names as well.
This would be a good time to do it.

Otherwise,

Reviewed-by: Chen-Yu Tsai <redacted>
-sun8i-mixer-y += sun8i_mixer.o sun8i_layer.o
+sun8i-mixer-y                  += sun8i_mixer.o sun8i_layer.o

 obj-$(CONFIG_DRM_SUN4I)                += sun4i-drm.o sun4i-tcon.o
 obj-$(CONFIG_DRM_SUN4I)                += sun6i_drc.o
 obj-$(CONFIG_DRM_SUN4I)                += sun4i_tv.o

-obj-$(CONFIG_DRM_SUN4I_BACKEND)                += sun4i-backend.o
+obj-$(CONFIG_DRM_SUN4I_BACKEND)        += sun4i-backend.o
 obj-$(CONFIG_DRM_SUN4I_HDMI)   += sun4i-drm-hdmi.o
-obj-$(CONFIG_DRM_SUN8I_MIXER)          += sun8i-mixer.o
+obj-$(CONFIG_DRM_SUN8I_MIXER)  += sun8i-mixer.o
--
git-series 0.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help