From patchwork Tue Jun 12 00:32:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10459013 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4264D601AE for ; Tue, 12 Jun 2018 00:32:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FFFA28521 for ; Tue, 12 Jun 2018 00:32:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 241E428630; Tue, 12 Jun 2018 00:32:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C410228521 for ; Tue, 12 Jun 2018 00:32:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934786AbeFLAcv (ORCPT ); Mon, 11 Jun 2018 20:32:51 -0400 Received: from mail-pg0-f43.google.com ([74.125.83.43]:39495 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934798AbeFLAcu (ORCPT ); Mon, 11 Jun 2018 20:32:50 -0400 Received: by mail-pg0-f43.google.com with SMTP id w12-v6so10575055pgc.6 for ; Mon, 11 Jun 2018 17:32:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=88BcnQ/NtOVpXaOS+hMk79la6Z+N7cz6OMhcU6MW3io=; b=Vpr2nM7sRTUWpH0YnvIKGBw1GPYXcZA00IhqDO6ZEst37kkcIHdWIzGXTHFbS2wd+7 /YjUM9o0X6uOBD/0QxX94i9UDNJiVUW8ORUusjmj0f5IygPeArNyS4JXRr5kDLDS/Vyn 4NmtcVkShslZwyldHpGiu9UTRUHNQ2wxqWeoihfLJtWyV5t0q/X2XpVp//2Ej9K3xjTk x/RqvWfgb6PIZxZPiW61vYL983KdmZlnyBHsFgmjo7l9RSwwWNrvAIjX08zizQ4bAAEz JG10nCyy8LH6wvEB5EY6K/enKBS0qgzIPw2PxPzFtXEolox12lxFrh5QGvXQLQH8I/so /u/g== X-Gm-Message-State: APt69E33/uPvhEv4e+Fbv6cDKvszePG5UUuydKxXmphP0kU+RDiFQW2E hEqJX482eXC32iy7zyrDTzg3Qw== X-Google-Smtp-Source: ADUXVKI1xjIg3MnFA7LQmMq8I4aLwbFIjKEj4HJiEds7yf5g6EPXkOWmh2tBG/3y5P2nw1QPbG4DiA== X-Received: by 2002:a63:6c03:: with SMTP id h3-v6mr1177871pgc.28.1528763569920; Mon, 11 Jun 2018 17:32:49 -0700 (PDT) Received: from localhost.net ([2601:602:9802:a8dc::27e5]) by smtp.gmail.com with ESMTPSA id c12-v6sm40866112pfi.177.2018.06.11.17.32.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Jun 2018 17:32:48 -0700 (PDT) From: Laura Abbott To: Andy Lutomirski , mjw@fedoraproject.org, "H . J . Lu" , Masahiro Yamada Cc: Laura Abbott , Linus Torvalds , X86 ML , linux-kernel@vger.kernel.org, Nick Clifton , Cary Coutant , linux-kbuild@vger.kernel.org Subject: [PATCHv4 1/3] scripts: Preprocess module-common.lds Date: Mon, 11 Jun 2018 17:32:22 -0700 Message-Id: <20180612003224.3658-2-labbott@redhat.com> X-Mailer: git-send-email 2.18.0.rc1 In-Reply-To: <20180612003224.3658-1-labbott@redhat.com> References: <20180612003224.3658-1-labbott@redhat.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In preparation for some upcoming work, allow module-common.lds to be run through the preprocessor. Signed-off-by: Laura Abbott --- scripts/.gitignore | 1 + scripts/Makefile | 2 +- scripts/{module-common.lds => module-common.lds.S} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename scripts/{module-common.lds => module-common.lds.S} (100%) diff --git a/scripts/.gitignore b/scripts/.gitignore index 0442c06eefcb..afd1de57d9c6 100644 --- a/scripts/.gitignore +++ b/scripts/.gitignore @@ -13,3 +13,4 @@ asn1_compiler extract-cert sign-file insert-sys-cert +module-common.lds diff --git a/scripts/Makefile b/scripts/Makefile index 25ab143cbe14..631d9d1a71e4 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -25,7 +25,7 @@ HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include HOSTLOADLIBES_sign-file = -lcrypto HOSTLOADLIBES_extract-cert = -lcrypto -always := $(hostprogs-y) $(hostprogs-m) +always := $(hostprogs-y) $(hostprogs-m) module-common.lds # The following hostprogs-y programs are only build on demand hostprogs-y += unifdef diff --git a/scripts/module-common.lds b/scripts/module-common.lds.S similarity index 100% rename from scripts/module-common.lds rename to scripts/module-common.lds.S