[lib][fdt] add rules.mk, move headers into global include space

Also add note that libfdt is being used with the BSD license.
This commit is contained in:
Travis Geiselbrecht
2015-10-09 16:58:30 -07:00
parent 75adf0769a
commit d9753ad81d
5 changed files with 20 additions and 0 deletions

1
lib/fdt/LICENSE Normal file
View File

@@ -0,0 +1 @@
LK uses the BSD version of the libfdt license.

19
lib/fdt/rules.mk Normal file
View File

@@ -0,0 +1,19 @@
LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
GLOBAL_INCLUDES += $(LOCAL_DIR)/include
MODULE_SRCS += \
$(LOCAL_DIR)/fdt.c \
$(LOCAL_DIR)/fdt_addresses.c \
$(LOCAL_DIR)/fdt_empty_tree.c \
$(LOCAL_DIR)/fdt_ro.c \
$(LOCAL_DIR)/fdt_rw.c \
$(LOCAL_DIR)/fdt_strerror.c \
$(LOCAL_DIR)/fdt_sw.c \
$(LOCAL_DIR)/fdt_wip.c
MODULE_COMPILEFLAGS += -Wno-sign-compare
include make/module.mk