diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2014-08-14 17:52:59 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-08-15 11:11:56 -0300 |
commit | c51ba270b08ca957b64dcb32d52a8a6dec78fc74 (patch) | |
tree | e0e4b59c934d0c424730c8d9a170a0ee9e49ab9c /recipes-kernel/kernel-module-mcc/kernel-module-mcc/remove_bashisms_kmod.patch | |
parent | fbe8aa2f5309f531d12d7c2b61f952d62d9118ac (diff) | |
download | meta-fsl-arm-c51ba270b08ca957b64dcb32d52a8a6dec78fc74.tar.gz |
kernel-module-mcc: remove bashism in Makefile
Replacing bash brace expansion with a Posix compliant syntax to make
do_install succeed also when using a dash shell.
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/kernel-module-mcc/kernel-module-mcc/remove_bashisms_kmod.patch')
-rw-r--r-- | recipes-kernel/kernel-module-mcc/kernel-module-mcc/remove_bashisms_kmod.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-kernel/kernel-module-mcc/kernel-module-mcc/remove_bashisms_kmod.patch b/recipes-kernel/kernel-module-mcc/kernel-module-mcc/remove_bashisms_kmod.patch new file mode 100644 index 0000000..ed051fb --- /dev/null +++ b/recipes-kernel/kernel-module-mcc/kernel-module-mcc/remove_bashisms_kmod.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Replacing bash brace expansion with a Posix compliant syntax to make | ||
2 | do_install succeed also when using a dash shell. | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> | ||
7 | --- mcc-kmod-1.04/Makefile.orig 2014-08-09 11:22:34.890376334 +0200 | ||
8 | +++ mcc-kmod-1.04/Makefile 2014-08-09 11:23:49.720729465 +0200 | ||
9 | @@ -14,8 +14,7 @@ | ||
10 | $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install INSTALL_MOD_PATH=$(DESTDIR) | ||
11 | @echo Copying mcc headers to toolchain | ||
12 | mkdir -p $(DESTDIR)/usr/include/linux | ||
13 | - cp -f {mcc_linux.h,mcc_common.h,mcc_config.h} $(DESTDIR)/usr/include/linux/ | ||
14 | - | ||
15 | + cp -f mcc_linux.h mcc_common.h mcc_config.h $(DESTDIR)/usr/include/linux/ | ||
16 | |||
17 | clean: | ||
18 | $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean | ||