summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDalon Westergreen <dwesterg@gmail.com>2015-11-12 07:29:38 -0800
committerDalon Westergreen <dwesterg@gmail.com>2015-11-12 07:29:38 -0800
commit8df38d4e0fc230faeac006e37f2a7fbb4bde6d37 (patch)
tree8b1aea7fcf9b6e28ccb6cbf6a6375ebadec784ba
parent73769225ffac6072ef68d1f3b432eb0e4edd17d0 (diff)
downloadmeta-altera-8df38d4e0fc230faeac006e37f2a7fbb4bde6d37.tar.gz
Conditionally set kernel preferred provider and uboot preferred version
-rw-r--r--conf/machine/arria10.conf2
-rw-r--r--conf/machine/arria5.conf2
-rw-r--r--conf/machine/cyclone5.conf2
-rw-r--r--conf/machine/include/socfpga.inc4
4 files changed, 5 insertions, 5 deletions
diff --git a/conf/machine/arria10.conf b/conf/machine/arria10.conf
index 78f8159..3bfcfe8 100644
--- a/conf/machine/arria10.conf
+++ b/conf/machine/arria10.conf
@@ -4,7 +4,7 @@
4 4
5require conf/machine/include/socfpga.inc 5require conf/machine/include/socfpga.inc
6 6
7PREFERRED_VERSION_u-boot-socfpga = "2014.10" 7PREFERRED_VERSION_u-boot-socfpga ?= "2014.10"
8UBOOT_MACHINE = "socfpga_arria10_defconfig" 8UBOOT_MACHINE = "socfpga_arria10_defconfig"
9 9
10KMACHINE = "arria10" 10KMACHINE = "arria10"
diff --git a/conf/machine/arria5.conf b/conf/machine/arria5.conf
index e94d3df..8589f94 100644
--- a/conf/machine/arria5.conf
+++ b/conf/machine/arria5.conf
@@ -4,7 +4,7 @@
4 4
5require conf/machine/include/socfpga.inc 5require conf/machine/include/socfpga.inc
6 6
7PREFERRED_VERSION_u-boot-socfpga = "2013.01.01" 7PREFERRED_VERSION_u-boot-socfpga ?= "2013.01.01"
8UBOOT_MACHINE = "socfpga_arria5" 8UBOOT_MACHINE = "socfpga_arria5"
9 9
10KMACHINE = "arria5" 10KMACHINE = "arria5"
diff --git a/conf/machine/cyclone5.conf b/conf/machine/cyclone5.conf
index b993095..fd74005 100644
--- a/conf/machine/cyclone5.conf
+++ b/conf/machine/cyclone5.conf
@@ -4,7 +4,7 @@
4 4
5require conf/machine/include/socfpga.inc 5require conf/machine/include/socfpga.inc
6 6
7PREFERRED_VERSION_u-boot-socfpga = "2013.01.01" 7PREFERRED_VERSION_u-boot-socfpga ?= "2013.01.01"
8UBOOT_MACHINE = "socfpga_cyclone5" 8UBOOT_MACHINE = "socfpga_cyclone5"
9 9
10KMACHINE = "cyclone5" 10KMACHINE = "cyclone5"
diff --git a/conf/machine/include/socfpga.inc b/conf/machine/include/socfpga.inc
index 706c583..6932620 100644
--- a/conf/machine/include/socfpga.inc
+++ b/conf/machine/include/socfpga.inc
@@ -6,9 +6,9 @@ require conf/machine/include/tune-cortexa9.inc
6# this affects the PREFERRED_PROVIDER of virtual/kernel 6# this affects the PREFERRED_PROVIDER of virtual/kernel
7# it can be overriden from the environment, using BB_ENV_EXTRAWHITE 7# it can be overriden from the environment, using BB_ENV_EXTRAWHITE
8KERNEL_PROVIDER ?= "linux-altera-ltsi" 8KERNEL_PROVIDER ?= "linux-altera-ltsi"
9PREFERRED_PROVIDER_virtual/kernel = "${KERNEL_PROVIDER}" 9PREFERRED_PROVIDER_virtual/kernel ?= "${KERNEL_PROVIDER}"
10 10
11PREFERRED_PROVIDER_virtual/bootloader = "u-boot-socfpga" 11PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-socfpga"
12 12
13# Increase this everytime you change something in the kernel 13# Increase this everytime you change something in the kernel
14MACHINE_KERNEL_PR = "r1" 14MACHINE_KERNEL_PR = "r1"