netcf: hardcode --with-driver=redhat for target build
authorTing Liu <b28495@freescale.com>
Tue, 14 Jan 2014 09:30:18 +0000 (17:30 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:35:27 +0000 (08:35 -0800)
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.

(From meta-openembedded rev: 3c96399c76036a1cb792a8f4dec1b824643360d3)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-networking/recipes-support/netcf/netcf_git.bb

index 60d82d1..93f8c70 100644 (file)
@@ -18,6 +18,7 @@ S = "${WORKDIR}/git"
 
 inherit gettext autotools
 
+EXTRA_OECONF_append_class-target = " --with-driver=redhat"
 do_configure_prepend() {
        cd ${S}
        ./bootstrap