Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp620886ybl; Fri, 24 Jan 2020 06:34:58 -0800 (PST) X-Google-Smtp-Source: APXvYqy5Wz5PEnUvZ6MgTqHxYSj9ja0FIOItfV6GKNw0zmId/VyEQbBQf0JKvp5T2sMdAAspmjPH X-Received: by 2002:a9d:7e8c:: with SMTP id m12mr2989106otp.346.1579876498121; Fri, 24 Jan 2020 06:34:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579876498; cv=none; d=google.com; s=arc-20160816; b=Re4CTJTHgjWUn8XRo1vqBS61Y/abDqo6GJDLQqV4HcXzbJEoSXGyoyX5R34wcVM/jl 9UXbkJx1xc5YHKYTvi+H+2xT0F1Zk4DaI0yP31aoMrXWN2ltYKWXjs+Q1xv1p7jo76if 71T/lHQ0YHQ37M7DVOh98Bt9LFoDV9gTkMDNXbZX9SN4xe0h0bxq3BJOlb3JBwaDgQc9 Ezwk82Amv9matgGIhp06XerT+1J0d6fJQi55BSBEvIeE9RS+slc7y3MlG63HswzFarIy 7yogkrqdNrDlfT/X0k2ec5Ixs8gY7vLUcUhUCNXgqm+NsTVp79vsVCGsZ8IDOO+s4g2x kUpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=F2G1ORi33EQjZONnTNxOFvz/ixSFTtSO2wAQsE2faxE=; b=0ujyxXO+fe/a7qDjxwJ5eO6SA3/MT7lyZQbKNcUGYla/n4fxBKGvUA2HpT2PUrgSAR /imqoHRYdUVvUBhK9vVuxMASBXhWIUJRz0cKo5l+0egBarp9ujq1xtHlEyb2cha/TGvn 1PSO8amjbpjvZAT1osH2Si7vobOq2d0HC7iU77S3sVpjHjwHIlk8Ll8PxhF/mUCOoeML k+Qiii+CQD04r51RldurB3HcvuO8P3/WK5gFWRdgbJSChaqXDsrPFN+AcctXv53DX1nr w97A1fbIaaZ2US+HjukwXTysmRcJCCyos2dDDySitAH3Q3i6SHvr4AB95sP4GQUU9oUg Zc5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nfb4fQD1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si2363836oic.72.2020.01.24.06.34.46; Fri, 24 Jan 2020 06:34:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nfb4fQD1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730166AbgAXLqh (ORCPT + 99 others); Fri, 24 Jan 2020 06:46:37 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:33716 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729095AbgAXLqg (ORCPT ); Fri, 24 Jan 2020 06:46:36 -0500 Received: by mail-lj1-f195.google.com with SMTP id y6so2195298lji.0 for ; Fri, 24 Jan 2020 03:46:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=F2G1ORi33EQjZONnTNxOFvz/ixSFTtSO2wAQsE2faxE=; b=nfb4fQD15j+5/qjRtx4pMNiyZI56Aajq55aOdEvUCguiaHOrzYWDxCICiuXTUzyz+y D3jRv28eoV+WsKPXY300w6ZZkURRfuOqK+7nYost2bZsyNV03v0h0lf0FkwWOH7ltx5G 1FGrMCZe9qfMluIkRd9zFw0RVZaF47aekKsUcQb9qenQ1JTAAOxC9i1vR2MuOq7qVWWq dOP7Ix6WPD52I8YVhwCWnjR/n9f6Jkut2Dzace3dlmu4eJUUINc6jZNpISd2ZW4y7Cqt Ol6tZ3LVmUyGkiVJePfhbGDhKvAIf7zFDwDv9xDBC7tRnKLzAOGJ6Np7lDyqyfbp+lsk cr8w== 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:mime-version :content-transfer-encoding; bh=F2G1ORi33EQjZONnTNxOFvz/ixSFTtSO2wAQsE2faxE=; b=KKkzqX/rrY6R6JlXFlcG73DmPrjkVgrL5WvSd0umrqaRWtmzALJu3AP2O0w3gyN9of eNXvaYJhZD/LMprQBH+EgjtJqCawm5WOviVWEVvDQ2J83s9S4By9F/14ca1nQquCMeTt 6qJDRIoS/tilQ3ePyu1V3OINPO396daHsS3CpBJkQgEM5MZg0BbHvTjOmZtEDiEcXRvA qHGNPiOKe7HNnVhPXgq0Zihki+qIRaeBGv5sV6b8DbX6zdms8F7TVuivaFXEhzPjUoLc nRNwDw0fDggwfL9J/UaRxIABcXmCwvTi9QovcrAttjzbv4YfP7lfgJNxsQCEV8CFvla/ fGiw== X-Gm-Message-State: APjAAAXjViqUqA1/ftNvUwgys4kfMbTU215Hz5HR1rphv1vpP2beg9Ht nF/tvbwOJUSdyQoDWdzvZra3Nw== X-Received: by 2002:a2e:7009:: with SMTP id l9mr2008261ljc.96.1579866394478; Fri, 24 Jan 2020 03:46:34 -0800 (PST) Received: from localhost (c-413e70d5.07-21-73746f28.bbcust.telenor.se. [213.112.62.65]) by smtp.gmail.com with ESMTPSA id i197sm2596473lfi.56.2020.01.24.03.46.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2020 03:46:33 -0800 (PST) From: Anders Roxell To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] x86: Kconfig: make CMDLINE_OVERRIDE depend on CMDLINE Date: Fri, 24 Jan 2020 12:46:15 +0100 Message-Id: <20200124114615.11577-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When trying to boot an allmodconfig kernel that is build with KCONFIG_ALLCONFIG=$(pwd)/arch/x86/configs/x86_64_defconfig, it doesn't boot since CONFIG_CMDLINE_OVERRIDE gets enabled. Which forces the user to pass the full cmdline to CONFIG_CMDLINE="...". Rework so that CONFIG_CMDLINE_OVERRIDE gets set only if CONFIG_CMDLINE is set to something except an empty string. Signed-off-by: Anders Roxell --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index f2dcd9ab6ef6..598b6325a027 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2447,7 +2447,7 @@ config CMDLINE config CMDLINE_OVERRIDE bool "Built-in command line overrides boot loader arguments" - depends on CMDLINE_BOOL + depends on CMDLINE_BOOL && CMDLINE != "" ---help--- Set this option to 'Y' to have the kernel ignore the boot loader command line, and use ONLY the built-in command line. -- 2.20.1