[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:
1
lib/fdt/LICENSE
Normal file
1
lib/fdt/LICENSE
Normal file
@@ -0,0 +1 @@
|
||||
LK uses the BSD version of the libfdt license.
|
||||
19
lib/fdt/rules.mk
Normal file
19
lib/fdt/rules.mk
Normal 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
|
||||
Reference in New Issue
Block a user