From patchwork Wed May 29 21:01:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1107395 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=konsulko.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45Djqx6ymtz9s00 for ; Thu, 30 May 2019 07:03:57 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id B0F51C21DB5; Wed, 29 May 2019 21:02:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A3EE5C21E44; Wed, 29 May 2019 21:01:58 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 25EF6C21E49; Wed, 29 May 2019 21:01:54 +0000 (UTC) Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by lists.denx.de (Postfix) with ESMTPS id 8CB9EC21DF9 for ; Wed, 29 May 2019 21:01:46 +0000 (UTC) Received: by mail-qk1-f176.google.com with SMTP id m18so2444573qki.8 for ; Wed, 29 May 2019 14:01:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xLK4hX5XnaXIVCp/RZyP+f/nSKdKbfqvsFyWLHMzhNw=; b=s3YZkW5gcsQvHCOPFaq1W5fAPSsHACk5JB0m/awzBJkukzmDHuyKn2Kh9VzSvdZ4r0 jhHN3bIrnuW2e9aj5qXFbhj9QzB4DLqnvu0G2EwpA8qKbLTXRCIeR+OfQZWFr5q/UT+4 NE82V3B13BJLfACdzYwc4TVkP98xnnYauMNTZSxvX6153lLqRC2MVunZhq0yGqzsk6w8 n5LRcGJQSghsRoVlBGzzIoF5/ZoXF+yLue885YhaMTnb3GtOt1FAhkjoE2BuZhrNmzq4 fewQvL3h5vfsJXGE6dh0Zdyvw73oy9TMYX4ne1ekDCI9ZsuZOj2dZd64tOi22gTWk7Q+ C2BA== X-Gm-Message-State: APjAAAXcpiKBD1OPnPkaS9kgCJP1s9+amM8GRSwJEl30guAyiiM5XWoY M5UkHw88TR/CXq3dXK1+Q0RrY7w= X-Google-Smtp-Source: APXvYqze5sYdnKPEu88k5i2yozU9MZfvDLiT++REDlSAx5cvmimrwhBCvh8/pjA7qApeycjH4Lwh2g== X-Received: by 2002:a05:620a:12b9:: with SMTP id x25mr8709068qki.248.1559163705274; Wed, 29 May 2019 14:01:45 -0700 (PDT) Received: from bill-the-cat.local (cpe-2606-A000-1401-82DE-F9EA-E538-B09C-E631.dyn6.twc.com. [2606:a000:1401:82de:f9ea:e538:b09c:e631]) by smtp.gmail.com with ESMTPSA id h63sm317691qkf.4.2019.05.29.14.01.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 May 2019 14:01:44 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Wed, 29 May 2019 17:01:30 -0400 Message-Id: <1559163696-8722-4-git-send-email-trini@konsulko.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559163696-8722-1-git-send-email-trini@konsulko.com> References: <1559163696-8722-1-git-send-email-trini@konsulko.com> Cc: Heinrich Schuchardt Subject: [U-Boot] [PATCHv3 04/10] Makefile: Trigger a Warning if DEPRECATED is defined X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Jagan Teki If configured target has deprecated configs enabled, trigger a warning about this. Cc: Heinrich Schuchardt Signed-off-by: Jagan Teki [trini: Change from BROKEN to DEPRECATED] Signed-off-by: Tom Rini --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 07106138e9ff..08deab28cbbb 100644 --- a/Makefile +++ b/Makefile @@ -918,6 +918,9 @@ cmd_cfgcheck = $(srctree)/scripts/check-config.sh $2 \ $(srctree)/scripts/config_whitelist.txt $(srctree) all: $(ALL-y) +ifeq ($(CONFIG_DEPRECATED),y) + $(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.") +endif ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y) @echo >&2 "===================== WARNING ======================" @echo >&2 "This board uses CONFIG_DM_I2C_COMPAT. Please remove"