tools: env: make fw_printenv statically linked
this makes sure fw_printenv works normally on most platforms without care about C library. Change-Id: If3b942d2fadb293eeeb00695a10b708847a827ad Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
53ea579188
commit
0d889c3a8d
|
@ -16,6 +16,8 @@ HOST_EXTRACFLAGS = $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE)))
|
|||
-DUSE_HOSTCC \
|
||||
-DTEXT_BASE=$(TEXT_BASE)
|
||||
|
||||
HOSTLDFLAGS = -static
|
||||
|
||||
ifeq ($(MTD_VERSION),old)
|
||||
HOST_EXTRACFLAGS += -DMTD_OLD
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue