summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-08 23:18:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-08 23:18:14 +0000
commit4a7340d8c626b98fe4b6c060ca2ca32a1e0ea413 (patch)
tree709f026d8df9bec3022e8a02c4ccef7665ecf37c /target
parent055ef8d6913426d01f433b3189b0031fb3eed359 (diff)
downloadmtk-20170518-4a7340d8c626b98fe4b6c060ca2ca32a1e0ea413.zip
mtk-20170518-4a7340d8c626b98fe4b6c060ca2ca32a1e0ea413.tar.gz
mtk-20170518-4a7340d8c626b98fe4b6c060ca2ca32a1e0ea413.tar.bz2
target/sdk: ship .ko files to allow rebuild of the base kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48156
Diffstat (limited to 'target')
-rw-r--r--target/sdk/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile
index 012b597..a90b177 100644
--- a/target/sdk/Makefile
+++ b/target/sdk/Makefile
@@ -68,6 +68,7 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
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)