X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Flinux-2.6%2FKbuild.in;h=2158382b0a38d7d1738adef0c6bb80bd32691d69;hb=7ee20df120d4d56df894abc00a60fe1bc43a058d;hp=f08eb9c5eb12644331a40e725a404b66daf7d835;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/datapath/linux-2.6/Kbuild.in b/datapath/linux-2.6/Kbuild.in index f08eb9c5..2158382b 100644 --- a/datapath/linux-2.6/Kbuild.in +++ b/datapath/linux-2.6/Kbuild.in @@ -11,7 +11,6 @@ include $(srcdir)/Modules.mk EXTRA_CFLAGS := -DVERSION=\"$(VERSION)\" EXTRA_CFLAGS += -I$(srcdir)/.. EXTRA_CFLAGS += -I$(builddir)/.. -EXTRA_CFLAGS += -I$(top_srcdir)/include ifeq '$(BUILDNR)' '0' EXTRA_CFLAGS += -DBUILDNR=\"\" else @@ -23,7 +22,7 @@ EXTRA_CFLAGS += -include $(builddir)/kcompat.h # These include directories have to go before -I$(KSRC)/include. # NOSTDINC_FLAGS just happens to be a variable that goes in the # right place, even though it's conceptually incorrect. -NOSTDINC_FLAGS += -I$(srcdir)/compat-2.6 -I$(srcdir)/compat-2.6/include +NOSTDINC_FLAGS += -I$(top_srcdir)/include -I$(srcdir)/compat-2.6 -I$(srcdir)/compat-2.6/include obj-m := $(patsubst %,%_mod.o,$(build_modules))