VirtualBox

Changeset 77720 in vbox


Ignore:
Timestamp:
Mar 15, 2019 10:28:46 AM (6 years ago)
Author:
vboxsync
Message:

Drivers/Linux: drop SUBDIRS= from Make files for upcoming Linux 5.3 release.
bugref:4567: Linux kernel driver maintenance.
Builds have been complaining about this for quite some time:

/usr/src/linux-next/Makefile:193: ================= WARNING ================
/usr/src/linux-next/Makefile:194: :SUBDIRS: will be removed after Linux 5.3
/usr/src/linux-next/Makefile:195: Please use :M=: or :KBUILD_EXTMOD: instead
/usr/src/linux-next/Makefile:196: ==========================================

Says the git history:

commit 0126be38d98815d25d9ec4573541ed4315bf6a88
Author: Masahiro Yamada <yamada.masahiro@…>
Date: Wed Nov 21 00:04:18 2018 +0900

kbuild: announce removal of SUBDIRS if used


SUBDIRS has been kept as a backward compatibility since
commit (:[PATCH] kbuild: external module support:) in 2002.

Fix the makefiles to use M= rather than SUBDIRS=
Thank you Valdis Klētnieks for the patch!

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/Makefile

    r53634 r77720  
    3131include ../Makefile.cmd
    3232
    33 SUBDIRS=        $(MACH) demo test
     33M=      $(MACH) demo test
    3434$(BUILD64)SUBDIRS += $(MACH64)
    3535
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/Makefile

    r53634 r77720  
    2828include $(SRC)/Makefile.master
    2929
    30 SUBDIRS= common $(MACH:i386=i386 i86xpv)
     30M= common $(MACH:i386=i386 i86xpv)
    3131include ../Makefile.subdirs
    3232
  • trunk/src/VBox/Installer/linux/Makefile-footer.gmk

    r77541 r77720  
    103103$(VBOXMOD_0_TARGET):
    104104ifneq ($(VBOX_KERN_GROKS_SUBDIRS),)
    105         $(MAKE) V=$(VBOX_LNX_VERBOSE) CONFIG_MODULE_SIG= -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) $(if $(JOBS),-j$(JOBS),) modules
     105        $(MAKE) V=$(VBOX_LNX_VERBOSE) CONFIG_MODULE_SIG= -C $(KERN_DIR) M=$(CURDIR) SRCROOT=$(CURDIR) $(if $(JOBS),-j$(JOBS),) modules
    106106else
    107107        $(MAKE) V=$(VBOX_LNX_VERBOSE) CONFIG_MODULE_SIG= -C $(KERN_DIR) M=$(CURDIR) SRCROOT=$(CURDIR) $(if $(JOBS),-j$(JOBS),) modules
     
    110110install: $(VBOXMOD_0_TARGET)
    111111ifneq ($(VBOX_KERN_GROKS_SUBDIRS),)
    112         $(MAKE) V=$(VBOX_LNX_VERBOSE) CONFIG_MODULE_SIG= -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) modules_install
     112        $(MAKE) V=$(VBOX_LNX_VERBOSE) CONFIG_MODULE_SIG= -C $(KERN_DIR) M=$(CURDIR) SRCROOT=$(CURDIR) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) modules_install
    113113else
    114114        $(MAKE) V=$(VBOX_LNX_VERBOSE) CONFIG_MODULE_SIG= -C $(KERN_DIR) M=$(CURDIR) SRCROOT=$(CURDIR) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) modules_install
     
    119119clean:
    120120ifneq ($(VBOX_KERN_GROKS_SUBDIRS),)
    121         $(MAKE) V=$(VBOX_LNX_VERBOSE) CONFIG_MODULE_SIG= -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) clean
     121        $(MAKE) V=$(VBOX_LNX_VERBOSE) CONFIG_MODULE_SIG= -C $(KERN_DIR) M=$(CURDIR) SRCROOT=$(CURDIR) clean
    122122else
    123123        $(MAKE) V=$(VBOX_LNX_VERBOSE) CONFIG_MODULE_SIG= -C $(KERN_DIR) M=$(CURDIR) SRCROOT=$(CURDIR) clean
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