Author: nbd
Date: 2016-01-09 00:18:14 +0100 (Sat, 09 Jan 2016)
New Revision: 48156

Modified:
   trunk/target/sdk/Makefile
Log:
target/sdk: ship .ko files to allow rebuild of the base kmod-* packages

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/target/sdk/Makefile
===================================================================
--- trunk/target/sdk/Makefile   2016-01-08 23:06:59 UTC (rev 48155)
+++ trunk/target/sdk/Makefile   2016-01-08 23:18:14 UTC (rev 48156)
@@ -68,6 +68,7 @@
        mkdir -p $(SDK_BUILD_DIR)/dl $(SDK_BUILD_DIR)/package
        $(CP) $(INCLUDE_DIR) $(SCRIPT_DIR) $(TOPDIR)/docs $(SDK_BUILD_DIR)/
        $(TAR) -cf - -C $(TOPDIR) \
+               `cd $(TOPDIR); find $(KDIR_BASE) -name \*.ko` \
                $(foreach exclude,$(EXCLUDE_DIRS),--exclude="$(exclude)") \
                $(SDK_DIRS) $(KERNEL_FILES) | \
                $(TAR) -xf - -C $(SDK_BUILD_DIR)
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to