diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-07-18 16:00:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-20 15:27:39 +0100 |
commit | 1ad88528927fae0118da8de1c0dfe2af9ed81268 (patch) | |
tree | 2c667644c94a6123ad15640dac231667e7f36c9e /meta/recipes-kernel/sysprof | |
parent | 07fb4265c95cd18705064a7f25f6463c037836ef (diff) | |
download | poky-1ad88528927fae0118da8de1c0dfe2af9ed81268.tar.gz |
sysprof: Define NT_GNU_BUILD_ID if undefined
This is needed on uclibc which does not have all GNU extentions
(From OE-Core rev: 22fdaba9813beb276caf2b6194fccc4cccf138c4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/sysprof')
-rw-r--r-- | meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch | 22 | ||||
-rw-r--r-- | meta/recipes-kernel/sysprof/sysprof_git.bb | 5 |
2 files changed, 25 insertions, 2 deletions
diff --git a/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch b/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch new file mode 100644 index 0000000000..dcc2cbe67c --- /dev/null +++ b/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | On uclibc elf.h does not have GNU extentions but we need this define | ||
2 | so we define it locally if its not getting it from elf.h | ||
3 | |||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Index: git/elfparser.h | ||
9 | =================================================================== | ||
10 | --- git.orig/elfparser.h 2011-07-16 18:57:41.000000000 -0700 | ||
11 | +++ git/elfparser.h 2011-07-16 20:28:54.733829895 -0700 | ||
12 | @@ -17,6 +17,10 @@ | ||
13 | */ | ||
14 | #include <glib.h> | ||
15 | |||
16 | +#ifndef NT_GNU_BUILD_ID | ||
17 | +#define NT_GNU_BUILD_ID 3 | ||
18 | +#endif | ||
19 | + | ||
20 | typedef struct ElfSym ElfSym; | ||
21 | typedef struct ElfParser ElfParser; | ||
22 | |||
diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb index 2246803d3d..1af5822967 100644 --- a/meta/recipes-kernel/sysprof/sysprof_git.bb +++ b/meta/recipes-kernel/sysprof/sysprof_git.bb | |||
@@ -5,11 +5,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |||
5 | DEPENDS = "gtk+ libglade" | 5 | DEPENDS = "gtk+ libglade" |
6 | 6 | ||
7 | SRCREV = "38a6af1f0a45e528fd2842983da71e0f23c70d6a" | 7 | SRCREV = "38a6af1f0a45e528fd2842983da71e0f23c70d6a" |
8 | PR = r0 | 8 | PR = r1 |
9 | PV = "1.1.6+git${SRCPV}" | 9 | PV = "1.1.6+git${SRCPV}" |
10 | 10 | ||
11 | SRC_URI = "git://git.gnome.org/sysprof;protocol=git \ | 11 | SRC_URI = "git://git.gnome.org/sysprof;protocol=git \ |
12 | " | 12 | file://define-NT_GNU_BUILD_ID.patch \ |
13 | " | ||
13 | 14 | ||
14 | SRC_URI_append_arm = " file://rmb-arm.patch" | 15 | SRC_URI_append_arm = " file://rmb-arm.patch" |
15 | SRC_URI_append_mips = " file://rmb-mips.patch" | 16 | SRC_URI_append_mips = " file://rmb-mips.patch" |