From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0041.outbound.protection.outlook.com [104.47.37.41]) by dpdk.org (Postfix) with ESMTP id F40C7A48A for ; Mon, 22 Jan 2018 14:15:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=cQrDtTAKakUr+pTAisJRQokHm+vrLZUiF4Qy+mQnEbw=; b=bm+RSdw3RV5g05IrEZFhu73M8g/e5dreuTOP49APQ3ehEBQ9dSv8KCicFEfJlu0ZnsDZ1cOvQbgDfByGn9gk4WreaXXo5ApQY6RUz0R+OLIt0KxRtkeP3YTXODNmPqtOX9IiJMI2kdh/76QlXjTdQs1nn3A7nt2+XeGkZiOO5X0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (111.93.218.67) by DM5PR07MB3468.namprd07.prod.outlook.com (10.164.153.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Mon, 22 Jan 2018 13:15:44 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com, harry.van.haaren@intel.com, herbert.guan@arm.com, hemant.agrawal@nxp.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Mon, 22 Jan 2018 18:44:50 +0530 Message-Id: <20180122131450.8855-1-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180119131508.7768-1-pbhagavatula@caviumnetworks.com> References: <20180119131508.7768-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0108.INDPRD01.PROD.OUTLOOK.COM (10.174.208.24) To DM5PR07MB3468.namprd07.prod.outlook.com (10.164.153.23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 14a84f6f-ca4f-4d5c-38e0-08d5619a3fca X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DM5PR07MB3468; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3468; 3:7SMQddsRP7+7KRktQMlEM7qvbl92w9lx7OGaGGDz90CHb5kQ53j2W2Kr8w5O/+WvG1g3Z1K83abfcZ33r1QQ4lKF6I+PNoUJ5TOOSjB4FDO7ocIMpNU5fVyr5w2PxOq4Ncis60BsNL8/qVgO3vBP2MpTvtNGCWbBkX1NZS+TvTlzYcoZ72ugqpxCm3DwJBZPW0FBNWTtZ/7cn4GN6d7ko4QzFnCg8GqeB+czTvkeNDaz8bOUEqLFahosZeg6+0g3; 25:HguAiB6SI6mWg+iPANCtpBpdidCEyjyuvcL0CpywWV7wrLjLyQi/PTasjUY7x9SBzvQiD2jGGGVanZqyWtqdnYVHZ0ovCBSmntdSZybhyVxYWvL7u42fjGMLgU3U9Do5lVIlAbShYulDBI5wm2+cn6AOorj2LwzMOcn/38Ex6D6uzB7DTYVG7pO/yslWci1HhxZhmAFczxh3z0HwKqOMb/unjMfMiABpRH7sHLyokab+R8vtHkXJJyJyk7SU5XzCcdgvHmiLWPt+k2dfP3W8WDvOfPiP/9DlkYnsxfFytBvVXt1GvsM+KQAF+2RODryOE2N8cRBmlXpQol3JPHhgFQ==; 31:NfBw7/PQAvHyT3OZRADLLZvLE5fbZ6MT37wnkXjUcu60QyLh8LWqzN+CoawHuRA+bhnbFQY5a4hyj/mrUWttmW+cpfaHU1y5n8L1bwcXVHeE/ZLuXqi8F0jiwcEOGb5eFyp/2JQAlPsCfhbujDlOn81fbNcjGtySSnkYoYFt9+uNzbNqvwMr583dMMYXLE3Hd1/27TEWALr8lQbe5oCUcDYcrip/t9AZNsUhg50x3Wk= X-MS-TrafficTypeDiagnostic: DM5PR07MB3468: X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3468; 20:ntB3+cUEyVyi96kcHx3VYb2M1MAnkQ7QSBykIa/Nb6Utn6TK03B870UZitFaWFMpUFONV5fauytXHANnDDto2o6kXkLaT38bNXBvQ78YSBeoXv7aWZbB3XOCjXNMNtJWMyzNdKUT8DD6/M3GeChOabvBzDz8LtXm/edbDHeW/8ul1pi1Nu4np2919oyikDhRfHvOhvddo8v02IOm62DoUVnLWKR1fQtlRXCutEZCkIrJlCJeQpYXMINpW2/uqZQNWXDeHQZc9aWkaPhrd/SEZLY6BOIzUO7UtamshpidxiViIzX2qIC5U+oaZ1UsehkrSzIoYql5AETHS8/GLxBe49mKwqhJDokykZvpLMeWUdAfu4BB7jByegVJqhuVqy/WE6OwlFsznmtgIRiFrdO65AmeLluuhe/pJ16h5kYAl1uzCUHoOyal+P9dPN4JDmyAuavFKq0YHWV3P8cEnq8BKW5p+fJ3aRV8vEoyDT/liiIdAA2ODsMmFHwL2QcSkUcjOJabX/xwW+xlIcHTC/S0+1oQRrJyKkwntsZoIpzHBsTrYqj7j5zOlBC1CmMJWI5JVdWtqPcjuxXp9iD6wBiS2G4FjuFd0/Y7mOappKsH2Rk=; 4:euXBsXTFkVX1JGnOItMnNG2lLNKxgEQ/uupQT+m+I/Qu30kalVPgU890M1JwfjVJAbJ0xOAWQ0yUvoeBKm1lGtG2VPJu2+JBEByy5OiGQimuSfd7rOmrVvOLoFJdpKfA4KSR5itELJMeUcpErLFUNNncNaFhLZqoD/PT5CbeIyTW1td1bLbjx8qyo+sbZROt1BYeC/Q9GbSJz6v3kho8CH+Cl5aWi5HhOUj2tEtX87PH2Qnd4A+hcT+M5EcBeMNm+gwj6JcuFNnvSay79gihYA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(3231023)(2400081)(944501161)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:DM5PR07MB3468; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DM5PR07MB3468; X-Forefront-PRVS: 0560A2214D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(346002)(396003)(39850400004)(39380400002)(366004)(376002)(199004)(189003)(6486002)(48376002)(478600001)(16586007)(50466002)(316002)(72206003)(47776003)(7736002)(6506007)(52116002)(305945005)(51416003)(5660300001)(76176011)(386003)(66066001)(6512007)(68736007)(105586002)(2906002)(3846002)(26005)(6116002)(97736004)(53936002)(107886003)(1076002)(6666003)(42882006)(8676002)(81156014)(8656006)(5009440100003)(4326008)(2950100002)(16526018)(8936002)(106356001)(36756003)(50226002)(81166006)(25786009)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3468; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3468; 23:QyK0wv99NpflolZNUyMDryX+gm/6LuIeBqLbDLysx?= =?us-ascii?Q?52FbZf/4pf/uCNsX4Rljx+YbqTH3lRnxUS8I2n5HJiMwKGx7801ZcS0tQN2L?= =?us-ascii?Q?RfRdtB8a1bH/nvYcUZN1GYdZi6RWhWUW1vjAIbTjqFNuW4F/f5JxA2vJxB9+?= =?us-ascii?Q?EtkZy4AnZDFjDR0uhB5hNRyUelO0mWmhSSIBjPtttIR+IzUnT7MTLcA3mg0F?= =?us-ascii?Q?27duoYSR1RquwlXsDcXjK5KKyDmJO1EQb65DTKMsxCr6he9bp70uLhV9QpoY?= =?us-ascii?Q?xwXHHj1nHMvmDqYK5/l1kP8D2rVLJ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viumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2018 13:15:44.1020 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 14a84f6f-ca4f-4d5c-38e0-08d5619a3fca X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3468 Subject: [dpdk-dev] [PATCH v2] build: add support for vendor specific ARM cross builds X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 13:15:48 -0000 Add various vendor specific cross build targets. This can be verified by using linaro toolchain and running meson build --cross-file config/arm/arch64_armv8__cross In future more cross build targets can be added. Signed-off-by: Pavan Nikhilesh --- v2 Changes: - rename cross file names. - redo machine args selection logic. config/arm/arm64_armv8_linuxapp_gcc | 10 ++++++++++ config/arm/arm64_thunderx_linuxapp_gcc | 13 +++++++++++++ config/arm/meson.build | 3 +++ 3 files changed, 26 insertions(+) create mode 100644 config/arm/arm64_armv8_linuxapp_gcc create mode 100644 config/arm/arm64_thunderx_linuxapp_gcc diff --git a/config/arm/arm64_armv8_linuxapp_gcc b/config/arm/arm64_armv8_linuxapp_gcc new file mode 100644 index 000000000..3b4d3c469 --- /dev/null +++ b/config/arm/arm64_armv8_linuxapp_gcc @@ -0,0 +1,10 @@ +[binaries] +c = 'aarch64-linux-gnu-gcc' +cpp = 'aarch64-linux-gnu-cpp' +ar = 'aarch64-linux-gnu-gcc-ar' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8-a' +endian = 'little' diff --git a/config/arm/arm64_thunderx_linuxapp_gcc b/config/arm/arm64_thunderx_linuxapp_gcc new file mode 100644 index 000000000..7ff34af74 --- /dev/null +++ b/config/arm/arm64_thunderx_linuxapp_gcc @@ -0,0 +1,13 @@ +[binaries] +c = 'aarch64-linux-gnu-gcc' +cpp = 'aarch64-linux-gnu-cpp' +ar = 'aarch64-linux-gnu-gcc-ar' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8-a' +endian = 'little' + +[properties] +implementor_id = '0x43' diff --git a/config/arm/meson.build b/config/arm/meson.build index 212b94499..a5bfb9610 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -59,6 +59,9 @@ else endif # Set to generic if variable is not found machine = get_variable('impl_' + cmd_output[0], 'generic') + else + impl_id = meson.get_cross_property('implementor_id', 'generic') + machine = get_variable('impl_' + impl_id) endif if machine == 'generic' -- 2.16.0