aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/kernel-module-mcc/kernel-module-mcc/remove_bashisms_kmod.patch
blob: ed051fbe9a69d549dada93e4f9d1f0f42b2b3fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Replacing bash brace expansion with a Posix compliant syntax to make
do_install succeed also when using a dash shell.

Upstream-Status: Pending

Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
--- mcc-kmod-1.04/Makefile.orig	2014-08-09 11:22:34.890376334 +0200
+++ mcc-kmod-1.04/Makefile	2014-08-09 11:23:49.720729465 +0200
@@ -14,8 +14,7 @@
 	$(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install INSTALL_MOD_PATH=$(DESTDIR)
 	@echo Copying mcc headers to toolchain
 	mkdir -p $(DESTDIR)/usr/include/linux
-	cp -f {mcc_linux.h,mcc_common.h,mcc_config.h} $(DESTDIR)/usr/include/linux/
-
+	cp -f mcc_linux.h mcc_common.h mcc_config.h $(DESTDIR)/usr/include/linux/
 
 clean:
 	$(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean