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:
Andrei Gherzan 2012-07-02 01:20:36 +03:00
parent f0d4934ed8
commit a95712d8e7
2 changed files with 1 additions and 2 deletions

View File

@ -8,8 +8,6 @@
# BOOT_SPACE - SDIMG_SIZE - rootfs
#
inherit image_types
# Set kernel and boot loader
IMAGE_BOOTLOADER ?= "bcm2835-bootfiles"

View File

@ -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"