VirtualBox

Ignore:
Timestamp:
Oct 30, 2017 5:59:26 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118875
Message:

Linux and FreeBSD drivers: use -src not -mod for all install rules.
bugref:4567: Linux kernel driver maintenance.

File:
1 edited

Legend:

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

    r69111 r69531  
    5858  SYSMODS.os2     += VBoxDrv
    5959 endif
    60  INSTALLS.linux   += vboxdrv-mod
    61  INSTALLS.freebsd += vboxdrv-mod
     60 INSTALLS.linux   += vboxdrv-src
     61 INSTALLS.freebsd += vboxdrv-src
    6262
    6363 #
     
    726726 # Targets for installing the linux sources.
    727727 #
    728  vboxdrv-mod_INST    = bin/src/vboxdrv/
    729  vboxdrv-mod_SOURCES = \
     728 vboxdrv-src_INST    = bin/src/vboxdrv/
     729 vboxdrv-src_SOURCES = \
    730730        $(subst $(DQUOTE),,$(FILES_VBOXDRV_NOBIN)) \
    731         $(vboxdrv-mod_0_OUTDIR)/Makefile
    732  vboxdrv-mod_EXEC_SOURCES  = \
     731        $(vboxdrv-src_0_OUTDIR)/Makefile
     732 vboxdrv-src_EXEC_SOURCES  = \
    733733        $(subst $(DQUOTE),,$(FILES_VBOXDRV_BIN))
    734  vboxdrv-mod_CLEAN   = \
    735         $(vboxdrv-mod_0_OUTDIR)/Makefile \
    736         $(PATH_TARGET)/vboxdrv-mod-1.dep \
     734 vboxdrv-src_CLEAN   = \
     735        $(vboxdrv-src_0_OUTDIR)/Makefile \
     736        $(PATH_TARGET)/vboxdrv-src-1.dep \
    737737
    738738 # Scripts needed for building the kernel modules
    739  includedep $(PATH_TARGET)/vboxdrv-mod-1.dep
    740  $$(vboxdrv-mod_0_OUTDIR)/Makefile: \
     739 includedep $(PATH_TARGET)/vboxdrv-src-1.dep
     740 $$(vboxdrv-src_0_OUTDIR)/Makefile: \
    741741                $(PATH_SUB_CURRENT)/$(KBUILD_TARGET)/Makefile \
    742742                $$(if $$(eq $$(Support/$(KBUILD_TARGET)/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     
    748748                 , -e "s;-DVBOX_WITH_EFLAGS_AC_SET_IN_VBOXDRV;;g" -e "s;-DIPRT_WITH_EFLAGS_AC_PRESERVING;;g",) \
    749749                --output $@ $<
    750         %$(QUIET2)$(APPEND) -t '$(PATH_TARGET)/vboxdrv-mod-1.dep' \
     750        %$(QUIET2)$(APPEND) -t '$(PATH_TARGET)/vboxdrv-src-1.dep' \
    751751                'Support/$(KBUILD_TARGET)/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)'
    752752endif # linux freebsd
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