diff options
| -rw-r--r-- | arch/arm64/Makefile | 2 | ||||
| -rw-r--r-- | arch/arm64/boot/Makefile | 5 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/Makefile | 5 |
3 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 364191f3be43..fd3d4a1ff419 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile | |||
| @@ -54,7 +54,7 @@ zinstall install: vmlinux | |||
| 54 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ | 54 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ |
| 55 | 55 | ||
| 56 | %.dtb: | 56 | %.dtb: |
| 57 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ | 57 | $(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@ |
| 58 | 58 | ||
| 59 | # We use MRPROPER_FILES and CLEAN_FILES now | 59 | # We use MRPROPER_FILES and CLEAN_FILES now |
| 60 | archclean: | 60 | archclean: |
diff --git a/arch/arm64/boot/Makefile b/arch/arm64/boot/Makefile index eca209b2b0bf..5a0e3ab854a5 100644 --- a/arch/arm64/boot/Makefile +++ b/arch/arm64/boot/Makefile | |||
| @@ -22,9 +22,6 @@ $(obj)/Image: vmlinux FORCE | |||
| 22 | $(obj)/Image.gz: $(obj)/Image FORCE | 22 | $(obj)/Image.gz: $(obj)/Image FORCE |
| 23 | $(call if_changed,gzip) | 23 | $(call if_changed,gzip) |
| 24 | 24 | ||
| 25 | $(obj)/%.dtb: $(src)/dts/%.dts | ||
| 26 | $(call cmd,dtc) | ||
| 27 | |||
| 28 | install: $(obj)/Image | 25 | install: $(obj)/Image |
| 29 | $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ | 26 | $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ |
| 30 | $(obj)/Image System.map "$(INSTALL_PATH)" | 27 | $(obj)/Image System.map "$(INSTALL_PATH)" |
| @@ -32,5 +29,3 @@ install: $(obj)/Image | |||
| 32 | zinstall: $(obj)/Image.gz | 29 | zinstall: $(obj)/Image.gz |
| 33 | $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ | 30 | $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ |
| 34 | $(obj)/Image.gz System.map "$(INSTALL_PATH)" | 31 | $(obj)/Image.gz System.map "$(INSTALL_PATH)" |
| 35 | |||
| 36 | clean-files += *.dtb | ||
diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile new file mode 100644 index 000000000000..801e2d7fcbc6 --- /dev/null +++ b/arch/arm64/boot/dts/Makefile | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | targets += dtbs | ||
| 2 | |||
| 3 | dtbs: $(addprefix $(obj)/, $(dtb-y)) | ||
| 4 | |||
| 5 | clean-files := *.dtb | ||
