From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id 3F14A5A44 for ; Tue, 29 Sep 2015 18:06:16 +0200 (CEST) Received: by wiclk2 with SMTP id lk2so23324810wic.1 for ; Tue, 29 Sep 2015 09:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=DG2m6LZ7DbgtL9bKsn2LUkcPYcOHez3841VqOT0fI8Q=; b=LlRMr5aZEjWv7NPkXMnhy6px9fHiisVWUbItLKKoPu88CGDfEP6t5YoLEZZ6FZyQC6 zDt9M/QpXK4Bwm7EhMMRBoUMSb87fNp3cTh7a8WZyYuU9iO8rzNRZfStkAw4d9VHWvy5 1j1R9iZPWm3lmxQ2/ckgN1gYoSSqOc0fqvGYugh8mMejrE5UcLOF5DTvcM1EZf2KAqCq 4UgsMNgbhqQetZpF2hT5kq87DlBIB0hcvGvWyonDg7r4k/soC3DrZ3OwK6RgvfIHJ2CV iaT+jFAd2v4HzFmLI1+i1cg2opPpCmEj6AVaBlBHGVZhLdDXk9ZcHGdUuJ8ZDKSq6bwY 0k0w== X-Received: by 10.180.88.37 with SMTP id bd5mr27894697wib.82.1443542775674; Tue, 29 Sep 2015 09:06:15 -0700 (PDT) Received: from mod-l-fmontorsi.empirix.com ([83.216.166.201]) by smtp.gmail.com with ESMTPSA id fs2sm24635778wib.12.2015.09.29.09.06.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Sep 2015 09:06:14 -0700 (PDT) From: Francesco Montorsi To: dev@dpdk.org Date: Tue, 29 Sep 2015 18:04:42 +0200 Message-Id: <1443542682-7088-1-git-send-email-francesco.montorsi@gmail.com> X-Mailer: git-send-email 2.5.3.windows.1 Subject: [dpdk-dev] [PATCH] Add error message when trying to use make option T= during build/clean 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: Tue, 29 Sep 2015 16:06:16 -0000 From: Francesco Montorsi --- mk/rte.sdkbuild.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk index 38ec7bd..013aa89 100644 --- a/mk/rte.sdkbuild.mk +++ b/mk/rte.sdkbuild.mk @@ -29,6 +29,12 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +ifdef T + ifeq ("$(origin T)", "command line") + $(error "Cannot use T= with a build/clean target") + endif +endif + # If DESTDIR variable is given, install binary dpdk # -- 2.5.3.windows.1