Author: jow
Date: 2015-02-06 00:18:47 +0100 (Fri, 06 Feb 2015)
New Revision: 44283

Modified:
   trunk/package/kernel/mac80211/patches/001-fix_build.patch
Log:
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]>

Modified: trunk/package/kernel/mac80211/patches/001-fix_build.patch
===================================================================
--- trunk/package/kernel/mac80211/patches/001-fix_build.patch   2015-02-05 
23:18:42 UTC (rev 44282)
+++ trunk/package/kernel/mac80211/patches/001-fix_build.patch   2015-02-05 
23:18:47 UTC (rev 44283)
@@ -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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to