[oe] [meta-oe][PATCH] netcf: hardcode --with-driver=redhat for target build

b28495 at freescale.com b28495 at freescale.com
Tue Jan 14 09:30:18 UTC 2014


From: Ting Liu <b28495 at freescale.com>

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 at freescale.com>
---
 meta-networking/recipes-support/netcf/netcf_git.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb b/meta-networking/recipes-support/netcf/netcf_git.bb
index 60d82d1..93f8c70 100644
--- a/meta-networking/recipes-support/netcf/netcf_git.bb
+++ b/meta-networking/recipes-support/netcf/netcf_git.bb
@@ -18,6 +18,7 @@ S = "${WORKDIR}/git"
 
 inherit gettext autotools
 
+EXTRA_OECONF_append_class-target = " --with-driver=redhat"
 do_configure_prepend() {
 	cd ${S}
 	./bootstrap
-- 
1.7.3.4





More information about the Openembedded-devel mailing list