DPDK patches and discussions
 help / color / mirror / Atom feed
From: Anders Roxell <anders.roxell@linaro.org>
To: thomas.monjalon@6wind.com
Cc: dev@dpdk.org, ricardo.salveti@linaro.org,
	Anders Roxell <anders.roxell@linaro.org>
Subject: [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support
Date: Wed, 18 Jan 2017 22:46:03 +0100	[thread overview]
Message-ID: <20170118214604.32498-1-anders.roxell@linaro.org> (raw)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 pkg/dpdk.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec
index 189cb2f2..a27bdd3b 100644
--- a/pkg/dpdk.spec
+++ b/pkg/dpdk.spec
@@ -40,10 +40,16 @@ Summary: Data Plane Development Kit core
 Group: System Environment/Libraries
 License: BSD and LGPLv2 and GPLv2
 
-ExclusiveArch: i686, x86_64
+ExclusiveArch: i686 x86_64 aarch64
+%ifarch aarch64
+%global machine armv8a
+%global target arm64-%{machine}-linuxapp-gcc
+%global config arm64-%{machine}-linuxapp-gcc
+%else
 %global machine default
 %global target %{_arch}-%{machine}-linuxapp-gcc
 %global config %{_arch}-native-linuxapp-gcc
+%endif
 
 BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel
 BuildRequires: doxygen, python-sphinx, inkscape
-- 
2.11.0

             reply	other threads:[~2017-01-18 21:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 21:46 Anders Roxell [this message]
2017-01-18 21:46 ` [dpdk-dev] [PATCH 2/2] pkg: remove xen-devel for aarch64 Anders Roxell
2017-02-07 17:13 ` [dpdk-dev] [PATCH 1/2] pkg: add aarch64 support Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170118214604.32498-1-anders.roxell@linaro.org \
    --to=anders.roxell@linaro.org \
    --cc=dev@dpdk.org \
    --cc=ricardo.salveti@linaro.org \
    --cc=thomas.monjalon@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).