From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francesco Montorsi Subject: [PATCH] Add error message when trying to use make option T= during build/clean Date: Tue, 29 Sep 2015 18:04:42 +0200 Message-ID: <1443542682-7088-1-git-send-email-francesco.montorsi@gmail.com> To: dev@dpdk.org 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) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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