summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/barebox.bbclass5
-rw-r--r--meta/conf/machine/qemuarm.conf1
-rw-r--r--meta/conf/machine/qemuarm64.conf1
-rw-r--r--meta/conf/machine/qemux86-64.conf1
4 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes-recipe/barebox.bbclass b/meta/classes-recipe/barebox.bbclass
index 413a78f18c..200ba08326 100644
--- a/meta/classes-recipe/barebox.bbclass
+++ b/meta/classes-recipe/barebox.bbclass
@@ -57,6 +57,11 @@ EXTRA_OEMAKE = " \
57BAREBOX_CONFIG[doc] = "The barebox kconfig defconfig file. Not used if a file called defconfig is added to the SRC_URI." 57BAREBOX_CONFIG[doc] = "The barebox kconfig defconfig file. Not used if a file called defconfig is added to the SRC_URI."
58BAREBOX_CONFIG ?= "" 58BAREBOX_CONFIG ?= ""
59 59
60# set sensible default configs for some of oe-core's QEMU MACHINEs
61BAREBOX_CONFIG:qemuarm = "multi_v7_defconfig"
62BAREBOX_CONFIG:qemuarm64 = "multi_v8_defconfig"
63BAREBOX_CONFIG:qemux86-64 = "efi_defconfig"
64
60# prevent from acting as non-buildable provider 65# prevent from acting as non-buildable provider
61python () { 66python () {
62 bareboxconfig = d.getVar('BAREBOX_CONFIG') 67 bareboxconfig = d.getVar('BAREBOX_CONFIG')
diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
index 943ce7c16a..af76a53b8e 100644
--- a/meta/conf/machine/qemuarm.conf
+++ b/meta/conf/machine/qemuarm.conf
@@ -7,6 +7,7 @@ require conf/machine/include/qemu.inc
7 7
8KERNEL_IMAGETYPE = "zImage" 8KERNEL_IMAGETYPE = "zImage"
9 9
10PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
10UBOOT_MACHINE ?= "qemu_arm_defconfig" 11UBOOT_MACHINE ?= "qemu_arm_defconfig"
11 12
12SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0" 13SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
index a096d964db..d310445a34 100644
--- a/meta/conf/machine/qemuarm64.conf
+++ b/meta/conf/machine/qemuarm64.conf
@@ -7,6 +7,7 @@ require conf/machine/include/qemu.inc
7 7
8KERNEL_IMAGETYPE = "Image" 8KERNEL_IMAGETYPE = "Image"
9 9
10PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
10UBOOT_MACHINE ?= "qemu_arm64_defconfig" 11UBOOT_MACHINE ?= "qemu_arm64_defconfig"
11 12
12SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0" 13SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf
index 14873a3b4f..4a9c6d364b 100644
--- a/meta/conf/machine/qemux86-64.conf
+++ b/meta/conf/machine/qemux86-64.conf
@@ -13,6 +13,7 @@ DEFAULTTUNE ?= "core2-64"
13require conf/machine/include/x86/tune-x86-64-v3.inc 13require conf/machine/include/x86/tune-x86-64-v3.inc
14require conf/machine/include/x86/qemuboot-x86.inc 14require conf/machine/include/x86/qemuboot-x86.inc
15 15
16PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
16UBOOT_MACHINE ?= "qemu-x86_64_defconfig" 17UBOOT_MACHINE ?= "qemu-x86_64_defconfig"
17 18
18KERNEL_IMAGETYPE = "bzImage" 19KERNEL_IMAGETYPE = "bzImage"