From: Marek Vasut Date: Thu, 22 Nov 2018 21:59:22 +0100 Subject: [U-Boot] [PATCH 1/3] Makefile: Add a warning for boards that don't use CONFIG_BLK In-Reply-To: <20181122200918.128037-1-sjg@chromium.org> References: <20181122200918.128037-1-sjg@chromium.org> Message-ID: <122089ec-0cd2-a856-9b78-2de0e6a46d30@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/22/2018 09:09 PM, Simon Glass wrote: > The deadline for this has passed and we are starting to remove boards that > do not use driver model for block devices. > > Add a noisy Makefile warning. > > Signed-off-by: Simon Glass > --- > > Makefile | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Makefile b/Makefile > index 552687db538..8bf422f6a85 100644 > --- a/Makefile > +++ b/Makefile > @@ -917,6 +917,13 @@ ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y) > @echo "(possibly in a subsequent patch in your series)" > @echo "before sending patches to the mailing list." > @echo "====================================================" > +endif > +ifneq ($(CONFIG_BLK),y) > + @echo "===================== WARNING ======================" > + @echo "This board does not use CONFIG_BLK. Please update" > + @echo "the board to use CONFIG_BLK before the end of 2018." End of 2018 ? Not happening :-) > + @echo "See doc/driver-model/MIGRATION.txt for more info." > + @echo "====================================================" > endif > @# Check that this build does not use CONFIG options that we do not > @# know about unless they are in Kconfig. All the existing CONFIG > -- Best regards, Marek Vasut