Skip to content
Commit d3329f09 authored by Peng Fan's avatar Peng Fan Committed by Tom Rini
Browse files

lib: Makefile: build fdtdec_common.c when OF_LIBFDT selected



When build SPL_OF_PLATDATA on i.MX6, meet issue the fdtdec_get_int
not defined, however fdtdec.c will use fdtdec_get_int, so let's
compile fdtdec_common.c when OF_LIBFDT selected.

Since there is also SPL_OF_LIBFDT, so need to use
CONFIG_$(SPL_TPL_)OF_LIBFDT.

Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 5fafd7e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment