mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
tiptop: Fix parallel build issues
- Fix reproducible build issue - Fix out of tree builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
1bcd15ed5b
commit
a7c45eb037
|
|
@ -0,0 +1,28 @@
|
|||
From ad907b1aff217fe3b431ae052025ba8ba6cacc01 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 20 Jun 2018 23:14:58 -0700
|
||||
Subject: [PATCH] Fix build when S != B
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/Makefile.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||
index 4392c06..2c5cae4 100644
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -69,7 +69,7 @@ install:
|
||||
$(INSTALL) -d $(DESTDIR)$(bindir)
|
||||
$(INSTALL) -m 0755 tiptop $(DESTDIR)$(bindir)
|
||||
$(INSTALL) -d $(DESTDIR)$(man1dir)
|
||||
- $(INSTALL) -m 0644 tiptop.1 $(DESTDIR)$(man1dir)
|
||||
+ $(INSTALL) -m 0644 $(srcdir)/tiptop.1 $(DESTDIR)$(man1dir)
|
||||
ln $(DESTDIR)$(bindir)/tiptop $(DESTDIR)$(bindir)/ptiptop
|
||||
ln $(DESTDIR)$(man1dir)/tiptop.1 $(DESTDIR)$(man1dir)/ptiptop.1
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
From 848983a30dc99248ec45632bfc31718716a86e9d Mon Sep 17 00:00:00 2001
|
||||
From: Tomasz Buchert <tomasz@debian.org>
|
||||
Date: Fri, 7 Jul 2017 21:15:58 +0200
|
||||
Subject: [PATCH] Fix parallel build problems (by Adrian Bunk)
|
||||
|
||||
Taken from debian
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/Makefile.in | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||
index 32ab563..1993c9b 100644
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -59,8 +59,9 @@ lex.yy.c: calc.lex
|
||||
lex.yy.o: lex.yy.c
|
||||
$(CC) $(CFLAGS) -I$(srcdir) -c lex.yy.c
|
||||
|
||||
+y.tab.c: y.tab.h
|
||||
|
||||
-y.tab.c y.tab.h: calc.y
|
||||
+y.tab.h: calc.y
|
||||
$(YACC) -d $(srcdir)/calc.y
|
||||
|
||||
y.tab.o: y.tab.c
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
From 89dd9d8705408dccd5c5e47d22eba6fd6ec22b50 Mon Sep 17 00:00:00 2001
|
||||
From: Tomasz Buchert <tomasz@debian.org>
|
||||
Date: Thu, 9 Jul 2015 16:07:23 +0200
|
||||
Subject: [PATCH] fix reproducibility of build process
|
||||
|
||||
The upstream Makefile sets macros that depend on
|
||||
a particular platform where the package is built.
|
||||
We don't set them which fixes the problem.
|
||||
|
||||
Taken from debian
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/Makefile.in | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||
index 1993c9b..4392c06 100644
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -48,9 +48,7 @@ Makefile: Makefile.in ../config.status
|
||||
|
||||
|
||||
version.o: version.c
|
||||
- $(CC) $(CFLAGS) -DCOMPILE_HOST="\""`hostname`"\"" \
|
||||
- -DCOMPILE_DATE="\"`date`\"" \
|
||||
- -c $(srcdir)/version.c
|
||||
+ $(CC) $(CFLAGS) -c $(srcdir)/version.c
|
||||
|
||||
|
||||
lex.yy.c: calc.lex
|
||||
|
|
@ -4,11 +4,16 @@ LICENSE = "GPLv2"
|
|||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
DEPENDS = "ncurses libxml2 bison-native flex-native"
|
||||
|
||||
SRC_URI = "http://tiptop.gforge.inria.fr/releases/${BP}.tar.gz"
|
||||
SRC_URI = "http://tiptop.gforge.inria.fr/releases/${BP}.tar.gz \
|
||||
file://0001-Fix-parallel-build-problems-by-Adrian-Bunk.patch \
|
||||
file://0002-fix-reproducibility-of-build-process.patch \
|
||||
file://0001-Fix-build-when-S-B.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "46ca0fdf0236f02dd2b96d347626d2a2"
|
||||
SRC_URI[sha256sum] = "51c4449c95bba34f16b429729c2f58431490665d8093efaa8643b2e1d1084182"
|
||||
|
||||
inherit autotools-brokensep
|
||||
inherit autotools
|
||||
|
||||
EXTRA_OECONF = "CFLAGS="$CFLAGS -I${STAGING_INCDIR}/libxml2""
|
||||
COMPATIBLE_HOST = "(i.86|x86_64|arm|powerpc|aarch64).*-linux"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user