VirtualBox

Ignore:
Timestamp:
May 8, 2019 7:44:36 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
130445
Message:

Installers/Linux: fixes after previous refactoring for generated Make files.
ticketref:18621:Failure to disable hardening in Linux kernel modules.
Refactoring changes to generated Make file templates for Linux kernel modules
removed -D prefixes in front of macros to be defined in Make variables. The
generation code used sed to search for -Dvariable to remove certain variables
and this no longer worked after the refactoring. This change fixes that.
Thank you Ambroz Bizjak for the patch. (Extended to cover more places.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

    r76553 r78444  
    526526        $(QUIET)$(RM) -f -- $@
    527527 ifndef VBOX_WITH_HARDENING
    528         $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $<
     528        $(QUIET)$(SED) -e "s;VBOX_WITH_HARDENING;;g" --output $@ $<
    529529 else
    530530        $(QUIET)$(CP) -f $< $@
     
    566566        $(QUIET)$(CP) -f $< $@
    567567 ifndef VBOX_WITH_HARDENING
    568         $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output [email protected] $@
     568        $(QUIET)$(SED) -e "s;VBOX_WITH_HARDENING;;g" --output [email protected] $@
    569569        ${QUIET}$(MV) -f [email protected] $@
    570570 endif
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