浏览代码

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 <[email protected]>

SVN-Revision: 44283
Jo-Philipp Wich 10 年之前
父节点
当前提交
8f7ce3aa6d
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      package/kernel/mac80211/patches/001-fix_build.patch

+ 9 - 0
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