mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-01-12 03:10:08 +00:00
sdcard_image-rpi.bbclass: Change to be usable with any image
Instead of being inherited by a specific image recipe, this class can now be inherited globally in the machine configuration, allowing it to be used with any image. This means we can remove "inherit image", and we can also remove the IMAGE_FSTYPES modification since the machine config does this already. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
# BOOT_SPACE - SDIMG_SIZE - rootfs
|
||||
#
|
||||
|
||||
inherit image_types
|
||||
|
||||
# Set kernel and boot loader
|
||||
IMAGE_BOOTLOADER ?= "bcm2835-bootfiles"
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ require conf/machine/include/tune-arm1176jzf-s.inc
|
||||
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
INHERIT += "sdcard_image-rpi"
|
||||
IMAGE_FSTYPES += "tar.bz2 ext3 rpi-sdimg"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyAMA0"
|
||||
|
||||
Reference in New Issue
Block a user