From f43c2def652f91f584ec6acfc3ee99d54d5f19ab Mon Sep 17 00:00:00 2001 From: Dalon Westergreen Date: Fri, 20 Jan 2017 08:24:08 -0800 Subject: Only conditionally set SOCFPGA_SDIMG_PARTITION_COMMAND Since the machine conf allows you to change uboot versions you need to be able to change the sdcard creation setup --- conf/machine/arria5.conf | 2 +- conf/machine/cyclone5.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/machine/arria5.conf b/conf/machine/arria5.conf index a04f2d5..6eedabf 100644 --- a/conf/machine/arria5.conf +++ b/conf/machine/arria5.conf @@ -19,4 +19,4 @@ KERNEL_DEVICETREE_arria5 ?= " \ # Add support for SDCARD creation IMAGE_CLASSES += "sdcard_image-socfpga" -SOCFPGA_SDIMG_PARTITION_COMMAND = "generate_sdcard_partitions_v2016_11_and_newer" +SOCFPGA_SDIMG_PARTITION_COMMAND ?= "generate_sdcard_partitions_v2016_11_and_newer" diff --git a/conf/machine/cyclone5.conf b/conf/machine/cyclone5.conf index 1c4586e..a2d743b 100644 --- a/conf/machine/cyclone5.conf +++ b/conf/machine/cyclone5.conf @@ -27,5 +27,5 @@ KERNEL_DEVICETREE ?= "\ # Add support for SDCARD creation IMAGE_CLASSES += "sdcard_image-socfpga" -SOCFPGA_SDIMG_PARTITION_COMMAND = "generate_sdcard_partitions_v2016_11_and_newer" +SOCFPGA_SDIMG_PARTITION_COMMAND ?= "generate_sdcard_partitions_v2016_11_and_newer" -- cgit v1.2.3-54-g00ecf