mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
This patch makes a small start on libfdt functions which actually help to parse the contents of device trees, rather than purely manipulating the tree's structure. We add simple helpers to read and sanity check the #address-cells and #size-cells values for a given node. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
11 lines
413 B
Text
11 lines
413 B
Text
# Makefile.libfdt
|
|
#
|
|
# This is not a complete Makefile of itself. Instead, it is designed to
|
|
# be easily embeddable into other systems of Makefiles.
|
|
#
|
|
LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
|
|
LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
|
|
LIBFDT_VERSION = version.lds
|
|
LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c fdt_empty_tree.c \
|
|
fdt_addresses.c
|
|
LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o)
|