summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-20 18:04:18 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-01 16:21:56 +0300
commit0126be38d98815d25d9ec4573541ed4315bf6a88 (patch)
treeb790b96624f57ca8ab81469181b191c95b64cde0 /samples
parent0987abcbeea4c87aef80a6138efc13ed0798fcf2 (diff)
downloadlinux-0126be38d98815d25d9ec4573541ed4315bf6a88.tar.xz
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 'samples')
-rw-r--r--samples/connector/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/connector/Makefile b/samples/connector/Makefile
index fe3c8542ae4a..6ad71620e503 100644
--- a/samples/connector/Makefile
+++ b/samples/connector/Makefile
@@ -14,4 +14,4 @@ HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
all: modules
modules clean:
- $(MAKE) -C ../.. SUBDIRS=$(CURDIR) $@
+ $(MAKE) -C ../.. M=$(CURDIR) $@