From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miquel Raynal Date: Mon, 21 Oct 2019 10:08:14 +0200 Subject: [U-Boot] [PATCH v5 00/26]MTD defconfigs/Kconfigs/Makefiles heavy cleanup In-Reply-To: <20191003195402.631a21e5@xps13> References: <20191003175028.17015-1-miquel.raynal@bootlin.com> <20191003195402.631a21e5@xps13> Message-ID: <20191021100814.24a86bb7@xps13> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hi Jagan, Gentle ping. As discussed half a year ago, please do not trash this series :) Miquel Raynal wrote on Thu, 3 Oct 2019 19:55:15 +0200: > Hi Miquel, >=20 > Miquel Raynal wrote on Thu, 3 Oct 2019 > 19:50:02 +0200: >=20 > > Hello, > >=20 > > A year ago, while working on SPI-NAND support in U-Boot, I discovered > > when modifying Makefiles a confusing organization where: > > * Sub-directories/files are compiled from the root Makefile > > * Commands are at the root of everything > >=20 > > First I sent a series to move Makefile entries in their respective > > directories. Then, I decided to continue working on the clarification > > of the Makefile hierarchy in MTD and I sent four iterations of this > > series which did not got merge at that time. Anyway, I revived this > > series by rebasing all my work and updating everything that needed an > > update. > >=20 > > Here are the main points of the re-organization: > > * Rename CONFIG_MTD into CONFIG_DM_MTD to reserve CONFIG_MTD to what > > is called today CONFIG_MTD_DEVICE. > > * Fix build dependencies in defconfigs, like: "UBI and NAND depend on M= TD". > > * Fix the Kconfig files to reflect these dependencies (as defconfigs > > have been updated, nothing should break). > > * Simplify the Makefiles: compiling the drivers/mtd/nand/raw/ > > sub-directory should just depend on MTD being compiled and the NAND > > core as well, there is absolutely no logic to make it depend on > > CMD_NAND. > >=20 > > The New green Travis CI build for the fifth version of this series is > > there (yes, 53 iterations): =20 >=20 > And here is the missing link: >=20 > https://travis-ci.org/miquelraynal/u-boot/builds/592943849 >=20 Thanks, Miqu=C3=A8l