diff options
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 @@ +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 |