Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754944AbbDIAF6 (ORCPT ); Wed, 8 Apr 2015 20:05:58 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:35531 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753177AbbDIAF5 (ORCPT ); Wed, 8 Apr 2015 20:05:57 -0400 From: Gregory Fong To: Russell King Cc: Gregory Fong , linux-arm-kernel@lists.infradead.org (moderated list:ARM PORT), linux-kernel@vger.kernel.org (open list) Subject: [RFC PATCH] ARM: debug: Add prompt for FRAME_POINTER to Kconfig.debug Date: Wed, 8 Apr 2015 17:04:43 -0700 Message-Id: <1428537883-19622-1-git-send-email-gregory.0xf0@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1264 Lines: 38 Without a prompt string, it is impossible to disable FRAME_POINTER on ARM. It will simply set the default value anytime you run 'make'. To reproduce the original issue, run: make multi_v7_defconfig scripts/config -d ARM_UNWIND make oldconfig # check .config, note that FRAME_POINTER=y scripts/config -d FRAME_POINTER make oldconfig # check .config, note that FRAME_POINTER is still y Signed-off-by: Gregory Fong --- arch/arm/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 970de75..b881fd3 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -33,7 +33,7 @@ config STRICT_DEVMEM # traces, you can get a slightly smaller kernel by setting this option to # n, but then RMK will have to kill you ;). config FRAME_POINTER - bool + bool "Compile the kernel with frame pointers" depends on !THUMB2_KERNEL default y if !ARM_UNWIND || FUNCTION_GRAPH_TRACER help -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/