summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/makedumpfile
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@cn.fujitsu.com>2020-02-20 01:40:21 -0800
committerKhem Raj <raj.khem@gmail.com>2020-02-20 08:22:38 -0800
commit0daeae19f694d45116e8ce509c64657b280e7f27 (patch)
treeb183ccbe11d4ca38ad4a82d4ea4c42487f999022 /meta-oe/recipes-kernel/makedumpfile
parent0845f5f77c90df04f7b477143c412522a6d8b200 (diff)
downloadmeta-openembedded-0daeae19f694d45116e8ce509c64657b280e7f27.tar.gz
makedumpfile: upgrade 1.6.6 -> 1.6.7
refresh the following patch: 0001-makedumpfile-replace-hardcode-CFLAGS.patch 0003-build-Delete-libebl-from-required-libraries-during-l.patch removed since it is included in 1.6.7 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/makedumpfile')
-rw-r--r--meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch6
-rw-r--r--meta-oe/recipes-kernel/makedumpfile/makedumpfile/0003-build-Delete-libebl-from-required-libraries-during-l.patch34
-rw-r--r--meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.7.bb (renamed from meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.6.bb)5
3 files changed, 5 insertions, 40 deletions
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
index c0f82f321..ff093a72b 100644
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
+++ b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
@@ -83,7 +83,7 @@ index 1fdb628..5dce589 100644
83 OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART)) 83 OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART))
84@@ -52,17 +53,17 @@ OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH)) 84@@ -52,17 +53,17 @@ OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH))
85 85
86 LIBS = -ldw -lbz2 -lebl -ldl -lelf -lz 86 LIBS = -ldw -lbz2 -ldl -lelf -lz
87 ifneq ($(LINKTYPE), dynamic) 87 ifneq ($(LINKTYPE), dynamic)
88-LIBS := -static $(LIBS) 88-LIBS := -static $(LIBS)
89+LIBS := $(LIBS) 89+LIBS := $(LIBS)
@@ -102,7 +102,7 @@ index 1fdb628..5dce589 100644
102 endif 102 endif
103 103
104 LIBS := -lpthread $(LIBS) 104 LIBS := -lpthread $(LIBS)
105@@ -82,14 +83,14 @@ LIBS := $(LIBS) $(call try-run,\ 105@@ -87,14 +88,14 @@ LIBS := $(LIBS) $(call try-run,\
106 all: makedumpfile 106 all: makedumpfile
107 107
108 $(OBJ_PART): $(SRC_PART) 108 $(OBJ_PART): $(SRC_PART)
@@ -119,7 +119,7 @@ index 1fdb628..5dce589 100644
119 echo .TH MAKEDUMPFILE 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" \"Linux System Administrator\'s Manual\" > temp.8 119 echo .TH MAKEDUMPFILE 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" \"Linux System Administrator\'s Manual\" > temp.8
120 grep -v "^.TH MAKEDUMPFILE 8" $(VPATH)makedumpfile.8 >> temp.8 120 grep -v "^.TH MAKEDUMPFILE 8" $(VPATH)makedumpfile.8 >> temp.8
121 mv temp.8 makedumpfile.8 121 mv temp.8 makedumpfile.8
122@@ -100,7 +101,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH) 122@@ -105,7 +106,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH)
123 gzip -c ./makedumpfile.conf.5 > ./makedumpfile.conf.5.gz 123 gzip -c ./makedumpfile.conf.5 > ./makedumpfile.conf.5.gz
124 124
125 eppic_makedumpfile.so: extension_eppic.c 125 eppic_makedumpfile.so: extension_eppic.c
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0003-build-Delete-libebl-from-required-libraries-during-l.patch b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0003-build-Delete-libebl-from-required-libraries-during-l.patch
deleted file mode 100644
index 40956434d..000000000
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0003-build-Delete-libebl-from-required-libraries-during-l.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 460851c15e807d1a2515dfb985423f8a6624f4aa Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 8 Jan 2020 19:14:19 -0800
4Subject: [PATCH 3/3] build: Delete libebl from required libraries during link
5
6This is a static library from elfutils, which is not made available when
7static archives are disabled, this can result in link failures e.g.
8
9aarch64-yoe-linux-musl/9.2.0/ld: cannot find -lebl
10collect2: error: ld returned 1 exit status
11Makefile:93: recipe for target 'makedumpfile' failed
12
13Upstream-Status: Pending
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 Makefile | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/Makefile b/Makefile
20index 5dce589..c3a4054 100644
21--- a/Makefile
22+++ b/Makefile
23@@ -51,7 +51,7 @@ OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART))
24 SRC_ARCH = arch/arm.c arch/arm64.c arch/x86.c arch/x86_64.c arch/ia64.c arch/ppc64.c arch/s390x.c arch/ppc.c arch/sparc64.c
25 OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH))
26
27-LIBS = -ldw -lbz2 -lebl -ldl -lelf -lz
28+LIBS = -ldw -lbz2 -ldl -lelf -lz
29 ifneq ($(LINKTYPE), dynamic)
30 LIBS := $(LIBS)
31 endif
32--
332.24.1
34
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.6.bb b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.7.bb
index 6924e39d6..8d1676a4c 100644
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.6.bb
+++ b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.7.bb
@@ -24,10 +24,9 @@ SRC_URI = "\
24 ${SOURCEFORGE_MIRROR}/makedumpfile/${BPN}-${PV}.tar.gz \ 24 ${SOURCEFORGE_MIRROR}/makedumpfile/${BPN}-${PV}.tar.gz \
25 file://0001-makedumpfile-replace-hardcode-CFLAGS.patch \ 25 file://0001-makedumpfile-replace-hardcode-CFLAGS.patch \
26 file://0002-mem_section-Support-only-46-bit-for-MAX_PHYSMEM_BITS.patch \ 26 file://0002-mem_section-Support-only-46-bit-for-MAX_PHYSMEM_BITS.patch \
27 file://0003-build-Delete-libebl-from-required-libraries-during-l.patch \
28" 27"
29SRC_URI[md5sum] = "6fd632b97ad78d9a0a3b0f0989094064" 28SRC_URI[md5sum] = "808ef840ca49ca6bfde77c097cf429f5"
30SRC_URI[sha256sum] = "d007eec05cb14f0155f2d06a0d4dc70d321dbb2aec65fccdce953145c8230324" 29SRC_URI[sha256sum] = "e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8"
31 30
32UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/makedumpfile/files/makedumpfile/" 31UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/makedumpfile/files/makedumpfile/"
33UPSTREAM_CHECK_REGEX = "makedumpfile/(?P<pver>\d+(\.\d+)+)/" 32UPSTREAM_CHECK_REGEX = "makedumpfile/(?P<pver>\d+(\.\d+)+)/"