summaryrefslogtreecommitdiffstats
path: root/package/i2c-tools/0001-lib-Module.mk-Add-missing-dependencies.patch
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-12-12 07:13:14 -0800
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-13 21:19:06 +0100
commit95f11fb25d68a5b92426710eeeb0841771d151a4 (patch)
treecf5e8f4ed1d4bd1914bfc59c0ea1521faa49dc09 /package/i2c-tools/0001-lib-Module.mk-Add-missing-dependencies.patch
parent2517fa73edcb48d05fae7795ea75591e004a0177 (diff)
downloadbuildroot-95f11fb25d68a5b92426710eeeb0841771d151a4.tar.gz
buildroot-95f11fb25d68a5b92426710eeeb0841771d151a4.zip
package/uclibc: add custom bits/poll.h for xtensa
Definitions of POLLWRNORM, POLLWRBAND and POLLREMOVE in xtensa linux kernel are non-standard. Provide bits/poll.h with correct values for these constants for uclibc-ng. This fixes the following strace build errors: In file included from xlat/pollflags.h:4:0, from poll.c:34: ./static_assert.h:40:24: error: static assertion failed: "POLLWRBAND != 0x0100" # define static_assert _Static_assert ^ xlat/pollflags.h:75:1: note: in expansion of macro ‘static_assert’ static_assert((POLLWRBAND) == (0x0100), "POLLWRBAND != 0x0100"); ^~~~~~~~~~~~~ ./static_assert.h:40:24: error: static assertion failed: "POLLREMOVE != 0x0800" # define static_assert _Static_assert ^ xlat/pollflags.h:117:1: note: in expansion of macro ‘static_assert’ static_assert((POLLREMOVE) == (0x0800), "POLLREMOVE != 0x0800"); ^~~~~~~~~~~~~ Fixes: http://autobuild.buildroot.net/results/5a0112b7a2c81fa5253c9adc93efe415256cd811 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/i2c-tools/0001-lib-Module.mk-Add-missing-dependencies.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud