Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106187743
D40994.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D40994.diff
View Options
diff --git a/lib/Makefile b/lib/Makefile
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -171,6 +171,7 @@
SUBDIR.${MK_CUSE}+= libcuse
SUBDIR.${MK_TOOLCHAIN}+=libpe
SUBDIR.${MK_DIALOG}+= libdpv libfigpar
+SUBDIR.${MK_FDT}+= libfdt
SUBDIR.${MK_FILE}+= libmagic
SUBDIR.${MK_GPIO}+= libgpio
SUBDIR.${MK_GSSAPI}+= libgssapi librpcsec_gss
diff --git a/lib/libfdt/Makefile b/lib/libfdt/Makefile
new file mode 100644
--- /dev/null
+++ b/lib/libfdt/Makefile
@@ -0,0 +1,29 @@
+LIB= fdt
+
+INTERNALLIB=
+
+LIBFDTSRCDIR= ${SRCTOP}/sys/contrib/libfdt
+.PATH: ${LIBFDTSRCDIR}
+
+SRCS= \
+ fdt.c \
+ fdt_addresses.c \
+ fdt_empty_tree.c \
+ fdt_overlay.c \
+ fdt_ro.c \
+ fdt_rw.c \
+ fdt_strerror.c \
+ fdt_sw.c \
+ fdt_wip.c
+
+INCS= \
+ fdt.h \
+ libfdt.h \
+ ibfdt_env.h
+
+CFLAGS+= -I${LIBFDTSRCDIR}
+WARNS?= 2
+
+MAN=
+
+.include <bsd.lib.mk>
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk
--- a/share/mk/src.libnames.mk
+++ b/share/mk/src.libnames.mk
@@ -44,6 +44,7 @@
c_nossp_pic \
cron \
elftc \
+ fdt \
fifolog \
ifconfig \
ipf \
@@ -546,6 +547,9 @@
LIBELFTCDIR= ${_LIB_OBJTOP}/lib/libelftc
LIBELFTC?= ${LIBELFTCDIR}/libelftc${PIE_SUFFIX}.a
+LIBFDTDIR= ${_LIB_OBJTOP}/lib/libfdt
+LIBFDT?= ${LIBFDTDIR}/libfdt${PIE_SUFFIX}.a
+
LIBLUADIR= ${_LIB_OBJTOP}/lib/liblua
LIBLUA?= ${LIBLUADIR}/liblua${PIE_SUFFIX}.a
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 8:24 PM (8 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15617408
Default Alt Text
D40994.diff (1 KB)
Attached To
Mode
D40994: libfdt: Make an internal FDT library available
Attached
Detach File
Event Timeline
Log In to Comment