diff options
author | Dalon Westergreen <dwesterg@gmail.com> | 2015-11-12 07:29:38 -0800 |
---|---|---|
committer | Dalon Westergreen <dwesterg@gmail.com> | 2015-11-12 07:29:38 -0800 |
commit | 8df38d4e0fc230faeac006e37f2a7fbb4bde6d37 (patch) | |
tree | 8b1aea7fcf9b6e28ccb6cbf6a6375ebadec784ba | |
parent | 73769225ffac6072ef68d1f3b432eb0e4edd17d0 (diff) | |
download | meta-altera-8df38d4e0fc230faeac006e37f2a7fbb4bde6d37.tar.gz |
Conditionally set kernel preferred provider and uboot preferred version
-rw-r--r-- | conf/machine/arria10.conf | 2 | ||||
-rw-r--r-- | conf/machine/arria5.conf | 2 | ||||
-rw-r--r-- | conf/machine/cyclone5.conf | 2 | ||||
-rw-r--r-- | conf/machine/include/socfpga.inc | 4 |
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 | ||
5 | require conf/machine/include/socfpga.inc | 5 | require conf/machine/include/socfpga.inc |
6 | 6 | ||
7 | PREFERRED_VERSION_u-boot-socfpga = "2014.10" | 7 | PREFERRED_VERSION_u-boot-socfpga ?= "2014.10" |
8 | UBOOT_MACHINE = "socfpga_arria10_defconfig" | 8 | UBOOT_MACHINE = "socfpga_arria10_defconfig" |
9 | 9 | ||
10 | KMACHINE = "arria10" | 10 | KMACHINE = "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 | ||
5 | require conf/machine/include/socfpga.inc | 5 | require conf/machine/include/socfpga.inc |
6 | 6 | ||
7 | PREFERRED_VERSION_u-boot-socfpga = "2013.01.01" | 7 | PREFERRED_VERSION_u-boot-socfpga ?= "2013.01.01" |
8 | UBOOT_MACHINE = "socfpga_arria5" | 8 | UBOOT_MACHINE = "socfpga_arria5" |
9 | 9 | ||
10 | KMACHINE = "arria5" | 10 | KMACHINE = "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 | ||
5 | require conf/machine/include/socfpga.inc | 5 | require conf/machine/include/socfpga.inc |
6 | 6 | ||
7 | PREFERRED_VERSION_u-boot-socfpga = "2013.01.01" | 7 | PREFERRED_VERSION_u-boot-socfpga ?= "2013.01.01" |
8 | UBOOT_MACHINE = "socfpga_cyclone5" | 8 | UBOOT_MACHINE = "socfpga_cyclone5" |
9 | 9 | ||
10 | KMACHINE = "cyclone5" | 10 | KMACHINE = "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 |
8 | KERNEL_PROVIDER ?= "linux-altera-ltsi" | 8 | KERNEL_PROVIDER ?= "linux-altera-ltsi" |
9 | PREFERRED_PROVIDER_virtual/kernel = "${KERNEL_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/kernel ?= "${KERNEL_PROVIDER}" |
10 | 10 | ||
11 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-socfpga" | 11 | PREFERRED_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 |
14 | MACHINE_KERNEL_PR = "r1" | 14 | MACHINE_KERNEL_PR = "r1" |