Changeset 70082 in vbox
- Timestamp:
- Dec 12, 2017 3:53:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r70081 r70082 4216 4216 ifndef KERN_DIR 4217 4217 ifndef KERN_VER 4218 KERN_VER =$(patsubst /lib/modules/%/build/.config,%,$(firstword $(shell LC_ALL=C ls -t /lib/modules/*/build/.config 2>/dev/null)))4218 KERN_VER := $(patsubst /lib/modules/%/build/.config,%,$(firstword $(shell LC_ALL=C ls -t /lib/modules/*/build/.config 2>/dev/null))) 4219 4219 endif 4220 4220 ifeq ($(KERN_VER),) 4221 KERN_VER =$(shell uname -r)4222 endif 4223 KERN_DIR =/lib/modules/$(KERN_VER)/build4224 endif 4225 4226 ##4227 # Using the extra expansion to replace $(module) before eval, thus everything4228 # else needs escaped dollars.4221 KERN_VER := $(shell uname -r) 4222 endif 4223 KERN_DIR := /lib/modules/$(KERN_VER)/build 4224 endif 4225 4226 ## 4227 # Using the extra expansion to replace $(module) before eval, thus everything 4228 # else needs escaped dollars. 4229 4229 define VBOX_LINUX_GENERATE_KMOD_TEST 4230 4230 VBOX_TARGET_$(module) = $$(PATH_TARGET)/tst$(module)$(subst /,_,$(KERN_DIR))_mod.run
Note:
See TracChangeset
for help on using the changeset viewer.