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];
| ^~~~~~~~
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]