From ec0a4d19e858a017e4986cee034f1aa113e5f7eb Mon Sep 17 00:00:00 2001 From: Glen Gibb Date: Tue, 15 Dec 2009 11:27:36 -0800 Subject: [PATCH] build: remove kernel module from build Commented out kernel module specific sections in configure.ac Don't include datapath in SUBDIRS in Makefile.am --- Makefile.am | 3 ++- configure.ac | 14 +++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index f429dc5..b06e7cc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,8 @@ # about overriding distdir, below. AUTOMAKE_OPTIONS = foreign -Wno-syntax subdir-objects ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = datapath +#SUBDIRS = datapath +SUBDIRS = AM_CPPFLAGS = $(SSL_CFLAGS) AM_CPPFLAGS += -I $(top_srcdir)/include diff --git a/configure.ac b/configure.ac index 4c882b6..395f087 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,7 @@ AC_CHECK_FUNCS([strsignal]) AC_ARG_VAR(KARCH, [Kernel Architecture String]) AC_SUBST(KARCH) -OFP_CHECK_LINUX(l26, 2.6, KBLD26, KSRC26, L26_ENABLED) +#OFP_CHECK_LINUX(l26, 2.6, KBLD26, KSRC26, L26_ENABLED) OFP_ENABLE_OPTION([-Wall]) OFP_ENABLE_OPTION([-Wno-sign-compare]) @@ -79,9 +79,13 @@ OFP_ENABLE_OPTION([-Wmissing-field-initializers]) OFP_ENABLE_OPTION([-Wno-override-init]) AC_CONFIG_FILES([Makefile -datapath/Makefile -datapath/linux-2.6/Kbuild -datapath/linux-2.6/Makefile -datapath/linux-2.6/Makefile.main]) +]) + +#AC_CONFIG_FILES([Makefile +#datapath/Makefile +#datapath/linux-2.6/Kbuild +#datapath/linux-2.6/Makefile +#datapath/linux-2.6/Makefile.main +#]) AC_OUTPUT