Changeset 11519 in vbox
- Timestamp:
- Aug 20, 2008 2:25:02 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35063
- Location:
- trunk/src/VBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/Makefile.module
r8155 r11519 18 18 # additional information or have any questions. 19 19 # 20 21 # 22 # First, figure out which architecture we're targeting and the build type. 23 # (We have to support basic cross building (ARCH=i386|x86_64).) 24 # While at it, warn about BUILD_* vars found to help with user problems. 25 # 26 ifneq ($(filter-out amd64 x86,$(BUILD_TARGET_ARCH)),) 27 $(warning Ignoring unknown BUILD_TARGET_ARCH value '$(BUILD_TARGET_ARCH)'.) 28 BUILD_TARGET_ARCH := 29 endif 30 ifeq ($(BUILD_TARGET_ARCH),) 31 ifeq ($(ARCH),x86_64) 32 BUILD_TARGET_ARCH := amd64 33 else 34 ifeq ($(ARCH),i386) 35 BUILD_TARGET_ARCH := x86 36 else 37 ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),) 38 BUILD_TARGET_ARCH := amd64 39 else 40 BUILD_TARGET_ARCH := x86 41 endif 42 endif 43 endif 44 else 45 $(warning Using BUILD_TARGET_ARCH='$(BUILD_TARGET_ARCH)' from the $(origin BUILD_TARGET_ARCH).) 46 endif 47 48 ifneq ($(filter-out release profile debug strict,$(BUILD_TYPE)),) 49 $(warning Ignoring unknown BUILD_TYPE value '$(BUILD_TYPE)'.) 50 BUILD_TYPE := 51 endif 52 ifeq ($(BUILD_TYPE),) 53 BUILD_TYPE := release 54 else 55 $(warning Using BUILD_TYPE='$(BUILD_TYPE)' from the $(origin BUILD_TYPE).) 56 endif 57 20 58 21 59 # override is required by the Debian guys … … 48 86 strformattype.o \ 49 87 strformat-vbox.o 88 ifeq ($(BUILD_TARGET_ARCH),amd64) 89 OBJS += \ 90 alloc/heapsimple.o \ 91 r0drv/linux/spinlock-r0drv-linux.o 92 endif 50 93 51 94 ifneq ($(MAKECMDGOALS),clean) -
trunk/src/VBox/Additions/linux/module/files_vboxadd
r8494 r11519 27 27 ${PATH_ROOT}/include/iprt/ctype.h=>include/iprt/ctype.h \ 28 28 ${PATH_ROOT}/include/iprt/err.h=>include/iprt/err.h \ 29 ${PATH_ROOT}/include/iprt/heap.h=>include/iprt/heap.h \ 29 30 ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \ 30 31 ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \ 31 32 ${PATH_ROOT}/include/iprt/param.h=>include/iprt/param.h \ 32 33 ${PATH_ROOT}/include/iprt/semaphore.h=>include/iprt/semaphore.h \ 34 ${PATH_ROOT}/include/iprt/spinlock.h=>include/iprt/spinlock.h \ 33 35 ${PATH_ROOT}/include/iprt/stdarg.h=>include/iprt/stdarg.h \ 34 36 ${PATH_ROOT}/include/iprt/stdint.h=>include/iprt/stdint.h \ … … 55 57 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \ 56 58 ${PATH_ROOT}/src/VBox/Runtime/include/internal/string.h=>include/internal/string.h \ 59 ${PATH_ROOT}/src/VBox/Runtime/common/alloc/heapsimple.cpp=>alloc/heapsimple.c \ 57 60 ${PATH_ROOT}/src/VBox/Runtime/common/err/RTErrConvertToErrno.cpp=>RTErrConvertToErrno.c \ 58 61 ${PATH_ROOT}/src/VBox/Runtime/common/log/logformat.cpp=>logformat.c \ … … 73 76 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/semeventmulti-r0drv-linux.c=>r0drv/linux/semeventmulti-r0drv-linux.c \ 74 77 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/semfastmutex-r0drv-linux.c=>r0drv/linux/semfastmutex-r0drv-linux.c \ 78 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c=>r0drv/linux/spinlock-r0drv-linux.c \ 75 79 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/string.h=>r0drv/linux/string.h \ 76 80 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \ -
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module
r11472 r11519 18 18 # additional information or have any questions. 19 19 # 20 21 # 22 # First, figure out which architecture we're targeting and the build type. 23 # (We have to support basic cross building (ARCH=i386|x86_64).) 24 # While at it, warn about BUILD_* vars found to help with user problems. 25 # 26 ifneq ($(filter-out amd64 x86,$(BUILD_TARGET_ARCH)),) 27 $(warning Ignoring unknown BUILD_TARGET_ARCH value '$(BUILD_TARGET_ARCH)'.) 28 BUILD_TARGET_ARCH := 29 endif 30 ifeq ($(BUILD_TARGET_ARCH),) 31 ifeq ($(ARCH),x86_64) 32 BUILD_TARGET_ARCH := amd64 33 else 34 ifeq ($(ARCH),i386) 35 BUILD_TARGET_ARCH := x86 36 else 37 ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),) 38 BUILD_TARGET_ARCH := amd64 39 else 40 BUILD_TARGET_ARCH := x86 41 endif 42 endif 43 endif 44 else 45 $(warning Using BUILD_TARGET_ARCH='$(BUILD_TARGET_ARCH)' from the $(origin BUILD_TARGET_ARCH).) 46 endif 47 48 ifneq ($(filter-out release profile debug strict,$(BUILD_TYPE)),) 49 $(warning Ignoring unknown BUILD_TYPE value '$(BUILD_TYPE)'.) 50 BUILD_TYPE := 51 endif 52 ifeq ($(BUILD_TYPE),) 53 BUILD_TYPE := release 54 else 55 $(warning Using BUILD_TYPE='$(BUILD_TYPE)' from the $(origin BUILD_TYPE).) 56 endif 57 20 58 21 59 # override is required by the Debian guys -
trunk/src/VBox/Additions/linux/sharedfolders/files_vboxvfs
r8155 r11519 26 26 ${PATH_ROOT}/include/iprt/err.h=>include/iprt/err.h \ 27 27 ${PATH_ROOT}/include/iprt/fs.h=>include/iprt/fs.h \ 28 ${PATH_ROOT}/include/iprt/heap.h=>include/iprt/heap.h \ 28 29 ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \ 29 30 ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \ … … 31 32 ${PATH_ROOT}/include/iprt/path.h=>include/iprt/path.h \ 32 33 ${PATH_ROOT}/include/iprt/semaphore.h=>include/iprt/semaphore.h \ 34 ${PATH_ROOT}/include/iprt/spinlock.h=>include/iprt/spinlock.h \ 33 35 ${PATH_ROOT}/include/iprt/stdarg.h=>include/iprt/stdarg.h \ 34 36 ${PATH_ROOT}/include/iprt/stdint.h=>include/iprt/stdint.h \ -
trunk/src/VBox/Runtime/common/alloc/heapsimple.cpp
r8245 r11519 44 44 #include "internal/magics.h" 45 45 46 #if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) 47 #include "the-linux-kernel.h" 48 EXPORT_SYMBOL(RTHeapSimpleAlloc); 49 EXPORT_SYMBOL(RTHeapSimpleInit); 50 EXPORT_SYMBOL(RTHeapSimpleFree); 51 #endif 46 52 47 53 /******************************************************************************* -
trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c
r8245 r11519 44 44 #include <linux/spinlock.h> /** @todo why is this here and not in the-linux-kernel.h? */ 45 45 46 #if defined(IN_GUEST_R0) 47 EXPORT_SYMBOL(RTSpinlockCreate); 48 EXPORT_SYMBOL(RTSpinlockDestroy); 49 EXPORT_SYMBOL(RTSpinlockAcquireNoInts); 50 EXPORT_SYMBOL(RTSpinlockReleaseNoInts); 51 #endif 46 52 47 53 /*******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.