Ting Liu 3c96399c76 netcf: hardcode --with-driver=redhat for target build
The configure script of netcf checks the HOST setup to identify the
network interface. This means it checks for Red Hat, SuSE, debian,
Ubuntu, etc. As this is an embedded cross build, it doesn't seem to
make sense to check the HOST in the first place to determine info for
the TARGET.

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22 12:22:37 +01:00

27 lines
603 B
BlitzBasic

SUMMARY = "netcf"
DESCRIPTION = "netcf is a cross-platform network configuration library."
HOMEPAGE = "https://fedorahosted.org/netcf/"
SECTION = "console/tools"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
SRCREV = "b8a19dc860b38c97c42115d8a559b78853452a4b"
PV = "0.2.3+git${SRCPV}"
SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \
"
DEPENDS += "augeas libnl libxslt libxml2"
S = "${WORKDIR}/git"
inherit gettext autotools
EXTRA_OECONF_append_class-target = " --with-driver=redhat"
do_configure_prepend() {
cd ${S}
./bootstrap
}