[ovs-dev] [PATCH 2/2] datapath: Resolve external module dependencies.
Rajahalme, Jarno (NSN - FI/Espoo)
jarno.rajahalme at nsn.com
Thu Jun 27 07:29:28 UTC 2013
On Jun 26, 2013, at 21:39 , ext Jesse Gross wrote:
>> OK, so you need to use the kernel version from the "with-linux" option given to configure then?
>> I have configured with --with-linux=/lib/modules/`uname -r`/build so that happened to work for me.
> Would you mind taking a look at the makefile in the directory that you
> passed to "with-linux" to see how it chooses where to install and run
> On mine it does:
> KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
> DEPMOD $(KERNELRELEASE)
I'm not sure how to look at this. The Makefile in my /lib/modules/3.2.0-4-amd64/build is:
VERSION = 2
PATCHLEVEL = 6
MAKEARGS := -C /usr/src/linux-headers-3.2.0-4-common O=/usr/src/linux-headers-3.
MAKEFLAGS += --no-print-directory
.PHONY: all $(MAKECMDGOALS)
cmd := $(filter-out all Makefile,$(MAKECMDGOALS))
@$(MAKE) $(MAKEARGS) $(cmd)
$(cmd) %/: all
More information about the dev