Author: jogo
Date: 2014-12-05 12:50:42 +0100 (Fri, 05 Dec 2014)
New Revision: 43525

Modified:
   trunk/include/kernel.mk
Log:
sdk: don't try to build in-kernel kmods

We don't ship the kernel sources, so using the base git as a feed will
fail when trying to build kernel modules with separate install steps.
Instead of trying to fixup the install steps, let's just skip building
kernel modules alltogether and just create empty packages.

Out-of-kernel modules are still expected to exist and are packaged, as
for these sources are fetched during the normal build steps.

Reported-by: Jo-Philipp Wich <[email protected]>
Signed-off-by: Jonas Gorski <[email protected]>

Modified: trunk/include/kernel.mk
===================================================================
--- trunk/include/kernel.mk     2014-12-05 08:58:25 UTC (rev 43524)
+++ trunk/include/kernel.mk     2014-12-05 11:50:42 UTC (rev 43525)
@@ -167,7 +167,7 @@
   $(call KernelPackage/depends)
 
   ifneq ($(if $(filter-out %=y %=n %=m,$(KCONFIG)),$(filter m y,$(foreach 
c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
-    ifneq ($(strip $(FILES)),)
+    ifneq ($(if $(SDK),$(filter-out $(LINUX_DIR)/%.ko,$(FILES)),$(strip 
$(FILES))),)
       define Package/kmod-$(1)/install
                  @for mod in $$(FILES); do \
                        if [ -e $$$$$$$$mod ]; then \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to