Commit Graph

5 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 2052514dc9 Speculative fix for PATH_MAX not known
The latest poky master build is failing with the error below. Let's
include limits.h and see if this is already fixing it.

| rtl8168-eeprom.c: In function 'eeprom_backup':
| rtl8168-eeprom.c:406:13: error: 'PATH_MAX' undeclared (first use in this function)
|   char fname[PATH_MAX];
|              ^~~~~~~~
2017-06-13 12:52:35 +08:00
Holger Hans Peter Freyther 47e0b24d7a build: At least honor the LDFLAGS from the environment
When not honoring the environment we end up linking it without the
GNU_HASH for symbol look-up. Put the content into LIBS and place
these options last to make it link.

We still override the CFLAGS but that seems to not cause issues yet

Fixes:

ERROR: ... No GNU_HASH in the elf binary: 'rtl8168-eeprom' [ldflags]
2017-04-02 14:14:11 +02:00
Harald Welte e62e515ce3 add COPYING file to include full GPLv2 license text 2015-07-10 19:25:57 +02:00
Harald Welte cf7fe61d82 add GPLv2 license disclaimer 2015-07-10 19:25:33 +02:00
Harald Welte c3b046a817 initial checkin of project 2015-03-22 22:15:40 +01:00