mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02: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:
parent
f0d4934ed8
commit
a95712d8e7
|
@ -8,8 +8,6 @@
|
||||||
# BOOT_SPACE - SDIMG_SIZE - rootfs
|
# BOOT_SPACE - SDIMG_SIZE - rootfs
|
||||||
#
|
#
|
||||||
|
|
||||||
inherit image_types
|
|
||||||
|
|
||||||
# Set kernel and boot loader
|
# Set kernel and boot loader
|
||||||
IMAGE_BOOTLOADER ?= "bcm2835-bootfiles"
|
IMAGE_BOOTLOADER ?= "bcm2835-bootfiles"
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ require conf/machine/include/tune-arm1176jzf-s.inc
|
||||||
|
|
||||||
GUI_MACHINE_CLASS = "bigscreen"
|
GUI_MACHINE_CLASS = "bigscreen"
|
||||||
|
|
||||||
|
INHERIT += "sdcard_image-rpi"
|
||||||
IMAGE_FSTYPES += "tar.bz2 ext3 rpi-sdimg"
|
IMAGE_FSTYPES += "tar.bz2 ext3 rpi-sdimg"
|
||||||
|
|
||||||
SERIAL_CONSOLE = "115200 ttyAMA0"
|
SERIAL_CONSOLE = "115200 ttyAMA0"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user