VirtualBox

Ignore:
Timestamp:
Jul 7, 2009 3:19:17 PM (15 years ago)
Author:
vboxsync
Message:

linux/vboxvfs: made it build and load when using vboxguest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.kmk

    r15589 r21339  
    5959vboxvfs_DEFS            = \
    6060        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\)
    6364vboxvfs_INCS            = \
    6465        $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib \
     
    7071        regops.c
    7172vboxvfs_LIBS            = \
    72         $(VBOX_LIB_VBGL_R0) \
    73         $(VBOX_LIB_IPRT_GUEST_R0)
     73        $(VBOX_LIB_VBGL_R0)
    7474
    7575# detect fc6 2.6.18
     
    101101                | $$(dir $$@)
    102102        $(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 $@ $<
    104104        $(QUIET)chmod 0755 $@
    105105
     
    109109                | $$(dir $$@)
    110110        $(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 $@ $<
    112114
    113115include $(KBUILD_PATH)/subfooter.kmk
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette