Add build glue (from skrll)
This commit is contained in:
parent
f8d365c3eb
commit
461d2d6a4c
5
external/gpl2/dtc/Makefile
vendored
Normal file
5
external/gpl2/dtc/Makefile
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
|
||||
|
||||
SUBDIR = lib .WAIT usr.bin
|
||||
|
||||
.include <bsd.subdir.mk>
|
4
external/gpl2/dtc/Makefile.inc
vendored
Normal file
4
external/gpl2/dtc/Makefile.inc
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2017/06/05 18:59:43 christos Exp $
|
||||
|
||||
BINDIR= /usr/bin
|
||||
DIST= ${NETBSDSRCDIR}/external/gpl2/dtc/dist
|
5
external/gpl2/dtc/lib/Makefile
vendored
Normal file
5
external/gpl2/dtc/lib/Makefile
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
|
||||
|
||||
SUBDIR+= libfdt
|
||||
|
||||
.include <bsd.subdir.mk>
|
19
external/gpl2/dtc/lib/libfdt/Makefile
vendored
Normal file
19
external/gpl2/dtc/lib/libfdt/Makefile
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= fdt
|
||||
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.include "${.CURDIR}/../../dist/libfdt/Makefile.libfdt"
|
||||
|
||||
SRCS= ${LIBFDT_SRCS}
|
||||
|
||||
CPPFLAGS+= -I ${DIST}/libfdt
|
||||
|
||||
.PATH: ${DIST}/libfdt
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
5
external/gpl2/dtc/usr.bin/Makefile
vendored
Normal file
5
external/gpl2/dtc/usr.bin/Makefile
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
|
||||
|
||||
SUBDIR+= dtc
|
||||
|
||||
.include <bsd.subdir.mk>
|
0
external/gpl2/dtc/usr.bin/Makefile.inc
vendored
Normal file
0
external/gpl2/dtc/usr.bin/Makefile.inc
vendored
Normal file
21
external/gpl2/dtc/usr.bin/dtc/Makefile
vendored
Normal file
21
external/gpl2/dtc/usr.bin/dtc/Makefile
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# $NetBSD: Makefile,v 1.1 2017/06/05 18:59:43 christos Exp $
|
||||
|
||||
NOMAN= # defined
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PROG= dtc
|
||||
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.include "${DIST}/Makefile.dtc"
|
||||
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
CPPFLAGS+= -I${DIST}
|
||||
CPPFLAGS+= -I${DIST}/libfdt
|
||||
|
||||
SRCS+= ${DTC_SRCS} dtc-lexer.l dtc-parser.y
|
||||
YFLAGS+= -d -L
|
||||
|
||||
.PATH: ${DIST}
|
||||
|
||||
.include <bsd.prog.mk>
|
1
external/gpl2/dtc/usr.bin/dtc/version_gen.h
vendored
Normal file
1
external/gpl2/dtc/usr.bin/dtc/version_gen.h
vendored
Normal file
@ -0,0 +1 @@
|
||||
#define DTC_VERSION "DTC 1.4.1"
|
Loading…
Reference in New Issue
Block a user