Changeset 3400 in vbox
- Timestamp:
- Jul 3, 2007 8:12:52 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22601
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/Makefile.module
r3096 r3400 62 62 63 63 # module install dir. 64 ifndef MODULE_DIR 65 MODULE_DIR_TST := /lib/modules/$(shell uname -r) 66 ifeq ($(shell if test -d $(MODULE_DIR_TST); then echo yes; fi),yes) 67 MODULE_DIR := $(MODULE_DIR_TST)/misc 68 else 69 $(error Unable to find the folder to install the additions driver to) 70 endif 71 endif # MODULE_DIR unspecified 64 ifneq ($(filter install install_rpm,$(MAKECMDGOALS)),) 65 ifndef MODULE_DIR 66 MODULE_DIR_TST := /lib/modules/$(shell uname -r) 67 ifeq ($(shell if test -d $(MODULE_DIR_TST); then echo yes; fi),yes) 68 MODULE_DIR := $(MODULE_DIR_TST)/misc 69 else 70 $(error Unable to find the folder to install the additions driver to) 71 endif 72 endif # MODULE_DIR unspecified 73 endif 72 74 73 75 # guess kernel version (24 or 26) -
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module
r2981 r3400 63 63 64 64 # module install dir. 65 ifndef MODULE_DIR 66 MODULE_DIR_TST := /lib/modules/$(shell uname -r) 67 ifeq ($(shell if test -d $(MODULE_DIR_TST); then echo yes; fi),yes) 68 MODULE_DIR := $(MODULE_DIR_TST)/misc 69 else 70 $(error Unable to find the folder to install the shared folders driver to) 71 endif 72 endif # MODULE_DIR unspecified 65 ifneq ($(filter install install_rpm,$(MAKECMDGOALS)),) 66 ifndef MODULE_DIR 67 MODULE_DIR_TST := /lib/modules/$(shell uname -r) 68 ifeq ($(shell if test -d $(MODULE_DIR_TST); then echo yes; fi),yes) 69 MODULE_DIR := $(MODULE_DIR_TST)/misc 70 else 71 $(error Unable to find the folder to install the shared folders driver to) 72 endif 73 endif # MODULE_DIR unspecified 74 endif 73 75 74 76 # guess kernel version (24 or 26) -
trunk/src/VBox/HostDrivers/Support/linux/Makefile
r2981 r3400 90 90 91 91 # module install dir. 92 ifndef MODULE_DIR 93 MODULE_DIR_TST := /lib/modules/$(shell uname -r) 94 ifeq ($(shell if test -d $(MODULE_DIR_TST); then echo yes; fi),yes) 95 MODULE_DIR := $(MODULE_DIR_TST)/misc 96 else 97 $(error Unable to find the folder to install the support driver to) 98 endif 99 endif # MODULE_DIR unspecified 92 ifneq ($(filter install install_rpm,$(MAKECMDGOALS)),) 93 ifndef MODULE_DIR 94 MODULE_DIR_TST := /lib/modules/$(shell uname -r) 95 ifeq ($(shell if test -d $(MODULE_DIR_TST); then echo yes; fi),yes) 96 MODULE_DIR := $(MODULE_DIR_TST)/misc 97 else 98 $(error Unable to find the folder to install the support driver to) 99 endif 100 endif # MODULE_DIR unspecified 101 endif 100 102 101 103 # guess kernel version (24 or 26)
Note:
See TracChangeset
for help on using the changeset viewer.