Patch under MIT License Suppress warnings like :
'SUBDIRS' will be removed after Linux 5.3 Please use 'M=' or 'KBUILD_EXTMOD' instead Best regards, -- Sérgio M. B.
From de09656700e58ba6d7eca7f8e72def9108ba32b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= <[email protected]> Date: Sun, 2 Jun 2019 08:39:43 +0100 Subject: [PATCH] VBOX_KERN_GROKS_SUBDIRS := yes for kernel 5 and so on --- trunk/src/VBox/Installer/linux/Makefile-header.gmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/VBox/Installer/linux/Makefile-header.gmk b/trunk/src/VBox/Installer/linux/Makefile-header.gmk index a9cb63b12e..69c95240a1 100644 --- a/trunk/src/VBox/Installer/linux/Makefile-header.gmk +++ b/trunk/src/VBox/Installer/linux/Makefile-header.gmk @@ -127,7 +127,7 @@ ifeq ($(KERNELRELEASE),) VBOX_KERN_GROKS_EXTMOD := endif VBOX_KERN_GROKS_SUBDIRS := - ifeq ($(shell if grep '"[432]\.' $(KERN_DIR)/include/linux/version.h > /dev/null 2>&1; then echo yes; fi),yes) + ifeq ($(shell if grep '"[98765432]\.' $(KERN_DIR)/include/linux/version.h > /dev/null 2>&1; then echo yes; fi),yes) VBOX_KERN_GROKS_SUBDIRS := yes endif endif -- 2.20.1
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
