VirtualBox

Changeset 11877 in vbox for trunk/src


Ignore:
Timestamp:
Aug 31, 2008 11:38:03 AM (16 years ago)
Author:
vboxsync
Message:

Support/Makefile: Reformat linux/Makefile when VBOX_WITH_HARDENING changes.

File:
1 edited

Legend:

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

    r11814 r11877  
    8181vboxmod-sh_MODE     = a+rx,u+w
    8282vboxmod-sh_SOURCES  = $(subst ",,$(FILES_VBOXDRV_BIN)) #"
     83vboxmod-sh_CLEAN    = $(PATH_TARGET)/vboxmod-sh-1.dep
    8384
    8485# Scripts needed for building the kernel modules
     
    9899        $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" --output $@ $<
    99100
     101-include $(PATH_TARGET)/vboxmod-1.dep
    100102$(PATH_BIN)/src/Makefile: \
    101                 $(PATH_SUB_CURRENT)/linux/Makefile
     103                $(PATH_SUB_CURRENT)/linux/Makefile \
     104                $$(if $$(eq $$(Support/linux/Makefile_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE)
    102105        $(call MSG_TOOL,Creating,,$@)
    103106ifdef VBOX_WITH_HARDENING
     
    106109        $(QUIET)$(CP) -f $< $@
    107110endif
     111        %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vboxmod-1.dep
     112        %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxmod-1.dep' 'Support/linux/Makefile_HARDENED=$(VBOX_WITH_HARDENING)'
     113
    108114
    109115#
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