Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 21 Oct 2002 13:36:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 21 Oct 2002 13:36:55 -0400 Received: from pasmtp.tele.dk ([193.162.159.95]:35334 "EHLO pasmtp.tele.dk") by vger.kernel.org with ESMTP id ; Mon, 21 Oct 2002 13:36:21 -0400 Date: Mon, 21 Oct 2002 19:42:21 +0200 From: Sam Ravnborg To: Khalid Aziz Cc: linux-kernel@vger.kernel.org, khalid@hp.com Subject: Re: [PATCH] Retrieve configuration information from kernel Message-ID: <20021021194221.A1817@mars.ravnborg.org> Mail-Followup-To: Khalid Aziz , linux-kernel@vger.kernel.org, khalid@hp.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from khalid@fc.hp.com on Mon, Oct 21, 2002 at 11:11:51AM -0600 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1220 Lines: 30 On Mon, Oct 21, 2002 at 11:11:51AM -0600, Khalid Aziz wrote: I like the concept. Few comments: Touching all defconfigs is not good. Try to limit the impact of the patch. People just have to press return two more times when running oldconfig. > diff -urN --exclude-from=/linux/diff_exclude_file linux-2.5.44/kernel/Makefile linux-2.5.44-ikconfig/kernel/Makefile > include $(TOPDIR)/Rules.make > + > +$(obj)/ikconfig.h: $(TOPDIR)/scripts/mkconfigs $(TOPDIR)/.config $(TOPDIR)/Makefile > + chmod 755 $(TOPDIR)/scripts/mkconfigs > + $(TOPDIR)/scripts/mkconfigs $(TOPDIR)/.config $(TOPDIR)/Makefile > $(obj)/ikconfig.h > + > +$(obj)/configs.o: $(obj)/ikconfig.h $(obj)/configs.c \ > + $(TOPDIR)/include/linux/version.h \ > + $(TOPDIR)/include/linux/compile.h Please avoid using $(TOPDIR) The build is running from root of the kernel tree anyway, so it is nor required. Use $(CONFIG_SHELL) when executing scripts, to avoid the necessity to have the executable bit set. Sam - 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/