diff options
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 8c31a0cb75e9..2f2be5a8734c 100644 --- a/lib/Makefile +++ b/lib/Makefile | |||
@@ -130,6 +130,11 @@ obj-$(CONFIG_GENERIC_STRNLEN_USER) += strnlen_user.o | |||
130 | 130 | ||
131 | obj-$(CONFIG_STMP_DEVICE) += stmp_device.o | 131 | obj-$(CONFIG_STMP_DEVICE) += stmp_device.o |
132 | 132 | ||
133 | libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o | ||
134 | $(foreach file, $(libfdt_files), \ | ||
135 | $(eval CFLAGS_$(file) = -I$(src)/../scripts/dtc/libfdt)) | ||
136 | lib-$(CONFIG_LIBFDT) += $(libfdt_files) | ||
137 | |||
133 | hostprogs-y := gen_crc32table | 138 | hostprogs-y := gen_crc32table |
134 | clean-files := crc32table.h | 139 | clean-files := crc32table.h |
135 | 140 | ||