From patchwork Sun Apr 28 20:47:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1092352 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=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Sa0aUh+q"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44sg0y56hvz9s70 for ; Mon, 29 Apr 2019 06:50:42 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 72349C21E30; Sun, 28 Apr 2019 20:49:01 +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=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 D601FC21E07; Sun, 28 Apr 2019 20:48:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5FA37C21E08; Sun, 28 Apr 2019 20:48:26 +0000 (UTC) Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by lists.denx.de (Postfix) with ESMTPS id D3178C21E15 for ; Sun, 28 Apr 2019 20:48:22 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id n8so4082108plp.10 for ; Sun, 28 Apr 2019 13:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AJJEb4a8ex6FRavidkx9acfRsUlPClmxUWdvExbXMZY=; b=Sa0aUh+qadJDPDd//EAJEkgz+kpsZI4Wi9RZzbsF9HaAgA16xa/s+QvGypWmMt7Bpp gHYfiLPj0GvnK3S/O+TO9kuRTK5UExr8bwq6gAYwUnGKpL0zEwCQUDsBskjlRIQKt9l3 g40nEm/gU9WHqiDnzjR2WHIGWxW2AXPOghZ+c= 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:mime-version:content-transfer-encoding; bh=AJJEb4a8ex6FRavidkx9acfRsUlPClmxUWdvExbXMZY=; b=FkgrfmPp2zjizONtxNpZhzJovazdvyOiNIipuqsMj/H5aJ2Ci9Dhp6HBwZb5Oul+sm aOCVkzOKM8n81CI3jSUG5SO4RlgAkF6dbZKWuT3BUFWmwX9SouOf0hvihiT9WOWeLNLM XQ81IGo6TwuVa4ecvlC7jL9ZXzqfj3THHTEtpohBxCWYHfDYqDHY0NWDlJhPM1P1GVUU svUbvfEmb0kVTIWNBb2Wu2TKHsaLRqQwZ+riwabJ3ExE8fociVq116N643K0/g6FhvoX 3UUd6NfDDrXikmDG5XCDUB92kAJwsVx5vVOsJhnuFuA7dj7ikLZg3Mk681jSyglq7SXz 8GNg== X-Gm-Message-State: APjAAAWLLJQoKw8Usjx4oX2L8BiVb9fe2LZbocNa0RmOY7GDJuZw1Ber cUKhNXm3hgUavhZ0f3KEGTtqNA== X-Google-Smtp-Source: APXvYqybV83Y/RVipQkgVtgWDUijQevyHNReY9IlBHGgywgRe0nY3DDZcdUHDqb/7jXEtZ/p6JMNPg== X-Received: by 2002:a17:902:b592:: with SMTP id a18mr27026855pls.252.1556484501460; Sun, 28 Apr 2019 13:48:21 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id n1sm32208342pgv.19.2019.04.28.13.48.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Apr 2019 13:48:20 -0700 (PDT) From: Jagan Teki To: Tom Rini , Simon Glass Date: Mon, 29 Apr 2019 02:17:55 +0530 Message-Id: <20190428204801.9578-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190428204801.9578-1-jagan@amarulasolutions.com> References: <20190428204801.9578-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Heinrich Schuchardt Subject: [U-Boot] [PATCH 2/8] Makefile: Trigger a Warning if BROKEN 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" If configured target has broken config enabled, trigger a warning saying that the desired .config has broken configuration. Cc: Heinrich Schuchardt Signed-off-by: Jagan Teki --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 66a09ac900..02c9a73d33 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_BROKEN),y) + $(warning "You have broken configuration in your .config! Please check your configuration.") +endif # broken ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y) @echo >&2 "===================== WARNING ======================" @echo >&2 "This board uses CONFIG_DM_I2C_COMPAT. Please remove"