From owner-p4-projects@FreeBSD.ORG Wed Dec 2 14:48:43 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5D2A01065679; Wed, 2 Dec 2009 14:48:43 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20AE71065672 for ; Wed, 2 Dec 2009 14:48:43 +0000 (UTC) (envelope-from raj@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0E5C68FC13 for ; Wed, 2 Dec 2009 14:48:43 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nB2Emg6c056852 for ; Wed, 2 Dec 2009 14:48:42 GMT (envelope-from raj@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nB2EmguA056850 for perforce@freebsd.org; Wed, 2 Dec 2009 14:48:42 GMT (envelope-from raj@freebsd.org) Date: Wed, 2 Dec 2009 14:48:42 GMT Message-Id: <200912021448.nB2EmguA056850@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to raj@freebsd.org using -f From: Rafal Jaworowski To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 171270 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 14:48:43 -0000 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