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

login
register
mail settings
Submitter Ting Liu
Date Jan. 14, 2014, 9:30 a.m.
Message ID <1389691818-4764-1-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/64695/
State Accepted, archived
Headers show

Comments

Ting Liu - Jan. 14, 2014, 9:30 a.m.
From: Ting Liu <b28495@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@freescale.com>
---
 meta-networking/recipes-support/netcf/netcf_git.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

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