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-05-29 14:27:08 +0200
commit1a341e89a7887eff68fe79cff4b63d0b4772f559 (patch)
tree6dd855c631f7ab67f9c84f71ce0b63604a9762ed /include
parent9235a29e1a9764361940d4b38f4fce0358d8d9ee (diff)
downloadmtk-20170518-1a341e89a7887eff68fe79cff4b63d0b4772f559.zip
mtk-20170518-1a341e89a7887eff68fe79cff4b63d0b4772f559.tar.gz
mtk-20170518-1a341e89a7887eff68fe79cff4b63d0b4772f559.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 301f24b..9c01d5f 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -133,7 +133,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; \