From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wM1GS5lyWzDqFx for ; Mon, 8 May 2017 21:57:52 +1000 (AEST) From: Michael Ellerman To: Horia =?utf-8?Q?Geant=C4=83?= , Benjamin Herrenschmidt , Paul Mackerras Cc: Nicholas Piggin , Mircea Pop , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc: fix distclean with Makefile.postlink In-Reply-To: <20170508085016.32601-1-horia.geanta@nxp.com> References: <20170508085016.32601-1-horia.geanta@nxp.com> Date: Mon, 08 May 2017 21:57:48 +1000 Message-ID: <8737cf8ssj.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Horia Geant=C4=83 writes: > Makefile.postlink always includes include/config/auto.conf, however > this file is not present in a clean kernel tree, causing make to fail: > > arch/powerpc/Makefile.postlink:10: include/config/auto.conf: No such file= or directory > make[1]: *** No rule to make target `include/config/auto.conf'. Stop. > make: *** [vmlinuxclean] Error 2 > > Change the inclusion such that file not being found does not trigger > an error. > > Fixes: f188d0524d7e ("powerpc: Use the new post-link pass to check reloca= tions") I can't reproduce this. What exact steps are you doing? And what version of Make? cheers From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753867AbdEHL5z convert rfc822-to-8bit (ORCPT ); Mon, 8 May 2017 07:57:55 -0400 Received: from ozlabs.org ([103.22.144.67]:53607 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751390AbdEHL5y (ORCPT ); Mon, 8 May 2017 07:57:54 -0400 From: Michael Ellerman To: Horia =?utf-8?Q?Geant=C4=83?= , Benjamin Herrenschmidt , Paul Mackerras Cc: Nicholas Piggin , Mircea Pop , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc: fix distclean with Makefile.postlink In-Reply-To: <20170508085016.32601-1-horia.geanta@nxp.com> References: <20170508085016.32601-1-horia.geanta@nxp.com> User-Agent: Notmuch/0.21 (https://notmuchmail.org) Date: Mon, 08 May 2017 21:57:48 +1000 Message-ID: <8737cf8ssj.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Horia Geantă writes: > Makefile.postlink always includes include/config/auto.conf, however > this file is not present in a clean kernel tree, causing make to fail: > > arch/powerpc/Makefile.postlink:10: include/config/auto.conf: No such file or directory > make[1]: *** No rule to make target `include/config/auto.conf'. Stop. > make: *** [vmlinuxclean] Error 2 > > Change the inclusion such that file not being found does not trigger > an error. > > Fixes: f188d0524d7e ("powerpc: Use the new post-link pass to check relocations") I can't reproduce this. What exact steps are you doing? And what version of Make? cheers