mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
Allow fw env tools to be available as library
Sometimes it can be useful to link the fw_ tools instead of having the fw_setenv/fw_printenv installed. Patch exports the tool as library and allowes to link it with own programs. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
74cc8b097d
commit
2cb11b35e8
1 changed files with 3 additions and 1 deletions
4
tools/env/Makefile
vendored
4
tools/env/Makefile
vendored
|
@ -23,10 +23,12 @@ endif
|
|||
always := fw_printenv
|
||||
hostprogs-y := fw_printenv
|
||||
|
||||
fw_printenv-objs := fw_env.o fw_env_main.o \
|
||||
lib-y += fw_env.o \
|
||||
crc32.o ctype.o linux_string.o \
|
||||
env_attr.o env_flags.o aes.o
|
||||
|
||||
fw_printenv-objs := fw_env_main.o $(lib-y)
|
||||
|
||||
quiet_cmd_crosstools_strip = STRIP $^
|
||||
cmd_crosstools_strip = $(STRIP) $^; touch $@
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue