Patchwork [10/15] build: add CONFIG_LINUX

login
register
mail settings
Submitter Mark McLoughlin
Date Oct. 22, 2009, 4:49 p.m.
Message ID <1256230156-29652-11-git-send-email-markmc@redhat.com>
Download mbox | patch
Permalink /patch/36727/
State New
Headers show

Comments

Mark McLoughlin - Oct. 22, 2009, 4:49 p.m.
So I can add a tap-linux.c and use CONFIG_LINUX to pull it in
in Makefile

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
 configure |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/configure b/configure
index 43d87c5..4ccdebe 100755
--- a/configure
+++ b/configure
@@ -1897,6 +1897,10 @@  else
   echo "CONFIG_POSIX=y" >> $config_host_mak
 fi
 
+if test "$linux" = "yes" ; then
+  echo "CONFIG_LINUX=y" >> $config_host_mak
+fi
+
 if test "$darwin" = "yes" ; then
   echo "CONFIG_DARWIN=y" >> $config_host_mak
 fi