From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerhard Sittig Date: Tue, 28 Jan 2014 14:44:13 +0100 Subject: [U-Boot] [PATCH v7 0/38] Switch over to real Kbuild In-Reply-To: <1390559899-31430-1-git-send-email-yamada.m@jp.panasonic.com> References: <1390559899-31430-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <20140128134413.GF20094@book.gsilab.sittig.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jan 24, 2014 at 19:37 +0900, Masahiro Yamada wrote: > > [ ... ] > > Changes for v7: > - Fix a bug in spl build: > In v6, build failed if we try to build another SPL board > without doing "make clobber". > For example, > $ make omap3_beagle_config > $ make CROSS_COMPILE= > $ make am335x_evm_config > $ make CROSS_COMPILE= > This failed in v6. We needed either "make clobber" or "make mrproper" > before switching to another board. > Now, we can two or more boards continuously. > > Changes for v6: > - Rebase on the current u-boot/master > - Linux Kernel 3.13 was released on Jan. 20, so import build scripts > from v3.13 to be breeding edge. > - Minor change in post/lib_powerpc/fpu/Makefile > - Include cmd_files under nand_spl/board/*/*/Makefile > > Changes for v5: > - Fix a bug reported by Gerhard Sittig: > "make tools" before running "make" failed at v4. > - Revive "env" target so that we can build only under tools/env/. > - Add a new patch at the tail: > 38/38 "tools/env: cross-compile fw_printenv without setting HOSTCC" > - Describe "clobber" target shortly by deleteing "*.imx" and "*.map" > with wildcard matching. > - Rebase on the current u-boot/master I really should have provided this earlier. Wanted to run some more ARM tests, but haven't taken the time yet and did not want to further delay my "tested by" feedback. Have run-tested v5 and v7 on PowerPC based hardware, and build-tested other iterations of the patch set. Tested-by: Gerhard Sittig The test was done for MPC5121 on an ifm AC14xx board; the U-Boot binary works as expected, the fw_printenv(1) tool can be cross built as well as native, out-of-source builds work perfectly (and allow to identify where the source resides -- yay!). The most recent test setup was created from - U-Boot master e222b1f36fed "powerpc/mpc85xx:Increase binary size for P, B & T series boards." - the "sandbox: Use system headers first for sandbox's os.c in a different way" prerequisite patch - the v7 version of this Kbuild series virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de