[Buildroot] [PATCH v2] package/socat: Fix TABDLY, CSIZE and CRDLY shifts for PowerPC

Peter Korsgaard peter at korsgaard.com
Thu Jun 8 20:41:35 UTC 2017


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 > Hello,
 > On Tue,  6 Jun 2017 15:04:03 -0700, Andrey Smirnov wrote:
 >> 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 at gmail.com>
 >> Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
 >> ---
 >> package/socat/socat.mk | 13 +++++++++++--
 >> 1 file changed, 11 insertions(+), 2 deletions(-)

 > Applied to master, thanks. Peter: I think we should apply for the LTS
 > branch(es).

Agreed. Committed to 2017.02.x and 2017.05.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list