mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
Wic can build an unified kernel image, but this needs the cross-objcopy from binutils. (From OE-Core rev: 7c7a488116f49083ca42d3628ebc0870585110c3) (From OE-Core rev: 92f122e0c1a7589bec3b628474548aad7fe159b4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
1.0 KiB
BlitzBasic
29 lines
1.0 KiB
BlitzBasic
SUMMARY = "A meta recipe to build native tools used by wic."
|
|
|
|
LICENSE = "MIT"
|
|
|
|
DEPENDS = "\
|
|
parted-native gptfdisk-native dosfstools-native \
|
|
mtools-native bmap-tools-native grub-native cdrtools-native \
|
|
btrfs-tools-native squashfs-tools-native pseudo-native \
|
|
e2fsprogs-native util-linux-native tar-native \
|
|
virtual/${TARGET_PREFIX}binutils \
|
|
"
|
|
DEPENDS:append:x86 = " syslinux-native syslinux grub-efi systemd-boot"
|
|
DEPENDS:append:x86-64 = " syslinux-native syslinux grub-efi systemd-boot"
|
|
DEPENDS:append:x86-x32 = " syslinux-native syslinux grub-efi"
|
|
DEPENDS:append:aarch64 = " grub-efi systemd-boot"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
inherit nopackages
|
|
|
|
# The sysroot of wic-tools is needed for wic, but if rm_work is enabled, it will
|
|
# be removed before wic has a chance to use it, hence the exclusion below.
|
|
RM_WORK_EXCLUDE += "${PN}"
|
|
|
|
python do_build_sysroot () {
|
|
bb.build.exec_func("extend_recipe_sysroot", d)
|
|
}
|
|
addtask do_build_sysroot after do_prepare_recipe_sysroot before do_build
|