aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tomek_n@o2.pl>2020-01-20 15:42:00 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2020-02-22 16:38:41 +0100
commit9c6b6abdcd68fe1bb19c4dff472a1a7cc9cbb974 (patch)
treec2a6c014b030bbfbf67a82f9b38be0de6356e558 /package/kernel/broadcom-wl
parente6cec175689df05882fad7b18c248c477f732924 (diff)
downloadupstream-9c6b6abdcd68fe1bb19c4dff472a1a7cc9cbb974.tar.gz
upstream-9c6b6abdcd68fe1bb19c4dff472a1a7cc9cbb974.tar.bz2
upstream-9c6b6abdcd68fe1bb19c4dff472a1a7cc9cbb974.zip
kernel: replace SUBDIRS with M in package recipes
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'package/kernel/broadcom-wl')
-rw-r--r--package/kernel/broadcom-wl/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/broadcom-wl/Makefile b/package/kernel/broadcom-wl/Makefile
index 68581c27d0..a3d7b5f1bb 100644
--- a/package/kernel/broadcom-wl/Makefile
+++ b/package/kernel/broadcom-wl/Makefile
@@ -102,7 +102,7 @@ endef
MAKE_KMOD := $(MAKE) -C "$(LINUX_DIR)" \
$(KERNEL_MAKE_FLAGS) \
PATH="$(TARGET_PATH)" \
- SUBDIRS="$(PKG_BUILD_DIR)/kmod" \
+ M="$(PKG_BUILD_DIR)/kmod" \
define Build/Prepare
$(call Build/Prepare/Default)
@@ -113,18 +113,18 @@ endef
define Build/Compile
# Compile glue driver
$(MAKE_KMOD) -C "$(LINUX_DIR)" \
- SUBDIRS="$(PKG_BUILD_DIR)/glue" \
+ M="$(PKG_BUILD_DIR)/glue" \
modules
# Compile the kernel part
$(MAKE_KMOD) \
- SUBDIRS="$(PKG_BUILD_DIR)/driver" \
+ M="$(PKG_BUILD_DIR)/driver" \
MODFLAGS="-DMODULE -mlong-calls" \
KBUILD_EXTRA_SYMBOLS="$(PKG_BUILD_DIR)/glue/Module.symvers" \
modules
$(MAKE_KMOD) \
- SUBDIRS="$(PKG_BUILD_DIR)/driver-mini" \
+ M="$(PKG_BUILD_DIR)/driver-mini" \
MODFLAGS="-DMODULE -mlong-calls" \
BUILD_TYPE="wl_apsta_mini" \
KBUILD_EXTRA_SYMBOLS="$(PKG_BUILD_DIR)/glue/Module.symvers" \