VirtualBox

Ignore:
Timestamp:
Nov 10, 2008 1:57:45 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39069
Message:

added vboxnetflt to the installer + some cleanup

File:
1 edited

Legend:

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

    r13707 r14015  
    5252  SYSMODS.solaris += vboxdrv
    5353 endif
    54  OTHERS.linux    += \
    55         $(PATH_BIN)/src/build_in_tmp \
    56         $(PATH_BIN)/src/Makefile \
    57         $(if $(VBOX_OSE),,$(PATH_BIN)/src/dkms.conf)
    58  INSTALLS.linux   += vboxmod-bin vboxmod-sh
     54 INSTALLS.linux   += vboxdrv-mod vboxdrv-sh
    5955
    6056 #
     
    218214
    219215#
    220 # vboxdrv.ko - The Linux Kernel Module (syntax only).
     216# vboxdrv.ko - The Linux Kernel Module (syntax check only).
    221217#
    222218ifeq ($(KBUILD_TARGET),linux)
     
    247243# Targets for installing the linux sources.
    248244#
    249 vboxmod-bin_INST    = bin/src/
    250 vboxmod-bin_MODE    = a+r,u+w
    251 vboxmod-bin_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #"
    252 
    253 vboxmod-sh_INST     = bin/src/
    254 vboxmod-sh_MODE     = a+rx,u+w
    255 vboxmod-sh_SOURCES  = $(subst ",,$(FILES_VBOXDRV_BIN)) #"
    256 vboxmod-sh_CLEAN    = $(PATH_TARGET)/vboxmod-sh-1.dep
     245vboxdrv-mod_INST    = bin/src/vboxdrv/
     246vboxdrv-mod_MODE    = a+r,u+w
     247vboxdrv-mod_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #"
     248vboxdrv-mod_SOURCES += \
     249        $(if $(VBOX_OSE),,$(PATH_vboxdrv-mod)/dkms.conf) \
     250        $(PATH_vboxdrv-mod)/Makefile
     251vboxdrv-mod_CLEAN   = \
     252        $(PATH_vboxdrv-mod)/dkms.conf \
     253        $(PATH_vboxdrv-mod)/Makefile
     254
     255vboxdrv-sh_INST     = bin/src/vboxdrv
     256vboxdrv-sh_MODE     = a+rx,u+w
     257vboxdrv-sh_SOURCES  = $(subst ",,$(FILES_VBOXDRV_BIN)) #"
     258vboxdrv-sh_SOURCES += $(PATH_vboxdrv-sh)/build_in_tmp
     259vboxdrv-sh_CLEAN    = \
     260        $(PATH_TARGET)/vboxdrv-sh-1.dep \
     261        $(PATH_vboxdrv-sh)/build_in_tmp
     262
    257263
    258264# Scripts needed for building the kernel modules
    259 ## @todo generate these else where and move them from OTHERS to vboxmod-bin (which btw installs NOBIN files contrary to its name).
    260 
    261 $(PATH_BIN)/src/build_in_tmp: \
     265
     266$$(PATH_vboxdrv-sh)/build_in_tmp: \
    262267                $(PATH_SUB_CURRENT)/linux/build_in_tmp \
    263                 $(VBOX_VERSION_STAMP)
     268                $(VBOX_VERSION_STAMP) \
     269                | $$(dir $$@)
    264270        $(call MSG_TOOL,Creating,,$@)
    265271        $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxdrv;g" --output $@ $<
    266272        $(QUIET)chmod 0755 $@
    267273
    268 $(PATH_BIN)/src/dkms.conf: \
     274$$(PATH_vboxdrv-mod)/dkms.conf: \
    269275                $(PATH_SUB_CURRENT)/linux/dkms.conf \
    270                 $(VBOX_VERSION_STAMP)
     276                $(VBOX_VERSION_STAMP) \
     277                | $$(dir $$@)
    271278        $(call MSG_TOOL,Creating,,$@)
    272279        $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" --output $@ $<
    273280
    274 includedep $(PATH_TARGET)/vboxmod-sh-1.dep
    275 $(PATH_BIN)/src/Makefile: \
     281includedep $(PATH_TARGET)/vboxdrv-sh-1.dep
     282$$(PATH_vboxdrv-mod)/Makefile: \
    276283                $(PATH_SUB_CURRENT)/linux/Makefile \
    277284                $$(if $$(eq $$(Support/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
    278                 | $(PATH_TARGET)/
     285                | $$(dir $$@)
    279286        $(call MSG_TOOL,Creating,,$@)
    280287 ifndef VBOX_WITH_HARDENING
     
    283290        $(QUIET)$(CP) -f $< $@
    284291 endif
    285         %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vboxmod-sh-1.dep
    286         %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxmod-sh-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)'
     292        %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vboxdrv-sh-1.dep
     293        %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxdrv-sh-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)'
    287294
    288295endif # real linux
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