summaryrefslogtreecommitdiffstats
path: root/common/ratp/Makefile
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-02-24 16:01:17 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-03-01 09:39:42 +0100
commit884eeea4082b36e8cca56f2886947d934bf40238 (patch)
tree88bce3b0d85bc907a8548f14a29693994587d971 /common/ratp/Makefile
parentec42940ea194f3089c5b2d29a06d61d7d03e94d9 (diff)
downloadbarebox-884eeea4082b36e8cca56f2886947d934bf40238.tar.gz
barebox-884eeea4082b36e8cca56f2886947d934bf40238.tar.xz
ratp: implement getenv as a standard ratp command
Also, use xstrndup() instead of the custom xmemdup_add_zero() as we're working with strings anyway. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/ratp/Makefile')
-rw-r--r--common/ratp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/ratp/Makefile b/common/ratp/Makefile
index acad61ee58..2fa9d63c02 100644
--- a/common/ratp/Makefile
+++ b/common/ratp/Makefile
@@ -1,2 +1,3 @@
obj-y += ratp.o
obj-y += ping.o
+obj-y += getenv.o