2 # (C) Copyright 2002-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 # Compile for a hosted environment on the target
9 HOST_EXTRACFLAGS = $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \
10 -idirafter $(SRCTREE)/tools/env \
12 -DTEXT_BASE=$(TEXT_BASE)
14 ifeq ($(MTD_VERSION),old)
15 HOST_EXTRACFLAGS += -DMTD_OLD
18 hostprogs-y := fw_printenv
19 always := $(hostprogs-y)
21 fw_printenv-objs := fw_env.o fw_env_main.o \
22 crc32.o ctype.o linux_string.o \
23 env_attr.o env_flags.o