X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2FMakefile.main.in;h=2e445ac5ae31b52057a64286883199671fa29c14;hb=5ca1ba484bd9ade5116a49cf241cb98219d7d696;hp=1edfc34120b67a7fdd526dca9fd4ee57df5ab43b;hpb=22bcc0e70becd88bf895c44885d63704affe4284;p=sliver-openvswitch.git diff --git a/datapath/linux/Makefile.main.in b/datapath/linux/Makefile.main.in index 1edfc3412..2e445ac5a 100644 --- a/datapath/linux/Makefile.main.in +++ b/datapath/linux/Makefile.main.in @@ -13,15 +13,34 @@ default: $(build_links) $(foreach s,$(sort $(foreach m,$(build_modules),$($(m)_sources))), \ $(eval $(notdir $(s)): ; ln -s $(srcdir)/../$(s) $@)) -distclean: clean - rm -f kcompat.h +all: default distdir: clean install: -all: default +install-data: +install-exec: +uninstall: +install-dvi: +install-html: +install-info: +install-ps: +install-pdf: +installdirs: check: all +installcheck: +mostlyclean: clean: - rm -f *.o *.ko *_mod.* Module.symvers *.cmd kcompat.h.new + rm -f *.o *.ko *.mod.* Module.symvers *.cmd kcompat.h.new for d in $(build_links); do if test -h $$d; then rm $$d; fi; done +distclean: clean + rm -f kcompat.h +maintainer-clean: distclean +dvi: +pdf: +ps: +info: +html: +tags: +TAGS: ifneq ($(KSRC),) @@ -33,7 +52,10 @@ endif VERSION_FILE := $(KOBJ)/include/linux/version.h ifeq (,$(wildcard $(VERSION_FILE))) - $(error Linux kernel source not configured - missing version.h) + VERSION_FILE := $(KOBJ)/include/generated/uapi/linux/version.h + ifeq (,$(wildcard $(VERSION_FILE))) + $(error Linux kernel source not configured - missing version.h) + endif endif CONFIG_FILE := $(KSRC)/include/generated/autoconf.h