summaryrefslogtreecommitdiffstats
path: root/images/Makefile.rockchip
blob: cdc7772c2e3d0b0636aed20fe950e87af451ecb2 (plain) (blame)
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
30
31
32
33
34
35
36
# 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_RK3568_BPI_R2PRO) += start_rk3568_bpi_r2pro
image-$(CONFIG_MACH_RK3568_BPI_R2PRO) += barebox-rk3568-bpi-r2pro.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-rk3568-bpi-r2pro.img: $(obj)/start_rk3568_bpi_r2pro.pblb \
                $(board)/rockchip-rk3568-bpi-r2pro/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)