From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: David Gibson Subject: Re: dtc: Refactor Makefiles (v2) In-Reply-To: Your message of "Thu, 04 Oct 2007 15:37:43 +1000." <20071004053743.GI6024@localhost.localdomain> References: <20071003055933.GE18978@localhost.localdomain> <20071004052053.GH6024@localhost.localdomain> <20071004053743.GI6024@localhost.localdomain> Date: Mon, 15 Oct 2007 08:35:50 -0500 From: Jon Loeliger Message-Id: Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , So, like, the other day David Gibson mumbled: > > Here's a corrected version. > > dtc: Refactor Makefiles > > This patch makes a number of Makefile cleanups and improvements: > - We use more generic rules to invoke flex and bison, which is > useful for some of the other changes. > - We use the name dtc-lexer.lex.c for the flex output, instead > of the default lex.yy.c. That means less potential for confusion if > dtc is embedded into other projects (e.g. the kernel). > - We separate out a Makefile.dtc designed for embedding into > other projects, analagous to Makefile.libfdt. > - Makefile.libfdt is cleaned up to be more useful based on > some actual trial runs of embedding libfdt in the kernel bootwrapper. > - Versioning related rules and variables are collected into > one place in the Makefile. > > Signed-off-by: David Gibson Applied. Thanks, jdl