aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Krummenacher <max.oss.09@gmail.com>2014-08-14 17:52:59 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2014-08-22 10:32:00 -0300
commit69413194c98a9957b0caa08815307e49880ac3b2 (patch)
tree80911341809bfa7ff91d54a822916fd886bc6974
parentc2f202645cf7b902f669584196c01ec342f255cb (diff)
downloadmeta-fsl-arm-69413194c98a9957b0caa08815307e49880ac3b2.tar.gz
meta-fsl-arm-69413194c98a9957b0caa08815307e49880ac3b2.tar.bz2
meta-fsl-arm-69413194c98a9957b0caa08815307e49880ac3b2.zip
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>
-rw-r--r--recipes-kernel/kernel-module-mcc/kernel-module-mcc/remove_bashisms_kmod.patch18
-rw-r--r--recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb3
2 files changed, 20 insertions, 1 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
diff --git a/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb b/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb
index 3accf90..ef10a58 100644
--- a/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb
+++ b/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c8959abcbbe4d6676c58eab9354019e6"
inherit module
-SRC_URI = "http://repository.timesys.com/buildsources/m/mcc-kmod/mcc-kmod-${PV}/mcc-kmod-${PV}.tar.bz2"
+SRC_URI = "http://repository.timesys.com/buildsources/m/mcc-kmod/mcc-kmod-${PV}/mcc-kmod-${PV}.tar.bz2 \
+ file://remove_bashisms_kmod.patch "
SRC_URI[md5sum] = "d72e8f6575605906be94ac2d26e6bc26"
SRC_URI[sha256sum] = "f86a860e68cefdce70796572d97ddd4cc5e08d9f13117b431599add55bf1a651"