From patchwork Fri Sep 4 14:51:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Marek X-Patchwork-Id: 45690 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n84ErMMT019030 for ; Fri, 4 Sep 2009 14:53:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933698AbZIDOwB (ORCPT ); Fri, 4 Sep 2009 10:52:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933696AbZIDOwA (ORCPT ); Fri, 4 Sep 2009 10:52:00 -0400 Received: from cantor.suse.de ([195.135.220.2]:46736 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933694AbZIDOv6 (ORCPT ); Fri, 4 Sep 2009 10:51:58 -0400 Received: from relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 6ED3A6CB00; Fri, 4 Sep 2009 16:52:00 +0200 (CEST) Received: by sepie.suse.cz (Postfix, from userid 10020) id 04C9A76683; Fri, 4 Sep 2009 16:51:59 +0200 (CEST) From: Michal Marek To: sam@ravnborg.org Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, akpm@linux-foundation.org, Jan Beulich Subject: [PATCH 2/2] kbuild: rebuild fix for Makefile.modbuiltin Date: Fri, 4 Sep 2009 16:51:33 +0200 Message-Id: <3263f1a5a7e97b7db424ddd429698a23f8ec665b.1252075736.git.mmarek@suse.cz> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <7a5991a43c301eb402f67dc140c03aa1360e756e.1252075736.git.mmarek@suse.cz> References: <7a5991a43c301eb402f67dc140c03aa1360e756e.1252075736.git.mmarek@suse.cz> In-Reply-To: References: Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org From: Jan Beulich This patch addresses an issue with rebuilds failing to re-generate modules.builtin files after altering config options. Signed-off-by: Jan Beulich Signed-off-by: Michal Marek --- scripts/Makefile.modbuiltin | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/scripts/Makefile.modbuiltin b/scripts/Makefile.modbuiltin index 55e1885..cc39366 100644 --- a/scripts/Makefile.modbuiltin +++ b/scripts/Makefile.modbuiltin @@ -31,9 +31,13 @@ modbuiltin-cmds = \ for m in $(modbuiltin-mods); do echo kernel/$$m; done; \ cat /dev/null $(modbuiltin-subdirs); -$(modbuiltin-target): $(subdir-ym) +$(modbuiltin-target): $(subdir-ym) FORCE $(Q)($(modbuiltin-cmds)) > $@ +PHONY += FORCE + +FORCE: + # Descending # ---------------------------------------------------------------------------