From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 8045F727A for ; Thu, 1 Feb 2018 10:49:38 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3B41A20CCB; Thu, 1 Feb 2018 04:49:38 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 01 Feb 2018 04:49:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=agd9YVyJDL76Nb0ch 2ZK9ujgI2yWeC9uWJYybSahM4c=; b=JvPmtdEYEeI0ApOq85KVeLFHw8mfBj+4R Wbj+Ob6mjWS6WyY4YI2coQbZA1MAvWs2ZkTVyOpXJ+54S8LJUM3AMNirL34Ge/AZ rQT214l2G8z82bx4sozdZOhhgPdISzUFKAZDQJFTiutTuseOgsmBGoBzJHUafdHw 5wtrXzRIIEGsQHeP7FmqWl6ir0JiKC/qW8tw0/aGi08dAjPk0lcw+I9CcaOUSuLu 4wFgbc49vPgxgHTBEAos7FPFqhnmcbm7BGkZHEfzi1plCGapake0VUqIH2SkkjEX Qvy0nIUVCXKqdYiFEo6TPhR8UC4SjHWmMcBmTTIuBXT89NsnZE78Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=agd9YVyJDL76Nb0ch2ZK9ujgI2yWeC9uWJYybSahM4c=; b=sVlRKyCj 8UVq4G0kdf6KdGI/n5kXLOnDhZHIiUP3sDXlvJjl9orTjaVxD2wByKt9thkbFIZm J1xaUrEOXvdm9w1bnqn7y2p+zKvmRhe2yHNyzJL/VsV3w8EJGc0S9TNzYGFioJ0O xLahrcFnOPRCUCLfWPhE0woNcIgLoPoggoGsuVLRKFIhf2YT5SfXxIOffjRNOFVz 4NUtAvgAAJJqhuq2CNB2SBSaJA8Ve8/NnGPbXsfOsVpJc0hIN06anvl/OKy32yoD pE4zu4SaYbfivR3+TchQGpteVHVZl2hQCiESo688TG3EvB95qhmzhaVxbKBmG7ym aLB728/ufeQvYA== X-ME-Sender: Received: from yliu-mob.mtl.com (unknown [115.150.27.200]) by mail.messagingengine.com (Postfix) with ESMTPA id 0B11F24610; Thu, 1 Feb 2018 04:49:36 -0500 (EST) From: Yuanhan Liu To: Marko Kovacevic Cc: Vipin Varghese , dpdk stable Date: Thu, 1 Feb 2018 17:47:51 +0800 Message-Id: <1517478479-12417-37-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> References: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'mk: support renamed Makefile in external project' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2018 09:49:38 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/03/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 2111436e1703fa6507640d9eff33396cb97ede53 Mon Sep 17 00:00:00 2001 From: Marko Kovacevic Date: Mon, 22 Jan 2018 10:59:05 +0000 Subject: [PATCH] mk: support renamed Makefile in external project [ upstream commit 3a5c339d51a4846ee95a848bf493b7fcc80819dc ] The build system made a recursive call to "make" after creating the build directory. This recursive call used the hard-coded filename "Makefile", which prevented builds from working if the file was renamed and make called using "make -f". Taking the filename from MAKEFILES_LIST make variable fixes this. Fixes: af75078fece3 ("first public release") Signed-off-by: Marko Kovacevic Acked-by: Vipin Varghese --- mk/internal/rte.extvars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/internal/rte.extvars.mk b/mk/internal/rte.extvars.mk index e2462fd..723c015 100644 --- a/mk/internal/rte.extvars.mk +++ b/mk/internal/rte.extvars.mk @@ -48,7 +48,7 @@ ifeq ("$(origin M)", "command line") RTE_EXTMK := $(abspath $(M)) endif endif -RTE_EXTMK ?= $(RTE_SRCDIR)/Makefile +RTE_EXTMK ?= $(RTE_SRCDIR)/$(firstword $(MAKEFILE_LIST)) export RTE_EXTMK # RTE_SDK_BIN must point to .config, include/ and lib/. -- 2.7.4