X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux-2.6%2FMakefile.main.in;h=1edfc34120b67a7fdd526dca9fd4ee57df5ab43b;hb=71fe9970f7bc88a20b307e55f924c21029af98f2;hp=cb2a042909daf4478b74aa4cd951d5038a18a355;hpb=e0510a6c9b4b82b90ccf564368c1bbdcfdeb7410;p=sliver-openvswitch.git diff --git a/datapath/linux-2.6/Makefile.main.in b/datapath/linux-2.6/Makefile.main.in index cb2a04290..1edfc3412 100644 --- a/datapath/linux-2.6/Makefile.main.in +++ b/datapath/linux-2.6/Makefile.main.in @@ -2,10 +2,8 @@ export builddir = @abs_builddir@ export srcdir = @abs_srcdir@ export top_srcdir = @abs_top_srcdir@ -export KSRC = @KBUILD26@ +export KSRC = @KBUILD@ export VERSION = @VERSION@ -export BUILD_VETH = @BUILD_VETH@ -export BUILD_GRE = @BUILD_GRE@ include $(srcdir)/../Modules.mk include $(srcdir)/Modules.mk @@ -33,10 +31,6 @@ else KOBJ := $(KSRC) endif -ifneq ($(shell grep -c 'PATCHLEVEL = 6' $(KSRC)/Makefile),1) - $(error Linux kernel source in $(KSRC) not 2.6) -endif - VERSION_FILE := $(KOBJ)/include/linux/version.h ifeq (,$(wildcard $(VERSION_FILE))) $(error Linux kernel source not configured - missing version.h) @@ -52,6 +46,9 @@ endif default: $(MAKE) -C $(KSRC) M=$(builddir) modules + +modules_install: + $(MAKE) -C $(KSRC) M=$(builddir) modules_install endif # Much of the kernel build system in this file is derived from Intel's