Changeset View
Changeset View
Standalone View
Standalone View
lib/libfdt/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
LIBFDTDIR= ${.CURDIR:H:H}/contrib/dtc/libfdt | |||||
kevans: In addition to question on IRC about pulling this from ^/sys/contrib/libfdt; I realize this… | |||||
PACKAGE=lib${LIB} | |||||
LIB= fdt | |||||
NO_PIC= | |||||
Not Done Inline ActionsDo we want this as a shared library? I'm mostly concerned about future maintenance. andrew: Do we want this as a shared library? I'm mostly concerned about future maintenance. | |||||
Not Done Inline ActionsDo you mean from a compatibility perspective? stevek: Do you mean from a compatibility perspective? | |||||
Not Done Inline ActionsIt would be for future compatibility, i.e. if we import a future version that changes it we will need a version bump. By just building a static library this isn't an issue. andrew: It would be for future compatibility, i.e. if we import a future version that changes it we… | |||||
Not Done Inline ActionsIt might not be bad to start it as a static lib, especially considering the sources from dtc don't have much in the way of documentation. stevek: It might not be bad to start it as a static lib, especially considering the sources from dtc… | |||||
.PATH: ${LIBFDTDIR} | |||||
SRCS= \ | |||||
fdt.c \ | |||||
fdt_empty_tree.c \ | |||||
fdt_ro.c \ | |||||
fdt_rw.c \ | |||||
fdt_strerror.c \ | |||||
fdt_sw.c \ | |||||
fdt_wip.c | |||||
Not Done Inline Actionswhere are all these files? imp: where are all these files? | |||||
Not Done Inline ActionsThey come from contrib/dtc/libfdt (the LIBFDTDIR setting) stevek: They come from contrib/dtc/libfdt (the LIBFDTDIR setting) | |||||
INCS= \ | |||||
fdt.h \ | |||||
libfdt.h \ | |||||
libfdt_env.h | |||||
CFLAGS+= -I${LIBFDTDIR} | |||||
WARNS?= 2 | |||||
MAN= | |||||
.include <bsd.lib.mk> |
In addition to question on IRC about pulling this from ^/sys/contrib/libfdt; I realize this probably predates the usage of SRCTOP becoming more common, but this should probably be w.r.t. ${SRCTOP} instead of ${.CURDIR}.