Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp6204209imm; Sat, 19 May 2018 20:46:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr9yJ6q3lHs+VMcn5NFT4/dwuROU0RmdBTdgZB7CA1BJPP6Bf82YiSfHNOTp/3CUZyaH/8a X-Received: by 2002:a63:7e52:: with SMTP id o18-v6mr6372349pgn.399.1526787970065; Sat, 19 May 2018 20:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526787970; cv=none; d=google.com; s=arc-20160816; b=QJoNVL2Lid9bbFoYClSiWaTj/GWjB4ETvdgs7UNxHFXUjC1N76KFkfX6B4KNR9/i35 I7E9tDI9WxY3gLecyRHxGbccAby1HlEpKofZ5X+92PG/u3Vz/pr+uT5cW2jLKjFf6S4u og2V4iiWqbTYynbLbpYoB8KzyU6KUZrM3m/VIuKF4angbe66/5UWPMWI4Lori7mYUg0J AZNPZN0xQndqhXSxGpwUkfDpLuwQQ9ZC0YgxgJsmdWQf3r2IcIq5hZPpC6y1OQoiJZ46 JfrmpFJVkWqwFwS01lR+/5SeClM54073gkX0qsw0WnyMZfEaBKRPkIPr+OclAscwq8RH wpSg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=IB1SsEvaicDNHJPb2hQrLZ/0kFSMQKxzZ0UmGHHEEiM=; b=ychK4eDteWHT5tfdAOuUIXPFBBQFbzu91yoSAfW4Zhdjkg1eHkuPnsPIAd/8hpyAZu w0/0bf/K0T1E0xMR3oeruGhi6pRpytwDtHH+aTKfjhg8s+DZDcpYvTdFVybZ7/6fl1Y0 UhnLgO4U7zwYQeN3WtvO6UKrpZm0XxRPjPJD7CJ57R7eZ9oc532MwvpcLT7jTz+tW8Fe DhBYh4o9nsEPN16VDFWCrXN0MN3R/TZFTRc/KvFK+uxsuMHCqUpVD8Nt2xc7bWHTO5XR xBJ//kjl6wsRKqlkVwi54YOnOtAO/lX5rq59OdyuyU6Jonr6eu2pAQ6ZH4C+tAwlk6g1 4k1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hON2webY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bh5-v6si10595049plb.320.2018.05.19.20.45.55; Sat, 19 May 2018 20:46:10 -0700 (PDT) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hON2webY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752575AbeETDpI (ORCPT + 99 others); Sat, 19 May 2018 23:45:08 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42752 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752459AbeETDpG (ORCPT ); Sat, 19 May 2018 23:45:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IB1SsEvaicDNHJPb2hQrLZ/0kFSMQKxzZ0UmGHHEEiM=; b=hON2webYKGLrSpzpPLVdULWj9 GUngPQr8e+8zw+d9eTLSc5+AEK9KqlK+oZPK7AJaB1LAVc22L50pNlqQpwVKGbO4jxqyhs9VPkKVz dHCrUzHGbUnf1aknf49Z4tzXT9+OxKr21eO6Jdb5P34py1xpSvx9hLEM2otQVn/obz2/WlIem5cDi WPVP80+y2N6MCsUmGXC9M7KwGpyFCA4HFCUp1uEV2iMYDdh3/vmjG0p+GFD2DvAAdG+nvdOvdSqn1 ExPlM9tMQyfJOFxKHZnvRm3Ifw1ycAJylXDxSX3xPa42sE/1MnihXxTOeciU7vMEBnx6nrAwq8b0n xfBBPggOw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fKFHN-0004ix-ES; Sun, 20 May 2018 03:45:05 +0000 Subject: Re: [ANNOUNCE] Kconfiglib menuconfig implementation To: Ulf Magnusson Cc: Linux Kbuild mailing list , Linux Kernel Mailing List References: <3d9be2f2-3fbe-411b-8529-0e0847f01346@infradead.org> From: Randy Dunlap Message-ID: Date: Sat, 19 May 2018 20:45:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/08/2018 09:59 AM, Ulf Magnusson wrote: > Hello, > > I've added incremental search for jumping directly to a symbol now. > Regular expressions are supported as well. > > Some screenshots below: > > https://raw.githubusercontent.com/ulfalizer/Kconfiglib/screenshots/screenshots/ss10.png > https://raw.githubusercontent.com/ulfalizer/Kconfiglib/screenshots/screenshots/ss11.png > https://raw.githubusercontent.com/ulfalizer/Kconfiglib/screenshots/screenshots/ss13.png > > The last screenshot shows how things might look after you jump to a > symbol. The jumped-to symbol wasn't visible in this case, so show-all > mode was turned on automatically. Hi Ulf, Do I need to save kconfiglib.py in a special location? With (new) kconfiglib.py and menuconfig.py, I am getting this: $ make ARCH=x86_64 O=xx64 iscriptconfig make[1]: Entering directory '/home/rdunlap/lnx/lnx-417-rc3/xx64' GEN ./Makefile Traceback (most recent call last): File "", line 1, in ImportError: No module named 'kconfiglib' >>> and then if I (being a Python novice) copy kconfiglib.py to /usr/lib/python3.4/site-packages/ and try again, I get 16 warning messages (below) and then this: A Kconfig instance 'kconf' for the architecture x86_64 has been created. >>> What am I supposed to do now? Hm, OK, I used the trick that you supplied a few weeks ago and I have the UI now. ARCH=x86 SRCARCH=x86 KERNELVERSION=`make kernelversion` \ Kconfiglib/menuconfig.py so yes, a real Makefile target would be nice. :) thanks, -- ~Randy the 16 warning messages: warning: SCSI_DPT_I2O (defined at drivers/scsi/Kconfig:482) has leading or trailing whitespace in its prompt warning: ATM_FIRESTREAM (defined at drivers/atm/Kconfig:149) has leading or trailing whitespace in its prompt warning: IWLWIFI (defined at drivers/net/wireless/intel/iwlwifi/Kconfig:1) has leading or trailing whitespace in its prompt warning: REGULATOR_MAX8973 (defined at drivers/regulator/Kconfig:479) has leading or trailing whitespace in its prompt warning: MEMSTICK_TIFM_MS (defined at drivers/memstick/host/Kconfig:7) has leading or trailing whitespace in its prompt warning: MV_XOR_V2 (defined at drivers/dma/Kconfig:374) has leading or trailing whitespace in its prompt warning: PANEL_LCD_PIN_E (defined at drivers/auxdisplay/Kconfig:335) has leading or trailing whitespace in its prompt warning: PANEL_LCD_PIN_RS (defined at drivers/auxdisplay/Kconfig:350) has leading or trailing whitespace in its prompt warning: PANEL_LCD_PIN_RW (defined at drivers/auxdisplay/Kconfig:365) has leading or trailing whitespace in its prompt warning: PANEL_LCD_PIN_SCL (defined at drivers/auxdisplay/Kconfig:380) has leading or trailing whitespace in its prompt warning: PANEL_LCD_PIN_SDA (defined at drivers/auxdisplay/Kconfig:395) has leading or trailing whitespace in its prompt warning: PANEL_LCD_PIN_BL (defined at drivers/auxdisplay/Kconfig:410) has leading or trailing whitespace in its prompt warning: INTEGRITY_AUDIT (defined at security/integrity/Kconfig:54) has leading or trailing whitespace in its prompt warning: the choice symbol VIRT_CPU_ACCOUNTING_GEN (defined at init/Kconfig:359) is selected by the following symbols, which has no effect: - NO_HZ_FULL (defined at kernel/time/Kconfig:85) warning: the choice symbol M486 (defined at arch/x86/Kconfig.cpu:53) is selected by the following symbols, which has no effect: - X86_RDC321X (defined at arch/x86/Kconfig:653) warning: the choice symbol FB_LITTLE_ENDIAN (defined at drivers/video/fbdev/Kconfig:168) is selected by the following symbols, which has no effect: - FB_MB862XX_LIME (defined at drivers/video/fbdev/Kconfig:2190)