aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/petitboot/petitboot_git.bb
blob: 22cbb7bfd23591bdb6dc7c6b7a26eea4a43bf5aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright (C) 2015 Romain Perier <romain.perier@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

inherit gettext autotools

DESCRIPTION = "Petitboot kexec bootloader"
HOMEPAGE = "https://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
DEPENDS = "udev ncurses"
RDEPENDS_${PN} = "libudev ncurses-libncurses ncurses-libtinfo ncurses-libmenu ncurses-libform kexec udev"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/geoff/petitboot.git"
SRCREV_pn-${PN} = "e330e3f5adf78d3ba77217995a4bc3cd1fd16f4c"
PV = "git+20141211-e330e3"
S = "${WORKDIR}/git"
B = "${S}"

EXTRA_OECONF = "--enable-busybox --with-twin-x11=no --with-twin-fbdev=no"
PARALLEL_MAKE = ""

do_configure() {
	olddir=`pwd`
	cd ${S}
	./bootstrap
	cd $olddir
	export CURSES_LIB=-lncurses HOST_PROG_KEXEC=/usr/sbin/kexec
	oe_runconf
}