VirtualBox

Changeset 66077 in vbox for trunk


Ignore:
Timestamp:
Mar 14, 2017 10:10:22 AM (8 years ago)
Author:
vboxsync
Message:

Additions/linux: fail if compiling the vboxsf kernel module fails but intentionally do not fail if compiling the vboxvideo kernel module fails (e.g. too old build environment)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/Makefile

    r57969 r66077  
    4141            fi; \
    4242            echo "*** Building 'vboxsf' module ***"; \
    43             $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxsf; \
     43            $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxsf || exit 1; \
    4444            if [ -f vboxsf/vboxsf.ko ]; then \
    4545                cp vboxsf/vboxsf.ko .; \
     
    5454            fi; \
    5555            echo "*** Building 'vboxvideo' module ***"; \
    56             $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvideo; \
     56            $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvideo || \
     57              (echo; echo "Building of vboxvideo failed, ignoring!"; echo); \
    5758            if [ -f vboxvideo/vboxvideo.ko ]; then \
    5859                cp vboxvideo/vboxvideo.ko .; \
    59             else \
     60            elif [ -f vboxvideo/vboxvideo.o ]; then \
    6061                cp vboxvideo/vboxvideo.o .; \
    6162            fi; \
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