diff options
author | cajun-rat <p@beta16.co.uk> | 2017-04-11 14:40:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-11 14:40:07 +0200 |
commit | 21927f5acb9a4bce1d210507573949d2df4580ba (patch) | |
tree | 350c6128ae4d211102b06b60e8dcb9d32fbcb3ca /conf | |
parent | 25199f1b47aeea15e56b17aced5c310bf1dd1208 (diff) | |
parent | e36a7821467fe3ae3f22e0ca67b91ebb3e65d2cb (diff) | |
download | meta-updater-21927f5acb9a4bce1d210507573949d2df4580ba.tar.gz |
Merge pull request #45 from advancedtelematic/bugfix/aglcompat
Add tweaks for compatibility with AGL
Diffstat (limited to 'conf')
-rw-r--r-- | conf/include/local/sota_minnowboard.inc | 9 | ||||
-rw-r--r-- | conf/include/local/sota_porter.inc | 8 | ||||
-rw-r--r-- | conf/include/local/sota_qemux86-64.inc | 6 | ||||
-rw-r--r-- | conf/include/local/sota_raspberrypi.inc | 12 |
4 files changed, 15 insertions, 20 deletions
diff --git a/conf/include/local/sota_minnowboard.inc b/conf/include/local/sota_minnowboard.inc index 0bd4210..5a5b3f4 100644 --- a/conf/include/local/sota_minnowboard.inc +++ b/conf/include/local/sota_minnowboard.inc | |||
@@ -1,8 +1,9 @@ | |||
1 | MACHINE = "intel-corei7-64" | 1 | MACHINE = "intel-corei7-64" |
2 | 2 | ||
3 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ota" | 3 | PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot-ota" |
4 | UBOOT_MACHINE = "minnowmax_defconfig" | 4 | UBOOT_MACHINE_sota = "minnowmax_defconfig" |
5 | 5 | ||
6 | EXTRA_IMAGEDEPENDS_append = " minnowboard-bootfiles" | 6 | EXTRA_IMAGEDEPENDS_append_sota = " minnowboard-bootfiles" |
7 | IMAGE_BOOT_FILES = "minnowboard-bootfiles/*" | 7 | IMAGE_BOOT_FILES_sota += "minnowboard-bootfiles/*" |
8 | 8 | ||
9 | OSTREE_BOOTLOADER ?= "u-boot" | ||
diff --git a/conf/include/local/sota_porter.inc b/conf/include/local/sota_porter.inc index fcda041..64923f9 100644 --- a/conf/include/local/sota_porter.inc +++ b/conf/include/local/sota_porter.inc | |||
@@ -3,10 +3,10 @@ MACHINE = "porter" | |||
3 | # Commit united image to OSTree, not just uImage | 3 | # Commit united image to OSTree, not just uImage |
4 | OSTREE_KERNEL = "uImage+dtb" | 4 | OSTREE_KERNEL = "uImage+dtb" |
5 | 5 | ||
6 | EXTRA_IMAGEDEPENDS_append = " porter-bootfiles" | 6 | EXTRA_IMAGEDEPENDS_append_sota = " porter-bootfiles" |
7 | IMAGE_CLASSES_append = " image_types_uboot " | 7 | IMAGE_CLASSES_append_sota = " image_types_uboot " |
8 | IMAGE_BOOT_FILES = "porter-bootfiles/*" | 8 | IMAGE_BOOT_FILES_sota += "porter-bootfiles/*" |
9 | 9 | ||
10 | OSTREE_BOOTLOADER ?= "u-boot" | 10 | OSTREE_BOOTLOADER ?= "u-boot" |
11 | UBOOT_MACHINE = "porter_vin_config" | 11 | UBOOT_MACHINE_sota = "porter_vin_config" |
12 | 12 | ||
diff --git a/conf/include/local/sota_qemux86-64.inc b/conf/include/local/sota_qemux86-64.inc index b72c29d..5fa1521 100644 --- a/conf/include/local/sota_qemux86-64.inc +++ b/conf/include/local/sota_qemux86-64.inc | |||
@@ -1,12 +1,8 @@ | |||
1 | MACHINE = "qemux86-64" | 1 | MACHINE = "qemux86-64" |
2 | 2 | ||
3 | PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "5.4%" | ||
4 | PREFERRED_VERSION_libgcc ?= "5.4%" | ||
5 | PREFERRED_VERSION_gcc-runtime ?= "5.4%" | ||
6 | |||
7 | # U-Boot support for SOTA | 3 | # U-Boot support for SOTA |
8 | PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot-ota" | 4 | PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot-ota" |
9 | UBOOT_MACHINE = "qemu-x86_defconfig" | 5 | UBOOT_MACHINE_sota = "qemu-x86_defconfig" |
10 | OSTREE_BOOTLOADER ?= "u-boot" | 6 | OSTREE_BOOTLOADER ?= "u-boot" |
11 | 7 | ||
12 | OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/hda" | 8 | OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/hda" |
diff --git a/conf/include/local/sota_raspberrypi.inc b/conf/include/local/sota_raspberrypi.inc index 51919f0..ae13b8e 100644 --- a/conf/include/local/sota_raspberrypi.inc +++ b/conf/include/local/sota_raspberrypi.inc | |||
@@ -1,16 +1,14 @@ | |||
1 | MACHINE ?= "raspberrypi3" | 1 | MACHINE ?= "raspberrypi3" |
2 | 2 | ||
3 | # normal image class is sdcard_image-rpi-gdp, for sota it is image_types_uboot & sdcard_image-rpi-ota | 3 | IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'image_types_uboot sdcard_image-rpi-ota', '', d)}" |
4 | IMAGE_CLASSES += "image_types_uboot sdcard_image-rpi-ota" | 4 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}" |
5 | 5 | ||
6 | # normal image is rpi-sdimg, for sota it is rpi-sdimg-ota | ||
7 | IMAGE_FSTYPES += "rpi-sdimg-ota" | ||
8 | ### both rpi-sdimg and rpi-sdimg-ota broken | 6 | ### both rpi-sdimg and rpi-sdimg-ota broken |
9 | IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" | 7 | IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" |
10 | 8 | ||
11 | KERNEL_IMAGETYPE_sota = "uImage" | 9 | KERNEL_IMAGETYPE_sota = "uImage" |
12 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" | 10 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" |
13 | UBOOT_MACHINE_raspberrypi2 = "rpi_2_defconfig" | 11 | UBOOT_MACHINE_raspberrypi2_sota ?= "rpi_2_defconfig" |
14 | UBOOT_MACHINE_raspberrypi3 = "rpi_3_32b_defconfig" | 12 | UBOOT_MACHINE_raspberrypi3_sota ?= "rpi_3_32b_defconfig" |
15 | 13 | ||
16 | OSTREE_BOOTLOADER ?= "u-boot" | 14 | OSTREE_BOOTLOADER ?= "u-boot" |