summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-05-29 14:26:36 +0200
committerFelix Fietkau <nbd@nbd.name>2017-07-05 12:49:21 +0200
commit27da508749e038479ceb19435cf2ca548cd5aef8 (patch)
treeca89f92115fcbc7814c0ac137148c70532094e19 /include
parentd71ffb9639564b91b92355fe35a72e0ed7cd2298 (diff)
downloadmtk-20170518-27da508749e038479ceb19435cf2ca548cd5aef8.zip
mtk-20170518-27da508749e038479ceb19435cf2ca548cd5aef8.tar.gz
mtk-20170518-27da508749e038479ceb19435cf2ca548cd5aef8.tar.bz2
build: fix kmod package build on non-GNU systems
BSD paste requires a filename argument, and it accepts - to use stdin as intended. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 5e2111c..b1d0e8d 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -131,7 +131,7 @@ define ModuleAutoLoad
}; \
$(3) \
if [ -n "$$$$$$$$modules" ]; then \
- modules="$$$$$$$$(echo "$$$$$$$$modules" | tr ' ' '\n' | sort | uniq | paste -s -d' ')"; \
+ modules="$$$$$$$$(echo "$$$$$$$$modules" | tr ' ' '\n' | sort | uniq | paste -s -d' ' -)"; \
mkdir -p $(2)/etc/modules.d; \
mkdir -p $(2)/CONTROL; \
echo "#!/bin/sh" > $(2)/CONTROL/postinst-pkg; \