Patchwork [meta-fsl-arm,v2,1/3] libmcc: bump to version 1.04, drop patches

login
register
mail settings
Submitter Andy Voltz
Date Feb. 24, 2014, 6:24 p.m.
Message ID <1393266280-28621-2-git-send-email-andy.voltz@timesys.com>
Download mbox | patch
Permalink /patch/67291/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Andy Voltz - Feb. 24, 2014, 6:24 p.m.
this version was released to integrate the cflags and symlink patches

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Anthony Felice <tony.felice@timesys.com>
---
 recipes-bsp/libmcc/libmcc/libmcc-cflags.patch  | 18 ---------------
 recipes-bsp/libmcc/libmcc/libmcc-symlink.patch | 32 --------------------------
 recipes-bsp/libmcc/libmcc_1.03.bb              | 23 ------------------
 recipes-bsp/libmcc/libmcc_1.04.bb              | 21 +++++++++++++++++
 4 files changed, 21 insertions(+), 73 deletions(-)
 delete mode 100644 recipes-bsp/libmcc/libmcc/libmcc-cflags.patch
 delete mode 100644 recipes-bsp/libmcc/libmcc/libmcc-symlink.patch
 delete mode 100644 recipes-bsp/libmcc/libmcc_1.03.bb
 create mode 100644 recipes-bsp/libmcc/libmcc_1.04.bb
Otavio Salvador - Feb. 24, 2014, 6:36 p.m.
On Mon, Feb 24, 2014 at 3:24 PM, Andy Voltz <andy.voltz@timesys.com> wrote:
> this version was released to integrate the cflags and symlink patches
>
> Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
> Signed-off-by: Anthony Felice <tony.felice@timesys.com>

Just a small remark. When sending patches which involve file renames
please use the -M as it easy the review.

Don't resend the patchset if no other commands are done. I will handle this one.
Andy Voltz - Feb. 24, 2014, 6:56 p.m.
Hi Otavio,

> Just a small remark. When sending patches which involve file renames
> please use the -M as it easy the review.
> 
> Don't resend the patchset if no other commands are done. I will handle this one.
> 

Sorry about that. I tried that option and see that is cleaner. I'll do that
in future updates.

Patch

diff --git a/recipes-bsp/libmcc/libmcc/libmcc-cflags.patch b/recipes-bsp/libmcc/libmcc/libmcc-cflags.patch
deleted file mode 100644
index 01f4c41..0000000
--- a/recipes-bsp/libmcc/libmcc/libmcc-cflags.patch
+++ /dev/null
@@ -1,18 +0,0 @@ 
-This patch is required with the Yocto toolchain.
-
-Upstream-status: Pending
-
-diff -Nuar libmcc-1.03-orig/Makefile libmcc-1.03/Makefile
---- libmcc-1.03-orig/Makefile	2013-08-12 14:43:50.063656300 -0400
-+++ libmcc-1.03/Makefile	2013-08-12 14:44:10.007427139 -0400
-@@ -1,9 +1,8 @@
--CFLAGS+=-Iinclude/
- all: build/libmcc.a build/libmcc.so
- 
- build/libmcc.o: src/libmcc.c
- 	mkdir -p build/
--	$(CC) -c -fPIC $< -o $@ $(CFLAGS)
-+	$(CC) -c -fPIC $< -o $@ -Iinclude/ $(CFLAGS)
- 
- build/libmcc.a: build/libmcc.o
- 	$(AR) rcs $@ $<
diff --git a/recipes-bsp/libmcc/libmcc/libmcc-symlink.patch b/recipes-bsp/libmcc/libmcc/libmcc-symlink.patch
deleted file mode 100644
index f21a93e..0000000
--- a/recipes-bsp/libmcc/libmcc/libmcc-symlink.patch
+++ /dev/null
@@ -1,32 +0,0 @@ 
-This patch adds the proper version suffix to the libmcc shared libs.
-
-Upstream-status: Pending
-
-diff -Nuar libmcc-1.03-orig/Makefile libmcc-1.03/Makefile
---- libmcc-1.03-orig/Makefile	2013-08-13 10:05:46.187200835 -0400
-+++ libmcc-1.03/Makefile	2013-08-13 12:23:45.167119943 -0400
-@@ -1,4 +1,4 @@
--all: build/libmcc.a build/libmcc.so
-+all: build/libmcc.a build/libmcc.so.1.0
- 
- build/libmcc.o: src/libmcc.c
- 	mkdir -p build/
-@@ -7,13 +7,16 @@
- build/libmcc.a: build/libmcc.o
- 	$(AR) rcs $@ $<
- 
--build/libmcc.so: build/libmcc.o
-+build/libmcc.so.1.0: build/libmcc.o
- 	$(CC) -shared -o $@  $<
- 
- install:
- 	mkdir -p $(DESTDIR)/usr/{lib,include}
--	cp -f build/libmcc.{so,a} $(DESTDIR)/usr/lib
-+	cp -f build/libmcc.{so.*,a} $(DESTDIR)/usr/lib
- 	cp -f include/*.h $(DESTDIR)/usr/include
-+	cd $(DESTDIR)/usr/lib/
-+	ln -sf libmcc.so.1.0 libmcc.so.1
-+	ln -sf libmcc.so.1 libmcc.so
- 
- clean:
- 	rm -rf build
diff --git a/recipes-bsp/libmcc/libmcc_1.03.bb b/recipes-bsp/libmcc/libmcc_1.03.bb
deleted file mode 100644
index 5d3c968..0000000
--- a/recipes-bsp/libmcc/libmcc_1.03.bb
+++ /dev/null
@@ -1,23 +0,0 @@ 
-# Copyright (C) 2013 Timesys Corporation
-SUMMARY = "Multicore communication Library"
-LICENSE = "GPL-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
-
-DEPENDS = "kernel-module-mcc"
-
-inherit autotools
-
-SRC_URI = "http://repository.timesys.com/buildsources/l/libmcc/libmcc-${PV}/libmcc-${PV}.tar.bz2 \
-           file://libmcc-cflags.patch \
-           file://libmcc-symlink.patch"
-
-SRC_URI[md5sum] = "adac15d52206be21a4589b2b923af4cc"
-SRC_URI[sha256sum] = "8b4d88f260d4d3a67ee2c16e20112e0584403f350182087daa1cfafeceb16a7f"
-
-S = "${WORKDIR}/libmcc-${PV}"
-
-CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
-
-RDEPENDS_${PN} = "kernel-module-mcc"
-
-COMPATIBLE_MACHINE = "(vf60)"
diff --git a/recipes-bsp/libmcc/libmcc_1.04.bb b/recipes-bsp/libmcc/libmcc_1.04.bb
new file mode 100644
index 0000000..35efd45
--- /dev/null
+++ b/recipes-bsp/libmcc/libmcc_1.04.bb
@@ -0,0 +1,21 @@ 
+# Copyright (C) 2013 Timesys Corporation
+SUMMARY = "Multicore communication Library"
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
+
+DEPENDS = "kernel-module-mcc"
+
+inherit autotools
+
+SRC_URI = "http://repository.timesys.com/buildsources/l/libmcc/libmcc-${PV}/libmcc-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "e93ce76b4419f0902a848e1769bf22ea"
+SRC_URI[sha256sum] = "3de76c5b1a096021afebfc79ca4e85d05646beb3101edcecf73b82886e7a00c0"
+
+S = "${WORKDIR}/libmcc-${PV}"
+
+CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
+
+RDEPENDS_${PN} = "kernel-module-mcc"
+
+COMPATIBLE_MACHINE = "(vf60)"