VirtualBox

Changeset 68292 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Aug 3, 2017 6:40:25 PM (7 years ago)
Author:
vboxsync
Message:

Additions/linux: run the kernel module source files through indent.

bugref:8524: Additions/linux: play nicely with distribution-installed Additions
In order to reduce the delta between in-kernel and our kernel modules, run
the source files through indent -linux when we copy them from our tree to
the Additions archive.

Location:
trunk/src/VBox/Additions/linux
Files:
2 edited

Legend:

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

    r68289 r68292  
    2929vboxvideo_drm-mod_EXEC_SOURCES = \
    3030        $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_BIN))
     31vboxvideo_drm-mod_INSTALLER = $(RM_EXT) -f -- "$2" && \
     32    $(if $(filter %.c %.h,$2),indent -linux -o "$2" "$1",$(CP_EXT) "$1" "$2") && \
     33    $(CHMOD_EXT) "$(if $(mode),$(mode),0644)" "$2"
    3134
    3235
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.kmk

    r68289 r68292  
    3030vboxsf-mod_EXEC_SOURCES = \
    3131        $(subst $(DQUOTE),,$(FILES_VBOXSF_BIN))
     32vboxsf-mod_INSTALLER = $(RM_EXT) -f -- "$2" && \
     33    $(if $(filter %.c %.h,$2),indent -linux -o "$2" "$1",$(CP_EXT) "$1" "$2") && \
     34    $(CHMOD_EXT) "$(if $(mode),$(mode),0644)" "$2"
    3235
    3336
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