mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
Makefile: dtb makefile update [1/1]
PD#SWPL-9776 Problem: let dtb make comptabile with below ways: make ARCH=arm meson-g12a-u200.dtb make ARCH=arm amlogic/meson-g12a-u200.dtb Solution: modify makefile Verify: w400 Change-Id: Ic2bb196f67c632cdc9acae61645fe3dd45c7bb1a Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
This commit is contained in:
@@ -339,6 +339,9 @@ $(BOOT_TARGETS): vmlinux
|
||||
$(INSTALL_TARGETS):
|
||||
$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
|
||||
|
||||
amlogic/%.dtb: | scripts
|
||||
$(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@
|
||||
|
||||
%.dtb: | scripts
|
||||
$(Q)$(MAKE) $(build)=$(boot)/dts/amlogic MACHINE=$(MACHINE) $(boot)/dts/amlogic/$@
|
||||
ifeq ($(CONFIG_AMLOGIC_MODIFY),y)
|
||||
|
||||
@@ -144,6 +144,9 @@ Image.%: Image
|
||||
zinstall install:
|
||||
$(Q)$(MAKE) $(build)=$(boot) $@
|
||||
|
||||
amlogic/%.dtb: scripts
|
||||
$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
|
||||
|
||||
%.dtb: scripts
|
||||
$(Q)$(MAKE) $(build)=$(boot)/dts/amlogic $(boot)/dts/amlogic/$@
|
||||
ifeq ($(CONFIG_AMLOGIC_MODIFY),y)
|
||||
|
||||
Reference in New Issue
Block a user