get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/76784/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 76784,
    "url": "http://patches.dpdk.org/api/patches/76784/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200907220711.437405-3-thomas@monjalon.net/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20200907220711.437405-3-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200907220711.437405-3-thomas@monjalon.net",
    "date": "2020-09-07T22:06:42",
    "name": "[v4,02/31] examples: remove legacy sections of makefiles",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ec3bb05117e22b2ce3c800166ca98c70d8370511",
    "submitter": {
        "id": 685,
        "url": "http://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200907220711.437405-3-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 12000,
            "url": "http://patches.dpdk.org/api/series/12000/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12000",
            "date": "2020-09-07T22:06:40",
            "name": "remove make support in DPDK",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/12000/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76784/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/76784/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 35C3DA04AA;\n\tTue,  8 Sep 2020 00:07:46 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id F377C1C126;\n\tTue,  8 Sep 2020 00:07:27 +0200 (CEST)",
            "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 485511C0CD\n for <dev@dpdk.org>; Tue,  8 Sep 2020 00:07:23 +0200 (CEST)",
            "from compute7.internal (compute7.nyi.internal [10.202.2.47])\n by mailout.nyi.internal (Postfix) with ESMTP id DA6BC5C0081;\n Mon,  7 Sep 2020 18:07:22 -0400 (EDT)",
            "from mailfrontend1 ([10.202.2.162])\n by compute7.internal (MEProxy); Mon, 07 Sep 2020 18:07:22 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 9F848328005A;\n Mon,  7 Sep 2020 18:07:21 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=WGYOeIs0x4EMn\n jLZZtxJW6DHnbQkBHbBd0XbaaHxjNw=; b=CnXX/6QI6QuOK6dcXQwDhR+ehOw0r\n bPNzogCktMg7q2wBN87yKKd8LRaZqxW9GknrBy4EFPAaXwSKQX+JjVkLnet4VYeB\n jvKUS4mesVQU7SYZ/K2KVnqvrH8n9YmVeFBU468s4juYHjKxuz4d9wfivShO94e2\n GvpkrITkovszjOzdyx3FhI1C4nLNymdQp6NgO3fFG8JxZSSL51YehyXz7vOZgcLY\n 9S4dNO9/hs56m3pWHgy2ti5FXd/0VDKsGQe+VByvSEbxYR/Tp2KTxXWxyinNupwX\n VRXztdBoABGLLr6Wrf3UfEOSxZafR9m1Q7jHn9McHvMHB2tLyUONkZ2yw==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm3; bh=WGYOeIs0x4EMnjLZZtxJW6DHnbQkBHbBd0XbaaHxjNw=; b=Ji4eLsJ/\n QPvo7mwBLeDZsaLIznBwvNRaUINEmv6MLn5bg1WKaUFvFznCTlmiur+vdYvK4eO1\n 7RlBGzNfpcHwd6xcU99rC69SGIB5BsVwvGYX9jCKwJkfv76+kOMbIrQ3Fq7b0bM2\n RQty0TdWWQzfANUIOxiZeWHmkISGMK04AUg6jzmH4fnpdtDWQduwXXroX3rQwQ3d\n 1AVnupoFMgZ4CX4gcIUCxTrKYZcij1zBrPrUxvrqE9eFjYvQjFsajNuKhFEo/85S\n zWsSd/mYnDGbqOtFgW/sa+53W5ez0qOBF6+4YKLkHwEwXj+5rzThmkmg3GQfef4o\n mihlIXyThyc4AQ=="
        ],
        "X-ME-Sender": "<xms:Gq9WXy73BYzC3avQ6rhaAVSfxJ9hMrz5q1mMCvva41VyIkP7jBgMjg>\n <xme:Gq9WX76u-wRA1Wj13MdY0M2ZwNhAFU8DBW2aGB6Y60Pz69tBKty4w9GZjYvleRDs6\n I41M-sWWzmqhRdShA>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduiedrudehuddgtdefucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne\n cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr\n shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg\n ftrfgrthhtvghrnheptdetjeejteeiteevgeevgeevkedufedtveehteethfekjeeliedt\n lefggfeltdefnecuffhomhgrihhnpehvrghrshdrmhhkpdgvgihtrghpphdrmhhkpdhgnh\n hurdhorhhgnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhi\n iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghloh\n hnrdhnvght",
        "X-ME-Proxy": "<xmx:Gq9WXxdzsBCMkMVH4Ddv8KAQzdklF-5TvjIATHHrJq9M4TytfLUBuw>\n <xmx:Gq9WX_IWn_Inp-bG0U_bgnRj0Nb3ciKTRaqQHTSZ-FW1RRYDR4TNxA>\n <xmx:Gq9WX2L1tXtN9bUFJTK_EI9wjZ4jwkHzWf8yzFtT6hqZX_iUxwz8wA>\n <xmx:Gq9WX9WM0Qcbl6nflhemlhifMSCfaqfizNFZvQZACa_FQxBuAabaJw>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com, bruce.richardson@intel.com,\n ciara.power@intel.com, Nicolas Chautru <nicolas.chautru@intel.com>",
        "Date": "Tue,  8 Sep 2020 00:06:42 +0200",
        "Message-Id": "<20200907220711.437405-3-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.28.0",
        "In-Reply-To": "<20200907220711.437405-1-thomas@monjalon.net>",
        "References": "<20200903152717.42095-1-ciara.power@intel.com>\n <20200907220711.437405-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 02/31] examples: remove legacy sections of\n\tmakefiles",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Ciara Power <ciara.power@intel.com>\n\nThe example app makefiles contained sections using the legacy method of\ncompiling with make. These are no longer needed, and are removed,\nleaving only the section that uses pkg-config for the make build.\n\nSigned-off-by: Ciara Power <ciara.power@intel.com>\nAcked-by: Nicolas Chautru <nicolas.chautru@intel.com>\n---\n examples/bbdev_app/Makefile             | 23 ++-------------\n examples/bond/Makefile                  | 34 ++--------------------\n examples/cmdline/Makefile               | 29 ++-----------------\n examples/distributor/Makefile           | 30 ++-----------------\n examples/eventdev_pipeline/Makefile     | 23 ++-------------\n examples/fips_validation/Makefile       | 34 ++--------------------\n examples/flow_classify/Makefile         | 29 ++-----------------\n examples/flow_filtering/Makefile        | 23 ++-------------\n examples/helloworld/Makefile            | 23 ++-------------\n examples/ioat/Makefile                  | 22 ++------------\n examples/ip_fragmentation/Makefile      | 29 ++-----------------\n examples/ip_pipeline/Makefile           | 36 ++---------------------\n examples/ip_reassembly/Makefile         | 29 ++-----------------\n examples/ipsec-secgw/Makefile           | 36 ++---------------------\n examples/ipv4_multicast/Makefile        | 29 ++-----------------\n examples/kni/Makefile                   | 27 ++----------------\n examples/l2fwd-cat/Makefile             | 38 ++-----------------------\n examples/l2fwd-crypto/Makefile          | 28 ++----------------\n examples/l2fwd-event/Makefile           | 22 ++------------\n examples/l2fwd-jobstats/Makefile        | 23 ++-------------\n examples/l2fwd-keepalive/Makefile       | 23 ++-------------\n examples/l2fwd/Makefile                 | 23 ++-------------\n examples/l3fwd-acl/Makefile             | 28 ++----------------\n examples/l3fwd-graph/Makefile           | 23 ++-------------\n examples/l3fwd-power/Makefile           | 36 ++---------------------\n examples/l3fwd/Makefile                 | 23 ++-------------\n examples/link_status_interrupt/Makefile | 22 ++------------\n examples/ntb/Makefile                   | 32 ++-------------------\n examples/packet_ordering/Makefile       | 22 ++------------\n examples/ptpclient/Makefile             | 28 ++----------------\n examples/qos_meter/Makefile             | 28 ++----------------\n examples/qos_sched/Makefile             | 31 ++------------------\n examples/rxtx_callbacks/Makefile        | 31 ++------------------\n examples/service_cores/Makefile         | 28 ++----------------\n examples/skeleton/Makefile              | 29 ++-----------------\n examples/tep_termination/Makefile       | 27 ++----------------\n examples/timer/Makefile                 | 28 ++----------------\n examples/vdpa/Makefile                  | 32 ++-------------------\n examples/vhost/Makefile                 | 30 ++-----------------\n examples/vhost_blk/Makefile             | 31 ++------------------\n examples/vhost_crypto/Makefile          | 31 ++------------------\n examples/vmdq/Makefile                  | 23 ++-------------\n examples/vmdq_dcb/Makefile              | 31 ++------------------\n 43 files changed, 129 insertions(+), 1078 deletions(-)",
    "diff": "diff --git a/examples/bbdev_app/Makefile b/examples/bbdev_app/Makefile\nindex 3c8eb75a4e..2f156736d1 100644\n--- a/examples/bbdev_app/Makefile\n+++ b/examples/bbdev_app/Makefile\n@@ -8,7 +8,9 @@ APP = bbdev\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -39,22 +41,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/bond/Makefile b/examples/bond/Makefile\nindex 4e4289e151..4e560f574c 100644\n--- a/examples/bond/Makefile\n+++ b/examples/bond/Makefile\n@@ -8,7 +8,9 @@ APP = bond_app\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -41,33 +43,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += $(WERROR_FLAGS)\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-CFLAGS += -O3\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)\n-LDLIBS += -lrte_pmd_bond\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/cmdline/Makefile b/examples/cmdline/Makefile\nindex 7325097722..d8f51fb39b 100644\n--- a/examples/cmdline/Makefile\n+++ b/examples/cmdline/Makefile\n@@ -8,7 +8,9 @@ APP = cmdline\n SRCS-y := main.c commands.c parse_obj_list.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,28 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-# binary name\n-APP = cmdline\n-\n-# all source are stored in SRCS-y\n-SRCS-y := main.c commands.c parse_obj_list.c\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/distributor/Makefile b/examples/distributor/Makefile\nindex 6e3fef9813..4116064581 100644\n--- a/examples/distributor/Makefile\n+++ b/examples/distributor/Makefile\n@@ -8,7 +8,9 @@ APP = distributor_app\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,29 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-EXTRA_CFLAGS += -O3 -Wfatal-errors\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/eventdev_pipeline/Makefile b/examples/eventdev_pipeline/Makefile\nindex 95a8d0884a..05c6f865ad 100644\n--- a/examples/eventdev_pipeline/Makefile\n+++ b/examples/eventdev_pipeline/Makefile\n@@ -10,7 +10,9 @@ SRCS-y += pipeline_worker_generic.c\n SRCS-y += pipeline_worker_tx.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -39,22 +41,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/fips_validation/Makefile b/examples/fips_validation/Makefile\nindex b44ca2ee62..7ba9bcfea6 100644\n--- a/examples/fips_validation/Makefile\n+++ b/examples/fips_validation/Makefile\n@@ -18,7 +18,9 @@ SRCS-y += fips_validation_xts.c\n SRCS-y += main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -47,33 +49,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-INC += $(sort $(wildcard *.h))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += $(WERROR_FLAGS)\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -I$(SRCDIR)\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/flow_classify/Makefile b/examples/flow_classify/Makefile\nindex 161d576b60..4c215daf1b 100644\n--- a/examples/flow_classify/Makefile\n+++ b/examples/flow_classify/Makefile\n@@ -8,7 +8,9 @@ APP = flow_classify\n SRCS-y := flow_classify.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -39,28 +41,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/flow_filtering/Makefile b/examples/flow_filtering/Makefile\nindex 010a1383e2..0577e52985 100644\n--- a/examples/flow_filtering/Makefile\n+++ b/examples/flow_filtering/Makefile\n@@ -6,7 +6,9 @@ APP = flow\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -35,22 +37,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/helloworld/Makefile b/examples/helloworld/Makefile\nindex 94a1074cf6..2eef6e4527 100644\n--- a/examples/helloworld/Makefile\n+++ b/examples/helloworld/Makefile\n@@ -8,7 +8,9 @@ APP = helloworld\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,22 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/ioat/Makefile b/examples/ioat/Makefile\nindex 86308854ea..9645c27d2f 100644\n--- a/examples/ioat/Makefile\n+++ b/examples/ioat/Makefile\n@@ -8,7 +8,9 @@ APP = ioatfwd\n SRCS-y := ioatfwd.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,21 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/ip_fragmentation/Makefile b/examples/ip_fragmentation/Makefile\nindex 3f4db3f59d..f6baf635bb 100644\n--- a/examples/ip_fragmentation/Makefile\n+++ b/examples/ip_fragmentation/Makefile\n@@ -9,7 +9,9 @@ APP = ip_fragmentation\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -39,28 +41,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile\nindex 1116bb6c18..d25e39a464 100644\n--- a/examples/ip_pipeline/Makefile\n+++ b/examples/ip_pipeline/Makefile\n@@ -21,7 +21,9 @@ SRCS-y += tmgr.c\n SRCS-y += cryptodev.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -57,35 +59,3 @@ build:\n clean:\n \trm -f build/$(APP)* build/*.o\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)\n-$(info This application can only operate in a linux environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-all:\n-clean:\n-else\n-\n-INC += $(sort $(wildcard *.h))\n-\n-SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := $(SRCS-y)\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -I$(SRCDIR)\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\n-endif\ndiff --git a/examples/ip_reassembly/Makefile b/examples/ip_reassembly/Makefile\nindex be9e541bd6..479b802907 100644\n--- a/examples/ip_reassembly/Makefile\n+++ b/examples/ip_reassembly/Makefile\n@@ -9,7 +9,9 @@ APP = ip_reassembly\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -38,28 +40,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/ipsec-secgw/Makefile b/examples/ipsec-secgw/Makefile\nindex b5ccbca858..5e6cb51eac 100644\n--- a/examples/ipsec-secgw/Makefile\n+++ b/examples/ipsec-secgw/Makefile\n@@ -23,7 +23,9 @@ SRCS-y += flow.c\n CFLAGS += -gdwarf-2\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -54,35 +56,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(MAKECMDGOALS),clean)\n-ifneq ($(CONFIG_RTE_LIBRTE_IPSEC),y)\n-$(error \"RTE_LIBRTE_IPSEC is required to build ipsec-secgw\")\n-endif\n-endif\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -O3 -gdwarf-2\n-CFLAGS += $(WERROR_FLAGS)\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)\n-CFLAGS_sa.o += -diag-disable=vec\n-endif\n-\n-ifeq ($(DEBUG),1)\n-CFLAGS += -DIPSEC_DEBUG -fstack-protector-all -O0\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/ipv4_multicast/Makefile b/examples/ipv4_multicast/Makefile\nindex 0ed78c1cc2..fb1ebdd433 100644\n--- a/examples/ipv4_multicast/Makefile\n+++ b/examples/ipv4_multicast/Makefile\n@@ -9,7 +9,9 @@ APP = ipv4_multicast\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -38,28 +40,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/kni/Makefile b/examples/kni/Makefile\nindex 8fcb67c619..fa9fa85319 100644\n--- a/examples/kni/Makefile\n+++ b/examples/kni/Makefile\n@@ -8,7 +8,9 @@ APP = kni\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -38,26 +40,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)\n-$(error This application can only operate in a linux environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-endif\n-\n-CFLAGS += -O3\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += $(WERROR_FLAGS)\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/l2fwd-cat/Makefile b/examples/l2fwd-cat/Makefile\nindex d767a10d7d..c5f82fb548 100644\n--- a/examples/l2fwd-cat/Makefile\n+++ b/examples/l2fwd-cat/Makefile\n@@ -8,7 +8,9 @@ APP = l2fwd-cat\n SRCS-y := l2fwd-cat.c cat.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -39,37 +41,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-ifeq ($(PQOS_INSTALL_PATH),)\n-$(error \"Please define PQOS_INSTALL_PATH environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-EXTRA_CFLAGS += -O3 -g -Wfatal-errors\n-\n-CFLAGS += -I$(PQOS_INSTALL_PATH)/../include\n-\n-LDLIBS += -L$(PQOS_INSTALL_PATH)\n-LDLIBS += -lpqos\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/l2fwd-crypto/Makefile b/examples/l2fwd-crypto/Makefile\nindex cdbb91a1e6..4953ee2b95 100644\n--- a/examples/l2fwd-crypto/Makefile\n+++ b/examples/l2fwd-crypto/Makefile\n@@ -8,7 +8,9 @@ APP = l2fwd-crypto\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,27 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-\n-ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)\n-ifeq ($(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER),y)\n-LDLIBS += -lrte_pmd_crypto_scheduler\n-endif\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/l2fwd-event/Makefile b/examples/l2fwd-event/Makefile\nindex ddee388ae6..109b7caa4e 100644\n--- a/examples/l2fwd-event/Makefile\n+++ b/examples/l2fwd-event/Makefile\n@@ -14,7 +14,9 @@ SRCS-y += l2fwd_event_generic.c\n SRCS-y += l2fwd_event_internal_port.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -43,21 +45,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/l2fwd-jobstats/Makefile b/examples/l2fwd-jobstats/Makefile\nindex bdb83c3e1c..d3ff2d3ee9 100644\n--- a/examples/l2fwd-jobstats/Makefile\n+++ b/examples/l2fwd-jobstats/Makefile\n@@ -8,7 +8,9 @@ APP = l2fwd-jobstats\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,22 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/l2fwd-keepalive/Makefile b/examples/l2fwd-keepalive/Makefile\nindex 9fd9db4974..c327efab36 100644\n--- a/examples/l2fwd-keepalive/Makefile\n+++ b/examples/l2fwd-keepalive/Makefile\n@@ -8,7 +8,9 @@ APP = l2fwd-keepalive\n SRCS-y := main.c shm.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -39,22 +41,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-LDFLAGS += -lrt\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/l2fwd/Makefile b/examples/l2fwd/Makefile\nindex 15105ac57e..b180deb862 100644\n--- a/examples/l2fwd/Makefile\n+++ b/examples/l2fwd/Makefile\n@@ -8,7 +8,9 @@ APP = l2fwd\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -39,22 +41,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-# Add flag to allow experimental API as l2fwd uses rte_ethdev_set_ptype API\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/l3fwd-acl/Makefile b/examples/l3fwd-acl/Makefile\nindex 6644a2cf1e..eeb6288dae 100644\n--- a/examples/l3fwd-acl/Makefile\n+++ b/examples/l3fwd-acl/Makefile\n@@ -8,7 +8,9 @@ APP = l3fwd-acl\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,27 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/l3fwd-graph/Makefile b/examples/l3fwd-graph/Makefile\nindex f3cf275ece..368ac21147 100644\n--- a/examples/l3fwd-graph/Makefile\n+++ b/examples/l3fwd-graph/Makefile\n@@ -8,7 +8,9 @@ APP = l3fwd-graph\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,22 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -I$(SRCDIR)\n-CFLAGS += -O3 $(USER_FLAGS)\n-CFLAGS += $(WERROR_FLAGS)\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/l3fwd-power/Makefile b/examples/l3fwd-power/Makefile\nindex ac1ccdcf61..d69854c9f8 100644\n--- a/examples/l3fwd-power/Makefile\n+++ b/examples/l3fwd-power/Makefile\n@@ -8,7 +8,9 @@ APP = l3fwd-power\n SRCS-y := main.c perf_core.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -39,35 +41,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)\n-$(info This application can only operate in a linux environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-all:\n-else\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-LDLIBS += -lm -lrte_telemetry\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\n-endif\ndiff --git a/examples/l3fwd/Makefile b/examples/l3fwd/Makefile\nindex b25a515813..d87eafcd0c 100644\n--- a/examples/l3fwd/Makefile\n+++ b/examples/l3fwd/Makefile\n@@ -9,7 +9,9 @@ SRCS-y := main.c l3fwd_lpm.c l3fwd_em.c l3fwd_event.c\n SRCS-y += l3fwd_event_generic.c l3fwd_event_internal_port.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -38,22 +40,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -I$(SRCDIR)\n-CFLAGS += -O3 $(USER_FLAGS)\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/link_status_interrupt/Makefile b/examples/link_status_interrupt/Makefile\nindex f16916faa9..b9b02124a4 100644\n--- a/examples/link_status_interrupt/Makefile\n+++ b/examples/link_status_interrupt/Makefile\n@@ -8,7 +8,9 @@ APP = link_status_interrupt\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,21 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/ntb/Makefile b/examples/ntb/Makefile\nindex 81ec6017f5..4675570fd2 100644\n--- a/examples/ntb/Makefile\n+++ b/examples/ntb/Makefile\n@@ -8,8 +8,9 @@ APP = ntb_fwd\n SRCS-y := ntb_fwd.c\n \n # Build using pkg-config variables if possible\n-$(shell pkg-config --exists libdpdk)\n-ifeq ($(.SHELLSTATUS),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -42,30 +43,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \trmdir --ignore-fail-on-non-empty build\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, can be overridden by command line or environment\n-RTE_TARGET ?= x86_64-native-linuxapp-gcc\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n-$(info This application can only operate in a linuxapp environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-all:\n-else\n-\n-CFLAGS += -D_FILE_OFFSET_BITS=64\n-CFLAGS += -O2\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\n-endif\ndiff --git a/examples/packet_ordering/Makefile b/examples/packet_ordering/Makefile\nindex f99b69dc25..e8d6c57b72 100644\n--- a/examples/packet_ordering/Makefile\n+++ b/examples/packet_ordering/Makefile\n@@ -8,7 +8,9 @@ APP = packet_ordering\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,21 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/ptpclient/Makefile b/examples/ptpclient/Makefile\nindex a9555fc66a..86059d8b28 100644\n--- a/examples/ptpclient/Makefile\n+++ b/examples/ptpclient/Makefile\n@@ -8,7 +8,9 @@ APP = ptpclient\n SRCS-y := ptpclient.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,27 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/qos_meter/Makefile b/examples/qos_meter/Makefile\nindex 165e07ee25..7a53818296 100644\n--- a/examples/qos_meter/Makefile\n+++ b/examples/qos_meter/Makefile\n@@ -8,7 +8,9 @@ APP = qos_meter\n SRCS-y := main.c rte_policer.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -39,27 +41,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/qos_sched/Makefile b/examples/qos_sched/Makefile\nindex 0dd7d91055..408074a9f5 100644\n--- a/examples/qos_sched/Makefile\n+++ b/examples/qos_sched/Makefile\n@@ -8,7 +8,9 @@ APP = qos_sched\n SRCS-y := main.c args.c init.c app_thread.c cfg_file.c cmdline.c stats.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,30 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)\n-$(info This application can only operate in a linux environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-all:\n-clean:\n-else\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\n-endif\ndiff --git a/examples/rxtx_callbacks/Makefile b/examples/rxtx_callbacks/Makefile\nindex 10e5f14d5c..bac3015d34 100644\n--- a/examples/rxtx_callbacks/Makefile\n+++ b/examples/rxtx_callbacks/Makefile\n@@ -8,7 +8,9 @@ APP = rxtx_callbacks\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,30 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += $(WERROR_FLAGS)\n-\n-# rte_eth_read_clock is experimental\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-EXTRA_CFLAGS += -O3 -g -Wfatal-errors\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/service_cores/Makefile b/examples/service_cores/Makefile\nindex e742d88f61..beb7ea0b82 100644\n--- a/examples/service_cores/Makefile\n+++ b/examples/service_cores/Makefile\n@@ -8,7 +8,9 @@ APP = service_cores\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,27 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\ndiff --git a/examples/skeleton/Makefile b/examples/skeleton/Makefile\nindex 5f5acf7159..ca52abba42 100644\n--- a/examples/skeleton/Makefile\n+++ b/examples/skeleton/Makefile\n@@ -8,7 +8,9 @@ APP = basicfwd\n SRCS-y := basicfwd.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,28 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-EXTRA_CFLAGS += -O3 -g -Wfatal-errors\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/tep_termination/Makefile b/examples/tep_termination/Makefile\nindex 548ca3cee3..443bcb190e 100644\n--- a/examples/tep_termination/Makefile\n+++ b/examples/tep_termination/Makefile\n@@ -8,7 +8,9 @@ APP = tep_termination\n SRCS-y := main.c vxlan_setup.c vxlan.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -41,26 +43,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)\n-$(error This application can only operate in a linux environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-endif\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -Wno-deprecated-declarations\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/timer/Makefile b/examples/timer/Makefile\nindex b40b65995e..0f6523afa6 100644\n--- a/examples/timer/Makefile\n+++ b/examples/timer/Makefile\n@@ -8,7 +8,9 @@ APP = timer\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,27 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += -O3\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/vdpa/Makefile b/examples/vdpa/Makefile\nindex bc0b6793e6..c4b2184ead 100644\n--- a/examples/vdpa/Makefile\n+++ b/examples/vdpa/Makefile\n@@ -9,7 +9,9 @@ SRCS-y := main.c\n CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -38,31 +40,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)\n-$(info This application can only operate in a linux environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-all:\n-else\n-\n-CFLAGS += -O2 -D_FILE_OFFSET_BITS=64\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -D_GNU_SOURCE\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif # linuxapp\n-\n-endif # pkg-config\ndiff --git a/examples/vhost/Makefile b/examples/vhost/Makefile\nindex ef6f3550f3..cec59d0e0f 100644\n--- a/examples/vhost/Makefile\n+++ b/examples/vhost/Makefile\n@@ -8,7 +8,9 @@ APP = vhost-switch\n SRCS-y := main.c virtio_net.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -41,29 +43,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)\n-$(info This application can only operate in a linux environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-all:\n-else\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -O2 -D_FILE_OFFSET_BITS=64\n-CFLAGS += $(WERROR_FLAGS)\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\n-endif\ndiff --git a/examples/vhost_blk/Makefile b/examples/vhost_blk/Makefile\nindex 3952791784..792591386e 100644\n--- a/examples/vhost_blk/Makefile\n+++ b/examples/vhost_blk/Makefile\n@@ -8,8 +8,9 @@ APP = vhost-blk\n SRCS-y := blk.c vhost_blk.c vhost_blk_compat.c\n \n # Build using pkg-config variables if possible\n-$(shell pkg-config --exists libdpdk)\n-ifeq ($(.SHELLSTATUS),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -42,29 +43,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)\n-$(info This application can only operate in a linux environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-all:\n-else\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -O2 -D_FILE_OFFSET_BITS=64\n-CFLAGS += $(WERROR_FLAGS)\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif\n-endif\ndiff --git a/examples/vhost_crypto/Makefile b/examples/vhost_crypto/Makefile\nindex 28e3e4de74..27abd91998 100644\n--- a/examples/vhost_crypto/Makefile\n+++ b/examples/vhost_crypto/Makefile\n@@ -9,7 +9,9 @@ SRCS-y := main.c\n CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -38,30 +40,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)\n-$(info This application can only operate in a linux environment, \\\n-please change the definition of the RTE_TARGET environment variable)\n-all:\n-else\n-\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-CFLAGS += -O2 -D_FILE_OFFSET_BITS=64\n-CFLAGS += $(WERROR_FLAGS)\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-\n-endif # Linux\n-\n-endif # pkg-config\ndiff --git a/examples/vmdq/Makefile b/examples/vmdq/Makefile\nindex b73373d3f5..de527281eb 100644\n--- a/examples/vmdq/Makefile\n+++ b/examples/vmdq/Makefile\n@@ -8,7 +8,9 @@ APP = vmdq_app\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,22 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-EXTRA_CFLAGS += -O3\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\ndiff --git a/examples/vmdq_dcb/Makefile b/examples/vmdq_dcb/Makefile\nindex 8d8baf729b..9c9049d85e 100644\n--- a/examples/vmdq_dcb/Makefile\n+++ b/examples/vmdq_dcb/Makefile\n@@ -8,7 +8,9 @@ APP = vmdq_dcb_app\n SRCS-y := main.c\n \n # Build using pkg-config variables if possible\n-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\n+$(error \"no installation of DPDK found\")\n+endif\n \n all: shared\n .PHONY: shared static\n@@ -37,30 +39,3 @@ build:\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n \ttest -d build && rmdir -p build || true\n-\n-else # Build using legacy build system\n-\n-ifeq ($(RTE_SDK),)\n-$(error \"Please define RTE_SDK environment variable\")\n-endif\n-\n-# Default target, detect a build directory, by looking for a path with a .config\n-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))\n-\n-include $(RTE_SDK)/mk/rte.vars.mk\n-\n-CFLAGS += $(WERROR_FLAGS)\n-CFLAGS += -DALLOW_EXPERIMENTAL_API\n-\n-# workaround for a gcc bug with noreturn attribute\n-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)\n-CFLAGS_main.o += -Wno-return-type\n-endif\n-ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)\n-CFLAGS_main.o += -diag-disable=vec\n-endif\n-EXTRA_CFLAGS += -O3 -g\n-\n-include $(RTE_SDK)/mk/rte.extapp.mk\n-endif\n",
    "prefixes": [
        "v4",
        "02/31"
    ]
}