瀏覽代碼

Makefile: Adapt to open source spl_tool

Open source spl_tool provides the basic spl-hdr function to ensure
that bootrom can be correctly recognized and loaded.

Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Samin Guo 1 年之前
父節點
當前提交
ada3e8bd6f
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile
  2. 二進制
      genimage_generic

+ 1 - 1
Makefile

@@ -486,7 +486,7 @@ sdimg: $(buildroot_rootfs_ext)
 	@./genimage.sh
 
 img: sdimg
-	@./genimage_generic
+	$(wrkdir)/$(spl_tool) -i -f $(wrkdir)/sdcard.img
 
 #usb config
 format-usb-disk: $(sbi_bin) $(uboot) $(fit) $(vfat_image)

二進制
genimage_generic