From patchwork Fri Apr 17 07:21:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 1272076 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=sNB6j/md; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 493SHn3bTwz9sSh for ; Fri, 17 Apr 2020 17:23:33 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A0FF181A26; Fri, 17 Apr 2020 09:23:23 +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="sNB6j/md"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3440881A34; Fri, 17 Apr 2020 09:23:08 +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-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) (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 0BF8981A27 for ; Fri, 17 Apr 2020 09:22:34 +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-11.nifty.com with ESMTP id 03H7LhPl017434; Fri, 17 Apr 2020 16:21:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com 03H7LhPl017434 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1587108103; bh=ZzmlNlKJRhnXXh7hhIRIatBsiB7+h1TVPg6IuuxLfM0=; h=From:To:Cc:Subject:Date:From; b=sNB6j/mdgJ6CgpKQidonvgMN9eiS47HKTEPh/f6GsJ4wofcJ/sDadaCZ8UaX/gTzV db5OafAJyDP9Km2hhzymIX8CGagqgkUwR76ougXm2I/bwKtqeAMZwfTbXsA6wjFyI3 rczeGeFbNhUCFx4lADoDjB4Fh74Pw+NqNqTzQLfhKF+C0OF5XgQqlZ0ED0RmP+6UCD XgGpHEOk3NefjgUzNerGXXy33foVv56LCjggV4BkQ0k39TH1E0LXrOVgbSeEg7ADV7 Dgx80lujVFx5GIBqGTghb4j8IffiXmRT7caEygP4ayOIX26FaCgfvVk/lzA6V+RkT2 tePqs3ZV5+7tQ== X-Nifty-SrcIP: [60.142.179.96] From: Masahiro Yamada To: u-boot@lists.denx.de Cc: Masahiro Yamada Subject: [PATCH v2 0/3] support separate asm-offsets.h for SPL and TPL Date: Fri, 17 Apr 2020 16:21:34 +0900 Message-Id: <20200417072137.801234-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. Changes in v2: - Check-pick two more while I am here - Rebase on the mainline 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/Kbuild.include | 15 +++++++------ scripts/Makefile.build | 18 +++++----------- scripts/Makefile.host | 12 ----------- scripts/Makefile.lib | 42 ++++++++++++++++++++++++++++-------- scripts/Makefile.spl | 13 ++++++++--- 7 files changed, 62 insertions(+), 90 deletions(-)