mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
* fix following errors:
../../git/src/fb.c: In function 'fb_new':
../../git/src/fb.c:646:17: error: too many arguments to function 'fb_destroy'; expected 0, have 1
646 | fb_destroy(fb);
| ^~~~~~~~~~ ~~
../../git/src/fb.c:391:6: note: declared here
391 | void fb_destroy()
| ^~~~~~~~~~
../../git/src/tui.c:102:9: error: conflicting types for 'tui_init'; have 'kx_tui *(FILE *)'
102 | kx_tui *tui_init(FILE *ts)
| ^~~~~~~~
In file included from ../../git/src/tui.c:40:
../../git/src/tui.h:36:9: note: previous declaration of 'tui_init' with type 'kx_tui *(void)'
36 | kx_tui *tui_init();
...
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
40 lines
1.1 KiB
BlitzBasic
40 lines
1.1 KiB
BlitzBasic
SUMMARY = "kexecboot linux-as-bootloader"
|
|
DESCRIPTION = "kexecboot is a graphical linux-as-bootloader implementation based on kexec."
|
|
HOMEPAGE = "https://github.com/kexecboot/kexecboot/wiki"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
|
PV = "0.6+git"
|
|
S = "${WORKDIR}/git"
|
|
SRC_URI = " \
|
|
git://github.com/kexecboot/kexecboot.git;branch=master;protocol=https \
|
|
file://0001-Fix-argument-errors-in-gcc-15.patch \
|
|
"
|
|
SRC_URI:append:libc-klibc = "\
|
|
file://0001-kexecboot-Use-new-reboot-API-with-klibc.patch \
|
|
file://0001-make-Add-compiler-includes-in-cflags.patch \
|
|
"
|
|
SRCREV = "5a5e04be206140059f42ac786d424da1afaa04b6"
|
|
inherit autotools
|
|
|
|
EXTRA_OECONF = "--enable-textui --enable-delay=2 --enable-evdev-rate=1000,250"
|
|
|
|
CFLAGS += "-fcommon"
|
|
|
|
do_install () {
|
|
install -D -m 0755 ${B}/src/kexecboot ${D}${bindir}/kexecboot
|
|
install -d ${D}/proc
|
|
install -d ${D}/mnt
|
|
install -d ${D}/dev
|
|
install -d ${D}/sys
|
|
}
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
FILES:${PN} += " ${bindir}/kexecboot /init /proc /mnt /dev /sys"
|
|
|
|
pkg_postinst:${PN} () {
|
|
ln -sf ${bindir}/kexecboot $D/init
|
|
}
|
|
|
|
BBCLASSEXTEND = "klibc"
|