Browse Source

mvebu: unset uboot build by default

Initialise the UBOOT variable by default. Otherwise it will be
unintended inherit to following images if set and causes an uboot build
where not required.

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin 7 years ago
parent
commit
2d67ef8638
2 changed files with 2 additions and 1 deletions
  1. 2 0
      target/linux/mvebu/image/Makefile
  2. 0 1
      target/linux/mvebu/image/cortex-a9.mk

+ 2 - 0
target/linux/mvebu/image/Makefile

@@ -87,7 +87,9 @@ define Device/Default
   KERNEL_NAME := zImage
   KERNEL_NAME := zImage
   KERNEL := kernel-bin | append-dtb | uImage none
   KERNEL := kernel-bin | append-dtb | uImage none
   SUPPORTED_DEVICES = $$(DEVICE_DTS)
   SUPPORTED_DEVICES = $$(DEVICE_DTS)
+  UBOOT :=
 endef
 endef
+DEVICE_VARS += UBOOT
 
 
 define Device/UBI
 define Device/UBI
   IMAGES := sysupgrade.bin
   IMAGES := sysupgrade.bin

+ 0 - 1
target/linux/mvebu/image/cortex-a9.mk

@@ -158,7 +158,6 @@ define Device/turris-omnia
   IMAGE/omnia-medkit-$$(IMAGE_PREFIX)-initramfs.tar.gz := omnia-medkit-initramfs | gzip
   IMAGE/omnia-medkit-$$(IMAGE_PREFIX)-initramfs.tar.gz := omnia-medkit-initramfs | gzip
   IMAGE_NAME = $$(2)
   IMAGE_NAME = $$(2)
   DEVICE_DTS := armada-385-turris-omnia
   DEVICE_DTS := armada-385-turris-omnia
-  UBOOT :=
 endef
 endef
 TARGET_DEVICES += turris-omnia
 TARGET_DEVICES += turris-omnia