From c1592673fb18144390191101fb965bcdd074e74a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 15 Feb 2008 02:21:35 +0100 Subject: [PATCH] Allow external projects to be downloaded into the tree and used Signed-off-by: Jan Engelhardt --- extensions/GNUmakefile.in | 1 + extensions/Kbuild | 3 +++ 2 files changed, 4 insertions(+) diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in index ea48696..8e59e62 100644 --- a/extensions/GNUmakefile.in +++ b/extensions/GNUmakefile.in @@ -35,6 +35,7 @@ endif # Wildcard module list # include ${top_srcdir}/mconfig +-include ${top_srcdir}/mconfig.* pfx_all_mod := $(patsubst ${srcdir}/libxt_%.c,%,$(wildcard ${srcdir}/libxt_*.c)) pfx_build_mod := $(foreach i,${pfx_all_mod},$(if ${build_${i}},${i},)) pfx_solibs := $(patsubst %,libxt_%.so,${pfx_build_mod}) diff --git a/extensions/Kbuild b/extensions/Kbuild index eeb94fa..0c28673 100644 --- a/extensions/Kbuild +++ b/extensions/Kbuild @@ -1,9 +1,12 @@ # -*- Makefile -*- include ${XA_TOPSRCDIR}/mconfig +-include ${XA_TOPSRCDIR}/mconfig.* obj-m += compat_xtables.o obj-${build_LOGMARK} += xt_LOGMARK.o obj-${build_TARPIT} += xt_TARPIT.o obj-${build_TEE} += xt_TEE.o + +-include ${M}/*.Kbuild