summaryrefslogtreecommitdiffstats
path: root/images/Makefile.rockchip
blob: 0a485cad24d11ed62142b88fd39f4f9abe542c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-License-Identifier: GPL-2.0-only
#
# barebox image generation Makefile for Rockchip images
#

pblb-$(CONFIG_MACH_RADXA_ROCK) += start_radxa_rock
FILE_barebox-radxa-rock.img = start_radxa_rock.pblb
image-$(CONFIG_MACH_RADXA_ROCK) += barebox-radxa-rock.img

pblb-$(CONFIG_MACH_PHYTEC_SOM_RK3288) += start_rk3288_phycore_som
FILE_barebox-rk3288-phycore-som.img = start_rk3288_phycore_som.pblb
image-$(CONFIG_MACH_PHYTEC_SOM_RK3288) += barebox-rk3288-phycore-som.img

pblb-$(CONFIG_MACH_RK3568_EVB) += start_rk3568_evb
image-$(CONFIG_MACH_RK3568_EVB) += barebox-rk3568-evb.img

pblb-$(CONFIG_MACH_PINE64_QUARTZ64) += start_quartz64a
image-$(CONFIG_MACH_PINE64_QUARTZ64) += barebox-quartz64a.img

quiet_cmd_rkimg_image = RK-IMG $@
      cmd_rkimg_image = $(objtree)/scripts/rkimage -o $@ $(word 2,$^) $(word 1,$^)

$(obj)/barebox-rk3568-evb.img: $(obj)/start_rk3568_evb.pblb \
                $(board)/rockchip-rk3568-evb/sdram-init.bin
	$(call if_changed,rkimg_image)

$(obj)/barebox-quartz64a.img: $(obj)/start_quartz64a.pblb \
                $(board)/pine64-quartz64/sdram-init.bin
	$(call if_changed,rkimg_image)