]> git.sur5r.net Git - u-boot/blobdiff - tools/env/Makefile
Merge branch 'master' of http://git.denx.de/u-boot-sunxi
[u-boot] / tools / env / Makefile
index 40164f7a35fa95340017e9a608a31702fa4a22b7..38ad118d032fa65ee9de050b7f1ea13a29840e64 100644 (file)
@@ -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 $@