diff options
author | Masahiro Yamada | 2018-11-20 16:04:18 +0100 |
---|---|---|
committer | Masahiro Yamada | 2018-12-01 14:21:56 +0100 |
commit | 0126be38d98815d25d9ec4573541ed4315bf6a88 (patch) | |
tree | b790b96624f57ca8ab81469181b191c95b64cde0 /drivers | |
parent | modpost: drop unused command line switches (diff) | |
download | kernel-qcow2-linux-0126be38d98815d25d9ec4573541ed4315bf6a88.tar.gz kernel-qcow2-linux-0126be38d98815d25d9ec4573541ed4315bf6a88.tar.xz kernel-qcow2-linux-0126be38d98815d25d9ec4573541ed4315bf6a88.zip |
kbuild: announce removal of SUBDIRS if used
SUBDIRS has been kept as a backward compatibility since
commit ("[PATCH] kbuild: external module support") in 2002.
We do not need multiple ways to do the same thing, so I will remove
SUBDIRS after the Linux 5.3 release. I cleaned up in-tree code, and
updated the document so that nobody would try to use it.
Meanwhile, display the following warning if SUBDIRS is used.
Makefile:189: ================= WARNING ================
Makefile:190: 'SUBDIRS' will be removed after Linux 5.3
Makefile:191: Please use 'M=' or 'KBUILD_EXTMOD' instead
Makefile:192: ==========================================
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Boris Brezillon <boris.brezillon@bootlin.com> # for scx200_docflash.c
Acked-by: Guenter Roeck <linux@roeck-us.net> # for scx200_wdt.c
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/maps/scx200_docflash.c | 7 | ||||
-rw-r--r-- | drivers/watchdog/scx200_wdt.c | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/drivers/mtd/maps/scx200_docflash.c b/drivers/mtd/maps/scx200_docflash.c index f1c1f737d0d7..7f1a0e690c4f 100644 --- a/drivers/mtd/maps/scx200_docflash.c +++ b/drivers/mtd/maps/scx200_docflash.c @@ -216,10 +216,3 @@ static void __exit cleanup_scx200_docflash(void) module_init(init_scx200_docflash); module_exit(cleanup_scx200_docflash); - -/* - Local variables: - compile-command: "make -k -C ../../.. SUBDIRS=drivers/mtd/maps modules" - c-basic-offset: 8 - End: -*/ diff --git a/drivers/watchdog/scx200_wdt.c b/drivers/watchdog/scx200_wdt.c index 836377cf9271..ec4063ebb41a 100644 --- a/drivers/watchdog/scx200_wdt.c +++ b/drivers/watchdog/scx200_wdt.c @@ -262,10 +262,3 @@ static void __exit scx200_wdt_cleanup(void) module_init(scx200_wdt_init); module_exit(scx200_wdt_cleanup); - -/* - Local variables: - compile-command: "make -k -C ../.. SUBDIRS=drivers/char modules" - c-basic-offset: 8 - End: -*/ |