Changeset 77504 in vbox
- Timestamp:
- Feb 28, 2019 12:37:43 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129100
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile ¶
r77404 r77504 25 25 # 26 26 27 # Find the directory of this makefile.28 VBOXGUEST_DIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))29 30 27 # Linux kbuild sets this to our source directory if we are called from there 31 28 obj ?= $(CURDIR) 32 29 include $(obj)/Makefile-header.gmk 30 VBOXGUEST_DIR = $(VBOX_MODULE_SRC_DIR) 33 31 34 32 VBOXMOD_NAME = vboxguest -
TabularUnified trunk/src/VBox/Additions/linux/drm/Makefile.module.kms ¶
r77415 r77504 18 18 # 19 19 20 # Find the directory of this makefile.21 VBOXDRM_DIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))22 23 20 # Linux kbuild sets this to our source directory if we are called from there 24 21 obj ?= $(CURDIR) 25 22 include $(obj)/Makefile-header.gmk 23 VBOXDRM_DIR = $(VBOX_MODULE_SRC_DIR) 26 24 27 25 # We want to build on Linux 3.11 and later and on all EL 7 kernels. -
TabularUnified trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module ¶
r77404 r77504 18 18 # 19 19 20 # Find the directory of this makefile.21 VBOXSF_DIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))22 23 20 # Linux kbuild sets this to our source directory if we are called from there 24 21 obj ?= $(CURDIR) 25 22 include $(obj)/Makefile-header.gmk 23 VBOXSF_DIR = $(VBOX_MODULE_SRC_DIR) 26 24 27 25 VBOXMOD_NAME = vboxsf -
TabularUnified trunk/src/VBox/Installer/linux/Makefile-header.gmk ¶
r77404 r77504 174 174 # 175 175 ## @todo Drop this KBUILD_EXTMOD glue once it has been removed from all our makefiles (see sharedfolders). 176 ifndef CURDIR # for make < v3.79 177 CURDIR := $(shell pwd) 178 endif 176 179 ifndef KBUILD_EXTMOD 177 ifndef CURDIR # for make < v3.79178 CURDIR := $(shell pwd)179 endif180 180 KBUILD_EXTMOD := $(CURDIR) 181 181 endif … … 199 199 rm -f /tmp/$(VBOX_DOLLAR)$(VBOX_DOLLAR).check.c; ) 200 200 201 # 202 # Guess the module directory ASSUMING that this file is located in that directory. 203 # Note! The special MAKEFILE_LIST variable was introduced in GNU make 3.80. 204 # 205 ifdef MAKEFILE_LIST 206 VBOX_MODULE_SRC_DIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))) 207 else 208 VBOX_MODULE_SRC_DIR := $(CURDIR)/ 209 endif 210 201 211 202 212 # debug - show guesses. … … 210 220 $(warning dbg: MODULE_DIR = $(MODULE_DIR)) 211 221 $(warning dbg: KBUILD_EXTMOD = $(KBUILD_EXTMOD)) 212 $(warning dbg: VBOX_ ROOT_DIR = $(VBOX_ROOT_DIR))213 endif 214 endif 215 222 $(warning dbg: VBOX_MODULE_SRC_DIR = $(VBOX_MODULE_SRC_DIR)) 223 endif 224 endif 225
Note:
See TracChangeset
for help on using the changeset viewer.