Merge pull request #92 from MentorEmbedded/fixup-multilib-header-error

glibc-external: don't setup bits/syscall.h
This commit is contained in:
Noor-Ahsan
2015-08-05 12:08:08 +05:00

View File

@@ -134,6 +134,8 @@ python () {
# Undo the do_install_append which joined shell to python
install = d.getVar('do_install', False)
python, shell = install.split('rm -f ', 1)
# bits/syscall.h is in linux-libc-headers-external
shell = shell.replace('oe_multilib_header bits/syscall.h\n', '')
d.setVar('do_install_glibc', 'rm -f ' + shell)
d.setVarFlag('do_install_glibc', 'func', '1')
new_install = python + '\n bb.build.exec_func("do_install_glibc", d)\n'