summaryrefslogtreecommitdiffstats
path: root/arch/csky/Makefile
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2018-10-30 18:46:47 +0800
committerGuo Ren <ren_guo@c-sky.com>2018-11-01 10:52:27 +0800
commite8d0c9a726cd1eae410148fcc6a1db23019f0334 (patch)
treecc7043cc67d65213fff7c5f3f5f434ed279630b5 /arch/csky/Makefile
parentc4c14c3bd177ea769fee938674f73a8ec0cdd47a (diff)
downloadlinux-e8d0c9a726cd1eae410148fcc6a1db23019f0334.tar.gz
linux-e8d0c9a726cd1eae410148fcc6a1db23019f0334.tar.bz2
linux-e8d0c9a726cd1eae410148fcc6a1db23019f0334.zip
csky: use common dtb build rules
Remove the Kbuild rules in arch/csky and use common dtb build rules. This modification is based on: commit 37c8a5fafa3b ("kbuild: consolidate Devicetree dtb build rules") Signed-off-by: Guo Ren <ren_guo@c-sky.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/Makefile')
-rw-r--r--arch/csky/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/csky/Makefile b/arch/csky/Makefile
index 91f72224f4b9..c639fc167895 100644
--- a/arch/csky/Makefile
+++ b/arch/csky/Makefile
@@ -69,20 +69,11 @@ core-y += $(boot)/dts/
all: zImage
-
-dtbs: scripts
- $(Q)$(MAKE) $(build)=$(boot)/dts
-
-%.dtb %.dtb.S %.dtb.o: scripts
- $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
-
-zImage Image uImage: vmlinux dtbs
+zImage Image uImage: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
archclean:
$(Q)$(MAKE) $(clean)=$(boot)
- $(Q)$(MAKE) $(clean)=$(boot)/dts
- rm -rf arch/csky/include/generated
define archhelp
echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)'