mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
daca3e8cb9
This recipe currently relies on EXTRA_OEMAKE having been to set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
30 lines
858 B
BlitzBasic
30 lines
858 B
BlitzBasic
SUMMARY = "VLAN provides vconfig utility"
|
|
SECTION = "misc"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://vconfig.c;md5=293ef69c4e88434d37a5ee577a5288cb"
|
|
|
|
SRC_URI = "http://${BPN}.sourcearchive.com/downloads/${PV}-3ubuntu9/${BPN}_${PV}.orig.tar.gz \
|
|
file://no-HOME-includes.patch"
|
|
|
|
SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
|
|
SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"
|
|
|
|
S = "${WORKDIR}/${BPN}"
|
|
|
|
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
|
|
|
# comment out MakeInclude in Makefile which sets build environment
|
|
do_configure_append () {
|
|
sed -i 's/^ include/#^include/' ${S}/Makefile
|
|
}
|
|
|
|
# ignore strip to avoid yocto errors in stripping
|
|
do_compile () {
|
|
oe_runmake PLATFORM=ARM 'STRIP=echo' all
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}/${base_sbindir}
|
|
install -m 0755 ${S}/vconfig ${D}/${base_sbindir}/
|
|
}
|