From patchwork Thu Dec 17 00:01:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiafu He X-Patchwork-Id: 68466 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBI4ixrI005715 for ; Fri, 18 Dec 2009 04:46:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763429AbZLQAH5 (ORCPT ); Wed, 16 Dec 2009 19:07:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763428AbZLQAH4 (ORCPT ); Wed, 16 Dec 2009 19:07:56 -0500 Received: from smtpoutwbe01.prod.mesa1.secureserver.net ([208.109.78.112]:53718 "HELO smtpoutwbe01.prod.mesa1.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1763427AbZLQAHz convert rfc822-to-8bit (ORCPT ); Wed, 16 Dec 2009 19:07:55 -0500 X-Greylist: delayed 399 seconds by postgrey-1.27 at vger.kernel.org; Wed, 16 Dec 2009 19:07:55 EST Received: (qmail 27073 invoked from network); 17 Dec 2009 00:01:14 -0000 Received: from unknown (HELO gem-wbe09.prod.mesa1.secureserver.net) (64.202.189.48) by smtpoutwbe01.prod.mesa1.secureserver.net with SMTP; 17 Dec 2009 00:01:14 -0000 Received: (qmail 24710 invoked by uid 99); 17 Dec 2009 00:01:14 -0000 X-Originating-IP: 71.184.114.95 User-Agent: Web-Based Email 5.1.31 Message-Id: <20091216170114.0b50c25debf12a9aa545bf810459b532.5b12d5606d.wbe@email.secureserver.net> From: "Jiafu He" To: linux-kbuild@vger.kernel.org Cc: "Michal Marek" Subject: [PATCH] Makefile.build: Fix built-in.o linking errors Date: Wed, 16 Dec 2009 17:01:14 -0700 Mime-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 341b589..c8c8c81 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -82,7 +82,7 @@ ifneq ($(strip $(lib-y) $(lib-m) $(lib-n) $(lib-)),) lib-target := $(obj)/lib.a endif -ifneq ($(strip $(obj-y) $(obj-m) $(obj-n) $(obj-) $(lib-target)),) +ifneq ($(strip $(obj-y) $(obj-m) $(obj-n) $(obj-) $(subdir-m) $(lib-target)),) builtin-target := $(obj)/built-in.o endif