~james-page/ubuntu/raring/openvswitch/lts-raring-backport-dkms

« back to all changes in this revision

Viewing changes to datapath/linux/Kbuild.in

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-08-07 16:00:53 UTC
  • mfrom: (5.1.25 sid)
  • Revision ID: package-import@ubuntu.com-20120807160053-nj4pgmkn6bp8t4md
Tags: 1.4.2+git20120612-9ubuntu1
* Merge from Debian unstable; remaining changes:
  - d/control: Disable openvswitch-datapath-dkms package.
* Dropped changes:
  - d/patches/kernel_3.5_support.patch: Superceded by 
    bug-684057-ovs-ctl-Add-support-for-newer-module-name.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
# right place, even though it's conceptually incorrect.
25
25
NOSTDINC_FLAGS += -I$(top_srcdir)/include -I$(srcdir)/compat -I$(srcdir)/compat/include
26
26
 
27
 
obj-m := $(patsubst %,%.o,$(build_modules))
 
27
obj-m := $(patsubst %,%_mod.o,$(build_modules))
28
28
 
29
29
define module_template
30
 
$(1)-y = $$(notdir $$(patsubst %.c,%.o,$($(1)_sources)))
 
30
$(1)_mod-y = $$(notdir $$(patsubst %.c,%.o,$($(1)_sources)))
31
31
endef
32
32
 
33
33
$(foreach module,$(build_modules),$(eval $(call module_template,$(module))))