From patchwork Wed Oct 8 14:28:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 38481 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 41F85202E7 for ; Wed, 8 Oct 2014 14:28:45 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id y10sf5296102wgg.10 for ; Wed, 08 Oct 2014 07:28:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:reply-to:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=1K4En+GEVBOcMfDMPC0dkxEeZ7SGz3+zUB2D0IPNa8k=; b=VHcp3jtlUN5FV0DYwr9TnJb6sGn7oNrZlu4RdHNxmBmAN0OsWa3wjA802hlP9zjglJ /PEE9Qze+6/kquPpNVEh16Fjy/fVEqOcYmAJ83PfAx3aMyWfwYceUicppUn1neaP/XUu 6lBj5IrNxDGr6d8EFj97EI7pgxdWy4kz3zlvjSZbotBaaAVFW6gLqmpFRPXzHQNPYl/o l/AsRYJ1UKOwgANiRmKPs7Z2LKbhvD3vaRdglwvjCT2vl0Lacfnj1VA1bHmEC0u5Igoq 0s0v1rVUMwW+VHZkqNP8tHGZSQR4Hg7MdqkPTjGwaeWIvnS2sUEOlVwIrV0R1ieEomjC B4uQ== X-Gm-Message-State: ALoCoQklHkTKEhHx5n9mqYSPDY+GP1n0vE4u5ew0uQMYwjqbNc0soPDkmMeMTw2lM2i3JgUeQvWn X-Received: by 10.112.17.3 with SMTP id k3mr1637330lbd.3.1412778524336; Wed, 08 Oct 2014 07:28:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.66 with SMTP id o2ls66263laj.8.gmail; Wed, 08 Oct 2014 07:28:44 -0700 (PDT) X-Received: by 10.112.91.41 with SMTP id cb9mr11148423lbb.53.1412778524199; Wed, 08 Oct 2014 07:28:44 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by mx.google.com with ESMTPS id cb5si386427lad.16.2014.10.08.07.28.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Oct 2014 07:28:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by mail-lb0-f172.google.com with SMTP id b6so8292604lbj.31 for ; Wed, 08 Oct 2014 07:28:44 -0700 (PDT) X-Received: by 10.152.19.195 with SMTP id h3mr11921192lae.71.1412778524070; Wed, 08 Oct 2014 07:28:44 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp72863lbz; Wed, 8 Oct 2014 07:28:43 -0700 (PDT) X-Received: by 10.224.125.200 with SMTP id z8mr13673080qar.77.1412778522797; Wed, 08 Oct 2014 07:28:42 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id d16si330197qac.62.2014.10.08.07.28.42 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 08 Oct 2014 07:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XbsEB-00084K-KH; Wed, 08 Oct 2014 14:28:31 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XbsE9-00084E-MF for edk2-devel@lists.sourceforge.net; Wed, 08 Oct 2014 14:28:29 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of linaro.org designates 74.125.82.49 as permitted sender) client-ip=74.125.82.49; envelope-from=leif.lindholm@linaro.org; helo=mail-wg0-f49.google.com; Received: from mail-wg0-f49.google.com ([74.125.82.49]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1XbsE7-0007n7-ME for edk2-devel@lists.sourceforge.net; Wed, 08 Oct 2014 14:28:29 +0000 Received: by mail-wg0-f49.google.com with SMTP id x12so11655579wgg.8 for ; Wed, 08 Oct 2014 07:28:21 -0700 (PDT) X-Received: by 10.180.182.166 with SMTP id ef6mr17959009wic.10.1412778501219; Wed, 08 Oct 2014 07:28:21 -0700 (PDT) Received: from mohikan.mushroom.smurfnet.nu (cpc4-cmbg17-2-0-cust71.5-4.cable.virginm.net. [86.14.224.72]) by mx.google.com with ESMTPSA id u8sm1501257wjq.1.2014.10.08.07.28.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Oct 2014 07:28:20 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.sourceforge.net Date: Wed, 8 Oct 2014 15:28:32 +0100 Message-Id: <1412778512-5398-1-git-send-email-leif.lindholm@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1XbsE7-0007n7-ME Subject: [edk2] [PATCH] ArmVExpressPkg: enable specifying firmware version string on build X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: leif.lindholm@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 If FIRMWARE_VER is defined on the build command line, set gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString based on it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm --- ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc index e12d5cd..08b6817 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc @@ -259,6 +259,9 @@ [PcdsFixedAtBuild.common] gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express" +!ifdef $(FIRMWARE_VER) + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)" +!endif gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress" gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000