Date: Wed, 2 Dec 2009 14:48:42 GMT From: Rafal Jaworowski <raj@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 171270 for review Message-ID: <200912021448.nB2EmguA056850@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=171270 Change 171270 by raj@raj_fdt on 2009/12/02 14:47:55 Fix build errors when using 'buildenv' target to build dtc. Affected files ... .. //depot/projects/fdt/gnu/usr.bin/dtc/Makefile#2 edit Differences ... ==== //depot/projects/fdt/gnu/usr.bin/dtc/Makefile#2 (text+ko) ==== @@ -8,7 +8,7 @@ SRCS= dtc.c checks.c fstree.c livetree.c treesource.c data.c \ flattree.c srcpos.c util.c \ fdt.c fdt_ro.c fdt_rw.c fdt_strerror.c \ - fdt_sw.c fdt_wip.c + fdt_sw.c fdt_wip.c $(DTCDIR)/version_gen.h CFLAGS = -Wall -g -Os -fPIC -Wpointer-arith -Wcast-qual CFLAGS+= -I. -I${.CURDIR} -I${DTCDIR} -I${DTCDIR}/libfdt @@ -18,21 +18,20 @@ VERSIONSUB!= awk '/^SUBLEVEL =/ { print $$3 }' $(DTCDIR)/Makefile VERSIONEXTRA!= $(DTCDIR)/scripts/setlocalversion -DTCVERSION= ${VERSIONMAJ}.${VERSIONMIN}.${VERSIONSUB}${VERSIONEXTRA} -DTCVERSIONFILE= version_gen.h +DTCVERSION:= ${VERSIONMAJ}.${VERSIONMIN}.${VERSIONSUB}${VERSIONEXTRA} +DTCVERSIONFILE:= $(DTCDIR)/version_gen.h MAN= BISON= yacc LEX= lex -OBJS+= $(DTCVERSIONFILE) dtc-parser.tab.o dtc-lexer.lex.o +OBJS+= dtc-parser.tab.o dtc-lexer.lex.o CLEANFILES+= dtc-parser.tab.o dtc-lexer.lex.o dtc-parser.tab.c \ dtc-parser.tab.h dtc-lexer.lex.c ${DTCVERSIONFILE} $(DTCVERSIONFILE): - @echo ${DTCVERSION} @echo '#define DTC_VERSION "DTC ${DTCVERSION}"' > ${DTCVERSIONFILE} dtc-parser.tab.o: dtc-parser.tab.c dtc-parser.tab.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912021448.nB2EmguA056850>