diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-05-27 11:57:42 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-28 10:36:09 +0200 |
commit | d2211c83365e5473cede0aa4704294d03270e59c (patch) | |
tree | 4fd9c235abc209e312bad4565e17c53a9bb55188 /drivers | |
parent | 799d94daa445173a6da410858e9e0f87ea9e04cb (diff) | |
download | barebox-d2211c83365e5473cede0aa4704294d03270e59c.tar.gz barebox-d2211c83365e5473cede0aa4704294d03270e59c.tar.xz |
scripts: kwbimage: fix build with non-glibc systems
get_current_dir_name is a glibc extension, thus replace it
with a call to standard POSIX pathconf/malloc/gecwd.
The result slightly differs, because get_current_dir_name consults
the $PWD environment variable as as well, but that's ok, as it's
just an error message.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions