diff options
author | Peter Seiderer <ps.report@gmx.net> | 2017-03-20 21:00:20 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-20 21:51:36 +0100 |
commit | b29552216f988875635ab59600e1ff536685734b (patch) | |
tree | 72f507a9c38a97074021786784bd5d42c0ec1a69 /package/python-sortedcontainers/python-sortedcontainers.mk | |
parent | 8eecaf2d122f7da6f59964f5eb00139a32373d06 (diff) | |
download | buildroot-b29552216f988875635ab59600e1ff536685734b.tar.gz buildroot-b29552216f988875635ab59600e1ff536685734b.zip |
wiringpi: fix compile for missing baud defines
For sparc-buildroot-linux-uclibc/sysroot/usr/include/asm/termbits.h
containing:
/* These have totally bogus values and nobody uses them
so far. Later on we'd have to use say 0x10000x and
adjust CBAUD constant and drivers accordingly.
#define B2500000 0x00001010
#define B3000000 0x00001011
#define B3500000 0x00001012
#define B4000000 0x00001013 */
Fixes [1]:
wiringSerial.c: In function 'serialOpen':
wiringSerial.c:78:28: error: 'B2500000' undeclared (first use in this function)
case 2500000: myBaud = B2500000 ; break ;
^
wiringSerial.c:78:28: note: each undeclared identifier is reported only once for each function it appears in
wiringSerial.c:79:28: error: 'B3000000' undeclared (first use in this function)
case 3000000: myBaud = B3000000 ; break ;
^
wiringSerial.c:80:28: error: 'B3500000' undeclared (first use in this function)
case 3500000: myBaud = B3500000 ; break ;
^
wiringSerial.c:81:28: error: 'B4000000' undeclared (first use in this function)
case 4000000: myBaud = B4000000 ; break ;
^
[1] http://autobuild.buildroot.net/results/5be/5bea1e95d1c7b444a5f0a5770251f1af3efc9c18
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-sortedcontainers/python-sortedcontainers.mk')
0 files changed, 0 insertions, 0 deletions