VirtualBox

Changeset 68308 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Aug 6, 2017 7:44:18 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117427
Message:

Additions/Linux: reindent the kernel module source files in Additions installer.

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 a sed script to convert them to kernel indentation
style when we copy them from our tree to the Additions archive. Now using
sed instead of indent as it avoids new tools and also allows for adding
further changes in the script.

Location:
trunk/src/VBox/Additions/linux/drm
Files:
1 added
1 edited

Legend:

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

    r68294 r68308  
    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),$(SED) -f $(PATH_ROOT)/src/VBox/Additions/linux/drm/indent.sed \
     33    --output "$2" "$1",$(CP_EXT) "$1" "$2") && \
     34    $(CHMOD_EXT) "$(if $(mode),$(mode),0644)" "$2"
    3135
    3236
Note: See TracChangeset for help on using the changeset viewer.

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