M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@ -0,0 +1,19 @@
Get the version of mklibs by simpler means. The MKLIBS_VERSION string in the
configure.ac file is replaced with real version string by the
do_configure_prepend() function from the recipe .bb file.
Upstream-Status: Inappropriate [configuration]
Nitin A Kamble <nitin.a.kamble@intel.com>
Date: 2011/01/24
Index: mklibs/configure.ac
===================================================================
--- mklibs.orig/configure.ac 2010-02-21 17:34:56.000000000 -0800
+++ mklibs/configure.ac 2011-01-24 18:52:19.943242079 -0800
@@ -1,4 +1,4 @@
-AC_INIT([mklibs],m4_esyscmd(dpkg-parsechangelog | perl -ne 'print $1 if m/^Version: (.*)$/;'))
+AC_INIT([mklibs], MKLIBS_VERSION)
AM_INIT_AUTOMAKE([foreign no-define])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE

View File

@ -0,0 +1,26 @@
The libc6-dev in Ubuntu 9.04 is so old that the elf.h doesn't
define STT_GNU_IFUNC, so we have to define it ourselves.
Upstream-Status: Inappropriate [other] - old release specific, maybe removable
-- Dexuan Cui (dexuan.cui@intel.com) Feb 16, 2011.
diff --git a/src/mklibs-readelf/main.cpp b/src/mklibs-readelf/main.cpp
index 2444c39..56d93f8 100644
--- a/src/mklibs-readelf/main.cpp
+++ b/src/mklibs-readelf/main.cpp
@@ -6,6 +6,14 @@
#include <vector>
#include <elf.h>
+/*
+ * The /usr/include/elf.h in some distributions(like Ubuntu 9.04) doesn't
+ * define the macro. We need to define it here.
+ */
+#ifndef STT_GNU_IFUNC
+#define STT_GNU_IFUNC 10 /* Symbol is indirect code object */
+#endif
+
#include <getopt.h>
#include "elf.hpp"

View File

@ -0,0 +1,24 @@
DESCRIPTION = "mklibs produces cut-down shared libraries that contain only the routines required by a particular set of executables."
HOMEPAGE = "https://code.launchpad.net/mklibs"
SECTION = "devel"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=98d31037b13d896e33890738ef01af64"
DEPENDS = "python-native"
PR = "r0"
SRC_URI = "http://ftp.de.debian.org/debian/pool/main/m/mklibs/${BPN}_${PV}.tar.gz \
file://ac_init_fix.patch\
file://fix_STT_GNU_IFUNC.patch\
"
SRC_URI[md5sum] = "a462d9b802164993d247c1193116d78b"
SRC_URI[sha256sum] = "706aa22ec979bc54adaf9616d278cecc2f1e8cd5faa656269c9760e8669fcc1e"
S = "${WORKDIR}/${BPN}"
inherit autotools gettext native
do_configure_prepend() {
sed "s+MKLIBS_VERSION+${PV}+" ${S}/configure.ac
}