diff options
author | Tomasz Maciej Nowak <tomek_n@o2.pl> | 2018-02-14 17:28:09 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-03-02 21:33:07 +0100 |
commit | e4fa22397f0844481ed260ed599ff3851d30b71f (patch) | |
tree | 17b3d4f4db8a7126fd838b58c4ddf002b2856a3d /target/linux/mvebu/image/Makefile | |
parent | e10ea566cc8fcf51ef0bceff05db374fae8f7e12 (diff) | |
download | upstream-e4fa22397f0844481ed260ed599ff3851d30b71f.tar.gz upstream-e4fa22397f0844481ed260ed599ff3851d30b71f.tar.bz2 upstream-e4fa22397f0844481ed260ed599ff3851d30b71f.zip |
mvebu: make sdcard bootloader option configurable
Remove the necessity for boot loader from SD card image creation process
and make it configurable.
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'target/linux/mvebu/image/Makefile')
-rw-r--r-- | target/linux/mvebu/image/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index a78269bf1f..1f490905ff 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -44,10 +44,11 @@ define Build/boot-img endef define Build/sdcard-img + if [ -n "$(UBOOT)" ]; then UBOOT="$(STAGING_DIR_IMAGE)/$(UBOOT)"; fi; \ ROOTFS_SIZE=$$(( $(CONFIG_TARGET_ROOTFS_PARTSIZE) * 1024 * 2 )); \ SIGNATURE="$(SIGNATURE)" \ ./gen_mvebu_sdcard_img.sh $@ \ - "$(STAGING_DIR_IMAGE)/clearfog-u-boot-spl.kwb" \ + $$UBOOT \ c 32768 $@.boot \ 83 $$ROOTFS_SIZE $(IMAGE_ROOTFS) endef @@ -206,6 +207,7 @@ define Device/armada-388-clearfog-pro IMAGE/sdcard.img.gz := boot-scr-cfpro | boot-img | sdcard-img | gzip | append-metadata DEVICE_DTS := armada-388-clearfog-pro armada-388-clearfog-base SUPPORTED_DEVICES := armada-388-clearfog-pro armada-388-clearfog + UBOOT := clearfog-u-boot-spl.kwb endef TARGET_DEVICES += armada-388-clearfog-pro @@ -217,6 +219,7 @@ define Device/armada-388-clearfog-base IMAGES := sdcard.img.gz IMAGE/sdcard.img.gz := boot-scr-cfbase | boot-img | sdcard-img | gzip | append-metadata DEVICE_DTS := armada-388-clearfog-pro armada-388-clearfog-base + UBOOT := clearfog-u-boot-spl.kwb endef TARGET_DEVICES += armada-388-clearfog-base |