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:25:02 +0100 |
commit | 22fdaba9813beb276caf2b6194fccc4cccf138c4 (patch) | |
tree | 009747a6828684a23c6d0806652d559bc1433ca5 /meta/recipes-kernel/sysprof/files | |
parent | 46a335577506f36714f66135931b7b9669dc1416 (diff) | |
download | openembedded-core-22fdaba9813beb276caf2b6194fccc4cccf138c4.tar.gz openembedded-core-22fdaba9813beb276caf2b6194fccc4cccf138c4.tar.bz2 openembedded-core-22fdaba9813beb276caf2b6194fccc4cccf138c4.zip |
sysprof: Define NT_GNU_BUILD_ID if undefined
This is needed on uclibc which does not have all GNU extentions
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-kernel/sysprof/files')
-rw-r--r-- | meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch | 22 |
1 files changed, 22 insertions, 0 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 @@ +On uclibc elf.h does not have GNU extentions but we need this define +so we define it locally if its not getting it from elf.h + +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Upstream-Status: Pending + +Index: git/elfparser.h +=================================================================== +--- git.orig/elfparser.h 2011-07-16 18:57:41.000000000 -0700 ++++ git/elfparser.h 2011-07-16 20:28:54.733829895 -0700 +@@ -17,6 +17,10 @@ + */ + #include <glib.h> + ++#ifndef NT_GNU_BUILD_ID ++#define NT_GNU_BUILD_ID 3 ++#endif ++ + typedef struct ElfSym ElfSym; + typedef struct ElfParser ElfParser; + |