From patchwork Thu Apr 16 04:38:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 1271486 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.a=rsa-sha256 header.s=dec2015msa header.b=Ue/K/2Ne; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 492mjX5xg2z9sPF for ; Thu, 16 Apr 2020 14:40:00 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3B42181A08; Thu, 16 Apr 2020 06:39:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="Ue/K/2Ne"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD54081A05; Thu, 16 Apr 2020 06:39:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 43A7F819BA for ; Thu, 16 Apr 2020 06:39:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=masahiroy@kernel.org Received: from oscar.flets-west.jp (softbank060142179096.bbtec.net [60.142.179.96]) (authenticated) by conuserg-08.nifty.com with ESMTP id 03G4cUkN008921; Thu, 16 Apr 2020 13:38:30 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 03G4cUkN008921 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1587011911; bh=smElSXsk+ejIX3vDC84u5BLweB9MoVowBTnX6UZ1awQ=; h=From:To:Cc:Subject:Date:From; b=Ue/K/2NeG9U8a7iXv6HkYzuezkfoLe5zO7pymTpN3Ni2eMY/OtJuf4nMWMQzbpbH9 619SzNhMFUT3aTnVk74WOVjTPMrL/WwfZFt7jNtfYtsvhOmOsuM1QV3EAuRLn99Ysv UIP1wZoBeuUliZVZbcyFOMTvxTJJEYFnPZbKyyXBoxhbfAxW20UgUvzv5sHIOO40eT GRtiuoUGzkHaSMQfzlZ0t4JTGMnaAKfeB9jc4AwGhANt2qdwsPElZ7jceVERbwjnnO m1bBv8t4YWrXocOIp8+E9oasvPChTCVeNw50khs9wt/XpDX1o0VFP4BMYAvPc8cCFt ZNtGvS+lg3/lw== X-Nifty-SrcIP: [60.142.179.96] From: Masahiro Yamada To: u-boot@lists.denx.de Cc: Bin Meng , Masahiro Yamada , AKASHI Takahiro , Anatolij Gustschin , Fabio Estevam , Heiko Stuebner , Heinrich Schuchardt , Jagan Teki , Jean-Jacques Hiblot , Kever Yang , Simon Glass , Vignesh Raghavendra Subject: [PATCH 0/3] support separate asm-offsets.h for SPL and TPL Date: Thu, 16 Apr 2020 13:38:23 +0900 Message-Id: <20200416043826.490120-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Bin Meng asked me how to generate correct asm-offsets headers for SPL/TPL. 1/3: fix a bug that I just happened to find when touching this line 2/3: cherry-pick some Kbuild changes. This is a good resync regardless of 3/3 3/3: change as Bin Meng requested. This complicates the build process a bit more, but if we want this, just go ahead. Masahiro Yamada (3): kbuild: add FORCE to dependency of $(obj)/dts/dt-platdata.o kbuild: cherry-pick kbuild changes from Linux kbuild: SPL/TPL: generate separate asm-offsets.h for SPL and TPL Kbuild | 49 +++++------------------------------------- Makefile | 3 +-- scripts/Makefile.build | 18 +++++----------- scripts/Makefile.host | 12 ----------- scripts/Makefile.lib | 42 ++++++++++++++++++++++++++++-------- scripts/Makefile.spl | 13 ++++++++--- 6 files changed, 54 insertions(+), 83 deletions(-)