summaryrefslogtreecommitdiffstats
path: root/meta/classes/uninative.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-03-24 15:43:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-26 07:34:58 +0000
commit07f0af3d333b139e958a12d0d0cf52616002f71c (patch)
treefbcbe3f03aa5210564df820e765e37d4681cb692 /meta/classes/uninative.bbclass
parentc3c0d0ac55836d657d1a695d290a2ef2f32eb2a4 (diff)
downloadpoky-07f0af3d333b139e958a12d0d0cf52616002f71c.tar.gz
uninative: don't try to relocate static binaries
patchelf will understandably error out if there isn't a .interp section to relocate, so don't try to relocate static binaries. (From OE-Core rev: 2a1803e64174825d9392094ae6e680a1ac96eb4a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uninative.bbclass')
-rw-r--r--meta/classes/uninative.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index b045a2818b..0798717714 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -127,6 +127,8 @@ python uninative_changeinterp () {
127 elf.open() 127 elf.open()
128 except oe.qa.NotELFFileError: 128 except oe.qa.NotELFFileError:
129 continue 129 continue
130 if not elf.isDynamic():
131 continue
130 132
131 try: 133 try:
132 subprocess.check_output(("patchelf-uninative", "--set-interpreter", 134 subprocess.check_output(("patchelf-uninative", "--set-interpreter",