Commit f6e792c6 authored by Guido Gunther's avatar Guido Gunther

d/rules: Download firmware and use imx targets

Hardcoded for the moment.
parent 4b9935bc
......@@ -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; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment