Changeset 21339 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jul 7, 2009 3:19:17 PM (16 years ago)
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.kmk
r15589 r21339 59 59 vboxvfs_DEFS = \ 60 60 MODULE IN_RT_R0 VBOXGUEST VBOX_WITH_HGCM \ 61 KBUILD_MODNAME=KBUILD_STR\(vboxadd\) \ 62 KBUILD_BASENAME=KBUILD_STR\(vboxadd\) 61 $(if-expr defined(VBOX_WITH_COMMON_VBOXGUEST_ON_LINUX),VBOX_WITH_COMMON_VBOXGUEST_ON_LINUX,) \ 62 KBUILD_MODNAME=KBUILD_STR\(vboxvfs\) \ 63 KBUILD_BASENAME=KBUILD_STR\(vboxvfs\) 63 64 vboxvfs_INCS = \ 64 65 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib \ … … 70 71 regops.c 71 72 vboxvfs_LIBS = \ 72 $(VBOX_LIB_VBGL_R0) \ 73 $(VBOX_LIB_IPRT_GUEST_R0) 73 $(VBOX_LIB_VBGL_R0) 74 74 75 75 # detect fc6 2.6.18 … … 101 101 | $$(dir $$@) 102 102 $(call MSG_TOOL,Creating,,$@) 103 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxvfs;g" < $< > $@103 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxvfs;g" --output $@ $< 104 104 $(QUIET)chmod 0755 $@ 105 105 … … 109 109 | $$(dir $$@) 110 110 $(call MSG_TOOL,Creating,,$@) 111 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" < $< > $@ 111 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" \ 112 $(if-expr defined(VBOX_WITH_COMMON_VBOXGUEST_ON_LINUX), -e 's/vboxadd/vboxguest/',) \ 113 --output $@ $< 112 114 113 115 include $(KBUILD_PATH)/subfooter.kmk -
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module
r21325 r21339 75 75 VMMDev.o \ 76 76 HGCM.o \ 77 VBoxCalls.o \ 77 VBoxCalls.o 78 ifndef VBOX_WITH_COMMON_VBOXGUEST_ON_LINUX 79 OBJS += \ 78 80 r0drv/alloc-r0drv.o \ 79 81 r0drv/memobj-r0drv.o \ … … 83 85 r0drv/linux/process-r0drv-linux.o \ 84 86 r0drv/linux/semevent-r0drv-linux.o \ 85 r0drv/linux/semfastmutex-r0drv-linux.o \ 87 r0drv/linux/semfastmutex-r0drv-linux.o 88 endif 89 ifeq ($(BUILD_TARGET_ARCH),x86) 90 OBJS += \ 86 91 divdi3.o \ 87 92 moddi3.o \ … … 89 94 umoddi3.o \ 90 95 qdivrem.o 91 ## @todo Use IPRT in vboxguest, the *div*/*mod* bits are x86 only. 96 endif 92 97 93 98 EXTRA_CFLAGS = -fshort-wchar … … 193 198 endif 194 199 ifeq ($(BUILD_TYPE),debug) 195 KFLAGS += -DDEBUG 200 KFLAGS += -DDEBUG 201 endif 202 ifdef VBOX_WITH_COMMON_VBOXGUEST_ON_LINUX 203 KFLAGS += -DVBOX_WITH_COMMON_VBOXGUEST_ON_LINUX 196 204 endif 197 205
Note:
See TracChangeset
for help on using the changeset viewer.