Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/53517/?format=api
http://patches.dpdk.org/api/patches/53517/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190517120231.15898-4-bruce.richardson@intel.com/", "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": "<20190517120231.15898-4-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190517120231.15898-4-bruce.richardson@intel.com", "date": "2019-05-17T12:02:31", "name": "[v3,3/3] examples: fix make clean when using pkg-config for building", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "8f85a574600ff3aa14ea3d319382a80f8e07e6ba", "submitter": { "id": 20, "url": "http://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190517120231.15898-4-bruce.richardson@intel.com/mbox/", "series": [ { "id": 4706, "url": "http://patches.dpdk.org/api/series/4706/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4706", "date": "2019-05-17T12:02:28", "name": "Fixes for building examples", "version": 3, "mbox": "http://patches.dpdk.org/series/4706/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/53517/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/53517/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E16A07CCF;\n\tFri, 17 May 2019 14:02:48 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id 1CFB169D4;\n\tFri, 17 May 2019 14:02:41 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 May 2019 05:02:41 -0700", "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.2])\n\tby orsmga008.jf.intel.com with ESMTP; 17 May 2019 05:02:40 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "bluca@debian.org, Bruce Richardson <bruce.richardson@intel.com>,\n\tstable@dpdk.org", "Date": "Fri, 17 May 2019 13:02:31 +0100", "Message-Id": "<20190517120231.15898-4-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.21.0", "In-Reply-To": "<20190517120231.15898-1-bruce.richardson@intel.com>", "References": "<20190517114613.7027-1-bruce.richardson@intel.com>\n\t<20190517120231.15898-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v3 3/3] examples: fix make clean when using\n\tpkg-config for building", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The \"make clean\" command had a number of issues:\n- the \"--ignore-fail-on-non-empty\" flag is not present on BSD\n- the call to remove the build folder would fail if there was no build\n folder present.\n\nThese are fixed by only removing the build folder if it exists, and by\nusing -p flag to rmdir in place of --ignore-fail-on-non-empty\n\nFixes: 22119c4591a0 (\"examples: use pkg-config in makefiles\")\n\nCc: stable@dpdk.org\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n examples/bbdev_app/Makefile | 2 +-\n examples/bond/Makefile | 2 +-\n examples/cmdline/Makefile | 2 +-\n examples/distributor/Makefile | 2 +-\n examples/eventdev_pipeline/Makefile | 2 +-\n examples/exception_path/Makefile | 2 +-\n examples/fips_validation/Makefile | 2 +-\n examples/flow_classify/Makefile | 2 +-\n examples/flow_filtering/Makefile | 2 +-\n examples/helloworld/Makefile | 2 +-\n examples/ip_fragmentation/Makefile | 2 +-\n examples/ip_pipeline/Makefile | 2 +-\n examples/ip_reassembly/Makefile | 2 +-\n examples/ipsec-secgw/Makefile | 2 +-\n examples/ipv4_multicast/Makefile | 2 +-\n examples/kni/Makefile | 2 +-\n examples/l2fwd-cat/Makefile | 2 +-\n examples/l2fwd-crypto/Makefile | 2 +-\n examples/l2fwd-jobstats/Makefile | 2 +-\n examples/l2fwd-keepalive/Makefile | 2 +-\n examples/l2fwd/Makefile | 2 +-\n examples/l3fwd-acl/Makefile | 2 +-\n examples/l3fwd-power/Makefile | 2 +-\n examples/l3fwd-vf/Makefile | 2 +-\n examples/l3fwd/Makefile | 2 +-\n examples/link_status_interrupt/Makefile | 2 +-\n examples/load_balancer/Makefile | 2 +-\n examples/packet_ordering/Makefile | 2 +-\n examples/ptpclient/Makefile | 2 +-\n examples/qos_meter/Makefile | 2 +-\n examples/qos_sched/Makefile | 2 +-\n examples/rxtx_callbacks/Makefile | 2 +-\n examples/service_cores/Makefile | 2 +-\n examples/skeleton/Makefile | 2 +-\n examples/tep_termination/Makefile | 2 +-\n examples/timer/Makefile | 2 +-\n examples/vhost/Makefile | 2 +-\n examples/vhost_scsi/Makefile | 2 +-\n examples/vmdq/Makefile | 2 +-\n examples/vmdq_dcb/Makefile | 2 +-\n 40 files changed, 40 insertions(+), 40 deletions(-)", "diff": "diff --git a/examples/bbdev_app/Makefile b/examples/bbdev_app/Makefile\nindex e8115b46a..af313d926 100644\n--- a/examples/bbdev_app/Makefile\n+++ b/examples/bbdev_app/Makefile\n@@ -37,7 +37,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/bond/Makefile b/examples/bond/Makefile\nindex 488eeac70..278b5f690 100644\n--- a/examples/bond/Makefile\n+++ b/examples/bond/Makefile\n@@ -39,7 +39,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/cmdline/Makefile b/examples/cmdline/Makefile\nindex a03dfa8ee..03d9ed3cc 100644\n--- a/examples/cmdline/Makefile\n+++ b/examples/cmdline/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/distributor/Makefile b/examples/distributor/Makefile\nindex 52076214b..2edc0ea3d 100644\n--- a/examples/distributor/Makefile\n+++ b/examples/distributor/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/eventdev_pipeline/Makefile b/examples/eventdev_pipeline/Makefile\nindex 0b0d1ade9..1d3394947 100644\n--- a/examples/eventdev_pipeline/Makefile\n+++ b/examples/eventdev_pipeline/Makefile\n@@ -37,7 +37,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/exception_path/Makefile b/examples/exception_path/Makefile\nindex 18db85ddb..c3ba2787c 100644\n--- a/examples/exception_path/Makefile\n+++ b/examples/exception_path/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/fips_validation/Makefile b/examples/fips_validation/Makefile\nindex e74252e27..19240911a 100644\n--- a/examples/fips_validation/Makefile\n+++ b/examples/fips_validation/Makefile\n@@ -44,7 +44,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/flow_classify/Makefile b/examples/flow_classify/Makefile\nindex dfce1a4bd..182debcba 100644\n--- a/examples/flow_classify/Makefile\n+++ b/examples/flow_classify/Makefile\n@@ -37,7 +37,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/flow_filtering/Makefile b/examples/flow_filtering/Makefile\nindex f657c0336..b182a2a29 100644\n--- a/examples/flow_filtering/Makefile\n+++ b/examples/flow_filtering/Makefile\n@@ -33,7 +33,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/helloworld/Makefile b/examples/helloworld/Makefile\nindex 97d82f68a..980b011fc 100644\n--- a/examples/helloworld/Makefile\n+++ b/examples/helloworld/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/ip_fragmentation/Makefile b/examples/ip_fragmentation/Makefile\nindex 6d1a1fbba..56726d688 100644\n--- a/examples/ip_fragmentation/Makefile\n+++ b/examples/ip_fragmentation/Makefile\n@@ -36,7 +36,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile\nindex 409966afd..acd93e29b 100644\n--- a/examples/ip_pipeline/Makefile\n+++ b/examples/ip_pipeline/Makefile\n@@ -55,7 +55,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP)* build/*.o\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/ip_reassembly/Makefile b/examples/ip_reassembly/Makefile\nindex 7bbc241c7..1baec86ad 100644\n--- a/examples/ip_reassembly/Makefile\n+++ b/examples/ip_reassembly/Makefile\n@@ -36,7 +36,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/ipsec-secgw/Makefile b/examples/ipsec-secgw/Makefile\nindex 75f2bcd00..a2d8244e8 100644\n--- a/examples/ipsec-secgw/Makefile\n+++ b/examples/ipsec-secgw/Makefile\n@@ -48,7 +48,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/ipv4_multicast/Makefile b/examples/ipv4_multicast/Makefile\nindex 5a1e368fa..5595b9cbf 100644\n--- a/examples/ipv4_multicast/Makefile\n+++ b/examples/ipv4_multicast/Makefile\n@@ -36,7 +36,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/kni/Makefile b/examples/kni/Makefile\nindex 634334f86..e01703567 100644\n--- a/examples/kni/Makefile\n+++ b/examples/kni/Makefile\n@@ -36,7 +36,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/l2fwd-cat/Makefile b/examples/l2fwd-cat/Makefile\nindex fb3c4bc00..b4f729a66 100644\n--- a/examples/l2fwd-cat/Makefile\n+++ b/examples/l2fwd-cat/Makefile\n@@ -37,7 +37,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/l2fwd-crypto/Makefile b/examples/l2fwd-crypto/Makefile\nindex ed5e2c73f..3986a4c10 100644\n--- a/examples/l2fwd-crypto/Makefile\n+++ b/examples/l2fwd-crypto/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/l2fwd-jobstats/Makefile b/examples/l2fwd-jobstats/Makefile\nindex e14c3a2b2..4517a3d7d 100644\n--- a/examples/l2fwd-jobstats/Makefile\n+++ b/examples/l2fwd-jobstats/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/l2fwd-keepalive/Makefile b/examples/l2fwd-keepalive/Makefile\nindex bc851b732..56d0e0666 100644\n--- a/examples/l2fwd-keepalive/Makefile\n+++ b/examples/l2fwd-keepalive/Makefile\n@@ -37,7 +37,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/l2fwd/Makefile b/examples/l2fwd/Makefile\nindex 94d70a43e..43277318f 100644\n--- a/examples/l2fwd/Makefile\n+++ b/examples/l2fwd/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/l3fwd-acl/Makefile b/examples/l3fwd-acl/Makefile\nindex fc236f129..b38343725 100644\n--- a/examples/l3fwd-acl/Makefile\n+++ b/examples/l3fwd-acl/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/l3fwd-power/Makefile b/examples/l3fwd-power/Makefile\nindex a106b0404..8a4eee8ae 100644\n--- a/examples/l3fwd-power/Makefile\n+++ b/examples/l3fwd-power/Makefile\n@@ -37,7 +37,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/l3fwd-vf/Makefile b/examples/l3fwd-vf/Makefile\nindex cc93603e3..8ad2fbcbc 100644\n--- a/examples/l3fwd-vf/Makefile\n+++ b/examples/l3fwd-vf/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/l3fwd/Makefile b/examples/l3fwd/Makefile\nindex 8c51c7b96..dcc38a928 100644\n--- a/examples/l3fwd/Makefile\n+++ b/examples/l3fwd/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/link_status_interrupt/Makefile b/examples/link_status_interrupt/Makefile\nindex d12e04782..987724d47 100644\n--- a/examples/link_status_interrupt/Makefile\n+++ b/examples/link_status_interrupt/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/load_balancer/Makefile b/examples/load_balancer/Makefile\nindex d4b145ca1..935ee1591 100644\n--- a/examples/load_balancer/Makefile\n+++ b/examples/load_balancer/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/packet_ordering/Makefile b/examples/packet_ordering/Makefile\nindex 474ec9571..2c3187a41 100644\n--- a/examples/packet_ordering/Makefile\n+++ b/examples/packet_ordering/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/ptpclient/Makefile b/examples/ptpclient/Makefile\nindex f113c9d56..857a679b7 100644\n--- a/examples/ptpclient/Makefile\n+++ b/examples/ptpclient/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/qos_meter/Makefile b/examples/qos_meter/Makefile\nindex fbcda09b2..7321f34f3 100644\n--- a/examples/qos_meter/Makefile\n+++ b/examples/qos_meter/Makefile\n@@ -37,7 +37,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/qos_sched/Makefile b/examples/qos_sched/Makefile\nindex a25875900..7012c3d4c 100644\n--- a/examples/qos_sched/Makefile\n+++ b/examples/qos_sched/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/rxtx_callbacks/Makefile b/examples/rxtx_callbacks/Makefile\nindex b937d599b..22c4013db 100644\n--- a/examples/rxtx_callbacks/Makefile\n+++ b/examples/rxtx_callbacks/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/service_cores/Makefile b/examples/service_cores/Makefile\nindex 351fb7e1d..1dcd4c62e 100644\n--- a/examples/service_cores/Makefile\n+++ b/examples/service_cores/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else\n \ndiff --git a/examples/skeleton/Makefile b/examples/skeleton/Makefile\nindex 56713a524..b9cd05f2f 100644\n--- a/examples/skeleton/Makefile\n+++ b/examples/skeleton/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/tep_termination/Makefile b/examples/tep_termination/Makefile\nindex f4b85e49b..3782378d9 100644\n--- a/examples/tep_termination/Makefile\n+++ b/examples/tep_termination/Makefile\n@@ -39,7 +39,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/timer/Makefile b/examples/timer/Makefile\nindex 046348fd1..f49703ff4 100644\n--- a/examples/timer/Makefile\n+++ b/examples/timer/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/vhost/Makefile b/examples/vhost/Makefile\nindex 80607b79c..9c3e0ece0 100644\n--- a/examples/vhost/Makefile\n+++ b/examples/vhost/Makefile\n@@ -39,7 +39,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/vhost_scsi/Makefile b/examples/vhost_scsi/Makefile\nindex 0a3450bae..813ab66a8 100644\n--- a/examples/vhost_scsi/Makefile\n+++ b/examples/vhost_scsi/Makefile\n@@ -38,7 +38,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/vmdq/Makefile b/examples/vmdq/Makefile\nindex 6a389c776..b67d1937f 100644\n--- a/examples/vmdq/Makefile\n+++ b/examples/vmdq/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \ndiff --git a/examples/vmdq_dcb/Makefile b/examples/vmdq_dcb/Makefile\nindex 113bce7d1..0ddcc320b 100644\n--- a/examples/vmdq_dcb/Makefile\n+++ b/examples/vmdq_dcb/Makefile\n@@ -35,7 +35,7 @@ build:\n .PHONY: clean\n clean:\n \trm -f build/$(APP) build/$(APP)-static build/$(APP)-shared\n-\trmdir --ignore-fail-on-non-empty build\n+\ttest -d build && rmdir -p build || true\n \n else # Build using legacy build system\n \n", "prefixes": [ "v3", "3/3" ] }{ "id": 53517, "url": "