From: Wolfgang Denk Date: Fri, 29 Aug 2008 13:41:54 +0200 Subject: [U-Boot] [PATCH] ppc44x: Unification of virtex5 pp440 boards v3 In-Reply-To: References: <1219840376-10784-1-git-send-email-ricardo.ribalda@uam.es> <200808290948.07275.sr@denx.de> Message-ID: <20080829114154.8735024899@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ricardo, in message you wrote: > ml507_flash_config: unconfig > BOARD_DIR=$(obj)board/xilinx/ml507 \ > TEXT_BASE=0xFE360000 \ > LINK_SCRIPT=$(obj)board/xilinx/ppc440-generic/u-boot-rom.lds \ > CONFIG_SCRIPT="ml507 ppc ppc4xx ml507 xilinx" \ > $(MAKE) xilinx_ppc440 > > xilinx_ppc440: unconfig > @mkdir -p $(obj)include $(BOARD_DIR) > @cp $(LINK_SCRIPT) $(BOARD_DIR)/u-boot.lds > @echo "TEXT_BASE = $(TEXT_BASE)" > $(BOARD_DIR)/config.mk > @$(MKCONFIG) $(CONFIG_SCRIPT) The Makefile is not the right place to provide configuration information. It shouls select a target board, and build it, nothing more. All board specific configuration information should be kept in the board specific files only (please also keep in mind the next one who has to port Linux to a new board - config information should not be scattered over too many polaces, and especially no into common , central files). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Change is the essential process of all existence. -- Spock, "Let That Be Your Last Battlefield", stardate 5730.2