From f6e792c6b91b4e32634a18188e3184f716894fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Tue, 7 Jul 2020 17:37:38 +0200 Subject: [PATCH] d/rules: Download firmware and use imx targets Hardcoded for the moment. --- debian/rules | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 5cafdbf0e0..a56faba561 100755 --- a/debian/rules +++ b/debian/rules @@ -93,9 +93,17 @@ build-targets: configs/novena-rawsd_defconfig configs/am335x_boneblack_defconfig *) ;; \ esac;\ mkdir -p $$builddir; \ + case $$platform in \ + librem5*)\ + debian/bin/fetch-imx-firmware $$builddir;\ + debian/bin/fetch-imx-firmware .;\ + ;;\ + esac;\ $(MAKE) V=$(VERBOSE) O=$$builddir $${platform}_defconfig; \ sed -i -e 's,CONFIG_FIT_SIGNATURE=y,# CONFIG_FIT_SIGNATURE is not set,g' $$builddir/.config; \ - $(MAKE) V=$(VERBOSE) $(DEB_UBOOT_FLAGS) O=$$builddir $${maketargets}; \ + $(MAKE) V=$(VERBOSE) $(DEB_UBOOT_FLAGS) O=$$builddir; \ + $(MAKE) V=$(VERBOSE) $(DEB_UBOOT_FLAGS) O=$$builddir flash.bin; \ + $(MAKE) V=$(VERBOSE) $(DEB_UBOOT_FLAGS) O=$$builddir u-boot.imx; \ case "$$targets" in \ *uboot.elf*) \ install -m 644 $$builddir/u-boot $$builddir/uboot.elf; \ -- GitLab