aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-02-05 23:18:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-02-05 23:18:47 +0000
commit2467d38ca5d3169bf5c9444b3a0db77fe1d3348c (patch)
treedd86b706356badb00da034430c4a74d1d6ce7464 /package/kernel/mac80211
parent38aa3a820c01e10045bbba058765c675069e8bbb (diff)
downloadupstream-2467d38ca5d3169bf5c9444b3a0db77fe1d3348c.tar.gz
upstream-2467d38ca5d3169bf5c9444b3a0db77fe1d3348c.tar.bz2
upstream-2467d38ca5d3169bf5c9444b3a0db77fe1d3348c.zip
mac80211: don't hardcode /bin/bash
Instead of hardcoding /bin/bash, use /usr/bin/env bash - this fixes the build on FreeBSD 10.1. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44283 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/patches/001-fix_build.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/001-fix_build.patch b/package/kernel/mac80211/patches/001-fix_build.patch
index 99ef50e182..3c3efdd5a1 100644
--- a/package/kernel/mac80211/patches/001-fix_build.patch
+++ b/package/kernel/mac80211/patches/001-fix_build.patch
@@ -1,5 +1,14 @@
--- a/Makefile
+++ b/Makefile
+@@ -5,7 +5,7 @@
+ ifeq ($(KERNELRELEASE),)
+
+ MAKEFLAGS += --no-print-directory
+-SHELL := /bin/bash
++SHELL := /usr/bin/env bash
+ BACKPORT_PWD := $(shell pwd)
+
+ KMODDIR ?= updates
@@ -19,6 +19,7 @@ KLIB_BUILD ?= $(KLIB)/build/
KERNEL_CONFIG := $(KLIB_BUILD)/.config
KERNEL_MAKEFILE := $(KLIB_BUILD)/Makefile