xr_usb_serial_common: replace SUBDIRS with M in package recipe
authorDavid Bauer <redacted>
Tue, 10 Mar 2020 23:48:40 +0000 (00:48 +0100)
committerDavid Bauer <redacted>
Tue, 10 Mar 2020 23:48:40 +0000 (00:48 +0100)
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: David Bauer <redacted>
libs/xr_usb_serial_common/Makefile

index a2091dfa9ea08b41905481322ae9daa634c2db16..b3797176d50dfca37b3999514d40d22fcfd7fe19 100644 (file)
@@ -34,7 +34,7 @@ define Build/Compile
        +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
                ARCH="$(LINUX_KARCH)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
-               SUBDIRS="$(PKG_BUILD_DIR)/xr_usb_serial_common-1a" \
+               M="$(PKG_BUILD_DIR)/xr_usb_serial_common-1a" \
                modules
 endef
 
git clone https://git.99rst.org/PROJECT