From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0076.outbound.protection.outlook.com [65.55.169.76]) by dpdk.org (Postfix) with ESMTP id 6F7882C19 for ; Thu, 26 May 2016 08:13:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=480DN+y2hLjPx0yHuAgXUiUGiscg+LMAz7qC87DQNkU=; b=MN+g3LYg7Csgnf0olUHxhp4reH3FjSfz6VFHrp7S1WOxPqjo5YrxhI+rDnpFmjNHhblf6UWjAnqOzRV8lJmmxcZopj+I1F5W1WMNCQlfYqPQGIJlZrXYlhi3eY8XCq2ECLgo5WMW42GvPyb/Er7zhfPA1MCNeOoaiCtQpv1NWbc= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain.localdomain (122.171.219.171) by BY1PR0701MB1723.namprd07.prod.outlook.com (10.162.111.142) with Microsoft SMTP Server (TLS) id 15.1.501.7; Thu, 26 May 2016 06:13:36 +0000 From: Jerin Jacob To: CC: , , , Jerin Jacob Date: Thu, 26 May 2016 11:42:55 +0530 Message-ID: <1464243175-4170-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1464169261-25455-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1464169261-25455-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.171.219.171] X-ClientProxiedBy: MA1PR01CA0008.INDPRD01.PROD.OUTLOOK.COM (10.164.117.15) To BY1PR0701MB1723.namprd07.prod.outlook.com (10.162.111.142) X-MS-Office365-Filtering-Correlation-Id: 58e131ab-640a-482a-75dd-08d3852ce0ad X-Microsoft-Exchange-Diagnostics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rh70dT2OUr6/+l7Yksze9GwukoafJMJnknGY6+pr8JiBkD0R00ql62+yHfiw7QNSFGh4X0tO7FPbA76T0aVBuSZlePX+1aoRIhy4hAM1dhq0VQ34MYnBA7BlF4GbbUOcNEJI3vlYxkfv2ObV432/A+lS9/x8CvzfUZ+O6mOqNWZ532eEPB0EooKNEbesdCjiZxwvur3QnJWNmBxRAXmKA54jlG/Yf37A8nmG5+WAhvayq3t9t7u6j8Gsc1vb17qyciYTuMr0cmYO9Z3mxiT7qTIK+bvG1M0KrEO8Kc9ddTb7hyILys7u85JJRunocxv7NmWp3MxippQWTDcoEmgQB2qVF2DtArro+xxOz++sKJo0NtqXWWZXI/EirNRhJGLZ8c5/DmBtUPB2AKDVpKyBzlRO8EBDyNmKaTam7I= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:BY1PR0701MB1723; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1723; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 4:tj4pSeSe6kVDDI2o58kGSyBa5KGFLqHpcoxgUmOJQ+5Z0ArQNi+I96NT91I9+ng5qBNlBnH94N639egatvlr17WsbHOBIh/Hl+eCY+ZAVsY+5tHuGiP7a7s+O10wwK3IpbNNgO8bac5PzH4Fgc1ZYlIyBeb/aWqD4Bxmozre5191CrGts1BhCoBFSyG8V8QczAwTXtw1/a5Ukf/c409/401Rb+Z8yYmUdx4uvJrKf5W+DFUeOOSc+27IxYX6vUBAOKOsMX5G1315hL+B1FIL0FfavmSX9isvJXGg1wfNrdBhYJ62Fadm/2NrATcPbUgSD/MCEOew+e1IlkxFY8kPqa3O6V7RPWK08n6ZDmmbb+BzFu8FdBpGuAav21/FZVzmEBKL01h2WThLKNT+R1qs8QLAIq+fo5BH4vkjKh3sRBA= X-Forefront-PRVS: 0954EE4910 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(2950100001)(6116002)(586003)(189998001)(3846002)(107886002)(77096005)(5004730100002)(92566002)(36756003)(4001430100002)(110136002)(33646002)(50226002)(5008740100001)(8676002)(4326007)(19580395003)(81166006)(2351001)(5003940100001)(50466002)(50986999)(47776003)(76176999)(66066001)(229853001)(48376002)(2906002)(19580405001)(42186005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1723; H:localhost.localdomain.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 23:PPOlovXn7JtZ5d/rMI700hj8K3+mG2PXX1xuQwDxJoq+3x9vHAXFzO14IXPFGzzp2me8HDF4WmW2QGmPjwKMEOoBNh4SQaE8cXiRWXiOHseLaht6aOKN5MvK2oYTScx0oOjT/ivWuOF2ECVGbC200Mcz57vxPVdNrMa6siLGw8/1AFRaKuo+HG6g21EWTeidtzQfqJ3LCJ/rO+bxdyDi65zyRKRpRtbhzFl9W3DU5cuavEfx4nMNIEOtH7tC7ERK1c2tlHVxIzqKy3y+u1c5MgNk66JWt/+gn4ANa+hKGYRbXnMEwZYxD66ky89aX3Wm4wN4De/Fw0y0EypPeBaVeUwPUSyJYAYi9bD7KpS0BUKw1MICOptLVt0wsw1TvjVch3Fi+NsltePX1MeyKPx2HM9danIVhK4LuBWaCMy7hO+gd0xUDoramZVU/Zaoy8SPnKhPqb6Se7ComENIuuDbhp3Nfi9qa7cQbXLWERlE1gS0v/LVtAb7AzvJ7iLN0bhyGTV7MfetrT6yi9l1Fh9Tq20zQNsbP9XZIdWVUE4+ZP+1NSiKp4o/qrV/SfNkmb+PNVmCKgLnipHnczSRLze1bunNhTVNi+TZSsY9Szx0pEZXKtLveAbGgjXve+r4QA2jeqybY2u6imJooxnQ3NxicYLKAwLM9DQh4RPFDLtr7onE4XLWs/zdf+5+gkeWdVsk2WGxCMZfiRT1hhG/Gf3lACRn/Qbh9kyzaChOwH8GwrwvPsQADS8wOAnu3qMzTSsuYAbC3hMPnsCvCn2/eAacDT/e/xsmxQ5eQQV34L9WZJjjWtc4jA0re7iraeOgHO4iAqCTDwcUvsDkVZJ+cfb7wW9kjKA7pbo77Gkz7hVcqYsh+ulVCw9/dza2xTl6xvdBA1k4+fl+YevamK21nG/3yhJwrCBNKMTOO/N8nN3P4eBUbWXylNpJy/3nSh0b1YzA X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 5:qUfuPTGBqiI4+gErBWmW3K+nR3tFl0eFQlFqzfmr0ce0D4B673HM8L5ndd1LJaKX46os1lM5ZHvJH1GI8re+D8gBa4WQ+TOiUkL5A+VSVJ76nF8ftI6V8h/IE8ofgNnWGrehqyJ4T8Kg78WUAJuOsw==; 24:B7JV+740PpudgwJ7Jj9UQNBObmwGpfSaVQkycATfRfT1KI7lN8EZpVO6uU6Jb+ZrrfC4U7jAxYo3Txkbk6z05M8rjdrZ+qFe9jGakjw1QLc=; 7:zas4Yi5G299wnZK3ZNT4HrXofdly+zohSm4JDgUb+b71FuJJwEDY+8w8UicjZNPPsc4V0JbQ+8MhbDGb/IFdDdlUnn6msx27NI4IkLq2eUGC+WJ3d+mGMOFr3To0+FWt/Fhm4NSZ1pRPc0mb9dVN0z+SD4AVGBcXPlDkY+rcwYwjXgO6Dqu5gnhAAHo/ylgj SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2016 06:13:36.7116 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1723 Subject: [dpdk-dev] [PATCH v2] qede: fix build issue in the cross-compiling mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 06:13:40 -0000 In cross-compiling mode CC can be aarch64-*-linux-gnu-gcc instead of just gcc Suggested-by: Ferruh Yigit Signed-off-by: Jerin Jacob --- v1..v2 Use CONFIG_RTE_TOOLCHAIN_GCC instead of regular expression in filter --- drivers/net/qede/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile index c9b3b1c..d4b1e28 100644 --- a/drivers/net/qede/Makefile +++ b/drivers/net/qede/Makefile @@ -47,7 +47,7 @@ endif endif endif -ifneq (,$(filter gcc gcc48,$(CC))) +ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y) CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable CFLAGS_BASE_DRIVER += -Wno-missing-declarations CFLAGS_BASE_DRIVER += -Wno-maybe-uninitialized -- 2.5.5