Commit Graph

6 Commits

Author SHA1 Message Date
Khem Raj
dff93352c8 linux-atm: Fix build with kernel headers 5.2+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29 12:23:12 -07:00
Adrian Bunk
d062ff45be linux-atm: Replace bogus on_exit removal with musl-specific hack
Functions registered by atexit and on_exit have different signatures,
if registered with atexit no parameters are passed.

The function only prints a trace on nonzero exit(),
so can safely be disabled in musl builds.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-16 21:07:25 -07:00
Khem Raj
ec3307cebe linux-atm: Fix build with linux 5.x headers
Fixes
error: 'IFNAMSIZ' undeclared here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-08 09:52:54 -08:00
Khem Raj
cf9a6a2bbc linux-atm: Fix build with hardening flags
Port to build on musl while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:07 -04:00
dengke.du@windriver.com
c8f78ecb9b linux-atm: fix do_compile error
With linux kernel v4.8, for file ./src/maint/zntune.c, glibc time.h is
included before linux time.h, when compile zntune.c, it break down by
the following errors:

	redefinition of 'struct timespec' 'struct timeval'
	                'struct timezone' 'struct itimerval'

We should exclude the linux time.h by disable linux/atm_zatm.h and move
some useful definition in linux/atm_zatm.h to a new header file in linux-atm
source code to resolve it.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-11-14 10:07:19 -05:00
Bian Naimeng
07d5d4d5d9 linux-atm: add recipe.
Drivers and tools to support ATM networking under Linux

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-01-07 13:48:14 -05:00