From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BE8BC43441 for ; Thu, 11 Oct 2018 00:04:38 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0A03620865 for ; Thu, 11 Oct 2018 00:04:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0A03620865 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 42Vrn01C1xzDrpw for ; Thu, 11 Oct 2018 11:04:36 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 42Vrl16lMbzDrNV for ; Thu, 11 Oct 2018 11:02:53 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42Vrl14xj3z9s89; Thu, 11 Oct 2018 11:02:53 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Joel Stanley , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 1/2] powerpc/boot: Expose Kconfig symbols to wrapper In-Reply-To: <87in2a2dgh.fsf@concordia.ellerman.id.au> References: <20181009232803.15072-1-joel@jms.id.au> <20181009232803.15072-2-joel@jms.id.au> <87in2a2dgh.fsf@concordia.ellerman.id.au> Date: Thu, 11 Oct 2018 11:02:53 +1100 Message-ID: <87a7nl2vv6.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oliver O'Halloran Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Michael Ellerman writes: > Joel Stanley writes: >> diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile >> index 0fb96c26136f..eeed74e0dfca 100644 >> --- a/arch/powerpc/boot/Makefile >> +++ b/arch/powerpc/boot/Makefile >> @@ -197,9 +197,14 @@ $(obj)/empty.c: >> $(obj)/zImage.coff.lds $(obj)/zImage.ps3.lds : $(obj)/%: $(srctree)/$(src)/%.S >> $(Q)cp $< $@ >> >> +$(obj)/serial.c: $(obj)/autoconf.h >> + >> +$(obj)/autoconf.h: $(obj)/%: $(srctree)/include/generated/% >> + $(Q)cp $< $@ >> + > > This gives me: > make[2]: *** No rule to make target '../include/generated/autoconf.h', needed by 'arch/powerpc/boot/autoconf.h'. Stop. > > The ../ is $(srctree). Seems autoconf.h is in objtree: ~/linux$ make O=build prepare ... ~/linux$ find . -name autoconf.h ./drivers/staging/rtl8723bs/include/autoconf.h ./tools/testing/radix-tree/generated/autoconf.h ./build/include/generated/autoconf.h So I'll fix that up. cheers