diff options
author | João Henrique Ferreira de Freitas <joaohf@gmail.com> | 2013-09-12 19:02:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-14 08:29:42 +0100 |
commit | 707da95b4ad5babdf5edfa76c29012fd7c816dcb (patch) | |
tree | cd21221bc0158b59d5c803f3f63693c807598ae0 /meta/classes/syslinux.bbclass | |
parent | a6974f2a70d1900b29a441bf350106769714ca2c (diff) | |
download | poky-707da95b4ad5babdf5edfa76c29012fd7c816dcb.tar.gz |
boot-directdisk: Allow for EFI-only boot direct disk images
Condition building PCBIOS legacy images on MACHINE_FEATURES containing "pcbios"
or not containing "efi". This ensures existing BSPs will continue to get the
old PCBIOS legacy-only images. New BSPs can add "efi", "pcbios", or both. The
images created likewise support one or the other or both.
(From OE-Core rev: c58aceee7dc243467dd87f07ccc61859f8d945e6)
Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/syslinux.bbclass')
-rw-r--r-- | meta/classes/syslinux.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass index 501bc6db8e..dae66097bc 100644 --- a/meta/classes/syslinux.bbclass +++ b/meta/classes/syslinux.bbclass | |||
@@ -64,6 +64,11 @@ syslinux_hddimg_install() { | |||
64 | syslinux ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hddimg | 64 | syslinux ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hddimg |
65 | } | 65 | } |
66 | 66 | ||
67 | syslinux_hdddirect_install() { | ||
68 | DEST=$1 | ||
69 | syslinux $DEST | ||
70 | } | ||
71 | |||
67 | python build_syslinux_cfg () { | 72 | python build_syslinux_cfg () { |
68 | import copy | 73 | import copy |
69 | import sys | 74 | import sys |