]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/socat: Fix TABDLY, CSIZE and CRDLY shifts for PowerPC
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 6 Jun 2017 22:04:03 +0000 (15:04 -0700)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 8 Jun 2017 20:41:41 +0000 (22:41 +0200)
commit1a9b9eb342fa5f6b51b68c0bb2311f35ed82ce3a
tree3d93c4d2226634f3bcd43d185cc39c241e6b3bd8
parent14097c56d33a4964d7f77ef9fea22442381f0207
package/socat: Fix TABDLY, CSIZE and CRDLY shifts for PowerPC

As can be seen in linux/arch/powerpc/include/uapi/asm/termbits.h are
defined as (note that those are octal numbers):

\#define TABDLY 00006000
\#define CSIZE 00001400
\#define CRDLY 00030000

which gives shifts of 10, 8 and 12. Adjust socat.mk accordingly to
reflect that difference.

Signed-off-by: Mark Hinds <zoronic@gmail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit a52896f755a55d0fa30f6ba5092c69edaa73724d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/socat/socat.mk