aboutsummaryrefslogtreecommitdiffstats
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
commitfbf2d61e762fe748afce38fc21498454dcd81a4a (patch)
treeca4a889019c690cca3c598903f0ecd57187cbdf7 /target
parent089a9af70523d5efd9bae73d3ff692841bb14460 (diff)
downloadmaster-187ad058-fbf2d61e762fe748afce38fc21498454dcd81a4a.tar.gz
master-187ad058-fbf2d61e762fe748afce38fc21498454dcd81a4a.tar.bz2
master-187ad058-fbf2d61e762fe748afce38fc21498454dcd81a4a.zip
target/sdk: ship .ko files to allow rebuild of the base kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48156 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 012b597c84..a90b177322 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)