Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/9272/?format=api
https://patches.dpdk.org/api/patches/9272/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1449118929-19962-7-git-send-email-thomas.monjalon@6wind.com/", "project": { "id": 1, "url": "https://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": "<1449118929-19962-7-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1449118929-19962-7-git-send-email-thomas.monjalon@6wind.com", "date": "2015-12-03T05:02:03", "name": "[dpdk-dev,v2,06/12] mk: split install rule", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "7144e90713436205112e764f35887fbf176c6461", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1449118929-19962-7-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/9272/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/9272/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id D8E8B8E87;\n\tThu, 3 Dec 2015 06:03:35 +0100 (CET)", "from mail-wm0-f41.google.com (mail-wm0-f41.google.com\n\t[74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 070E98E82\n\tfor <dev@dpdk.org>; Thu, 3 Dec 2015 06:03:34 +0100 (CET)", "by wmec201 with SMTP id c201so9409995wme.0\n\tfor <dev@dpdk.org>; Wed, 02 Dec 2015 21:03:34 -0800 (PST)", "from XPS13.ibrowse.com ([93.158.46.55])\n\tby smtp.gmail.com with ESMTPSA id\n\tgl4sm5720379wjd.17.2015.12.02.21.03.32\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tWed, 02 Dec 2015 21:03:33 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=nHvS3Kcx8RGDhxflE+qnRshd55TwvNlwyXC+eY2L5Ds=;\n\tb=arObK4/bH8+COJy3HIMc6J5JPaYnUCaeOAh3qBjkOiw6qYDPVCyPDJFeQx6kMvGGpA\n\td25fdRpL0g4OpCwzrJdgvtQD+xXvUsxdrhPxJ/Cw0EdeTgdy387vxecPadtN5AjXX3Lu\n\tcHPS6A5QXzmlKDGQ80/ZX1nfI/Ax8xBoUgc3+BXwtAQoncdzOmwQ3BMe+1FgpQVhA1T3\n\txx+dNXqkc+fpqD0CG2NnNk6O/gW68UWO3fr3fUjbWgpv57vQ1p7Fp1bTJBpvTPYWBq9o\n\tdPAwG2j3EEuWJCOQ7jwnIXhOIgzEo8JNxtpQvpLtdCkFsRCwrBdKrFTLxg9qW3oUMRdT\n\tQOXw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=nHvS3Kcx8RGDhxflE+qnRshd55TwvNlwyXC+eY2L5Ds=;\n\tb=j6/QS3wMAM6Fk0k9TdGwvBterX9dWMj4yruQwoqvxzKTjf9+gi2525Cb0sMXgEgY58\n\tuEH36YC1hWlIepV3NkrdLpxUPz1631SkOfv64iEZq3kNDDeDnl5VMb7jWqe6j8U8e5zH\n\tpE2ObfAZksGTFXHff8SMHgV11hsc+IirIxyeCU+4XcOSY+KYRNVUlu9r+1FnJb22qGn2\n\tuz/EAC4aZQjaDDEjidOS1Ag3n2tfdLKIWf+3fpGsoLFQPnaTupZJn3Yq6y9EYOmb2tfX\n\t/UkQd8Ce8iyiCHclqBGOMfoD2QkL9ei1FQ91Lb7/2fdjrjgQ4GFktICvftFeYDbBFsMc\n\tihrA==", "X-Gm-Message-State": "ALoCoQmP42Wst92PhdJuTQMtqj6P3cpMd+ie+vAJmOd6ZgvDY8XF2z4IlL89P2YmTWxiqju8UfYg", "X-Received": "by 10.28.173.131 with SMTP id w125mr49946888wme.41.1449119013885;\n\tWed, 02 Dec 2015 21:03:33 -0800 (PST)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "dev@dpdk.org", "Date": "Thu, 3 Dec 2015 06:02:03 +0100", "Message-Id": "<1449118929-19962-7-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.5.2", "In-Reply-To": "<1449118929-19962-1-git-send-email-thomas.monjalon@6wind.com>", "References": "<1449028676-19232-1-git-send-email-thomas.monjalon@6wind.com>\n\t<1449118929-19962-1-git-send-email-thomas.monjalon@6wind.com>", "Subject": "[dpdk-dev] [PATCH v2 06/12] mk: split install rule", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Provides new sub-rules to install runtime and sdk separately.\n\nThe build directory must be changed from BUILD_DIR to O in install\nrules to avoid a bad recursive effect (O being BUILD_DIR being O + T).\n\nSuggested-by: Mario Carrillo <mario.alfredo.c.arevalo@intel.com>\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n mk/rte.sdkinstall.mk | 18 ++++++++++++------\n mk/rte.sdkroot.mk | 2 ++\n 2 files changed, 14 insertions(+), 6 deletions(-)", "diff": "diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk\nindex 6a7aedd..509b50e 100644\n--- a/mk/rte.sdkinstall.mk\n+++ b/mk/rte.sdkinstall.mk\n@@ -93,25 +93,31 @@ ifeq ($(DESTDIR)$(if $T,,+),)\n \t@echo Installation cannot run with T defined and DESTDIR undefined\n else\n \t@echo ================== Installing $(DESTDIR)$(prefix)/\n+\t$(Q)$(MAKE) O=$(BUILD_DIR) install-runtime\n+\t$(Q)$(MAKE) O=$(BUILD_DIR) install-sdk\n+\t@echo Installation in $(DESTDIR)$(prefix)/ complete\n+endif\n+\n+install-runtime:\n \t$(Q)$(call rte_mkdir, $(DESTDIR)$(libdir))\n-\t$(Q)cp -a $(BUILD_DIR)/lib/* $(DESTDIR)$(libdir)\n+\t$(Q)cp -a $O/lib/* $(DESTDIR)$(libdir)\n \t$(Q)$(call rte_mkdir, $(DESTDIR)$(bindir))\n-\t$(Q)tar -cf - -C $(BUILD_DIR) app --exclude 'app/*.map' \\\n+\t$(Q)tar -cf - -C $O app --exclude 'app/*.map' \\\n \t\t--exclude 'app/cmdline*' --exclude app/test \\\n \t\t--exclude app/testacl --exclude app/testpipeline | \\\n \t tar -xf - -C $(DESTDIR)$(bindir) --strip-components=1 \\\n \t\t--keep-newer-files --warning=no-ignore-newer\n \t$(Q)$(call rte_mkdir, $(DESTDIR)$(datadir))\n \t$(Q)cp -a $(RTE_SDK)/tools $(DESTDIR)$(datadir)\n+\n+install-sdk:\n \t$(Q)$(call rte_mkdir, $(DESTDIR)$(includedir))\n-\t$(Q)tar -chf - -C $(BUILD_DIR) include | \\\n+\t$(Q)tar -chf - -C $O include | \\\n \t tar -xf - -C $(DESTDIR)$(includedir) --strip-components=1 \\\n \t\t--keep-newer-files --warning=no-ignore-newer\n \t$(Q)$(call rte_mkdir, $(DESTDIR)$(sdkdir))\n \t$(Q)cp -a $(RTE_SDK)/{mk,scripts} $(DESTDIR)$(sdkdir)\n \t$(Q)$(call rte_mkdir, $(DESTDIR)$(targetdir))\n-\t$(Q)cp -a $(BUILD_DIR)/.config $(DESTDIR)$(targetdir)\n+\t$(Q)cp -a $O/.config $(DESTDIR)$(targetdir)\n \t$(Q)$(call rte_symlink, $(DESTDIR)$(includedir), $(DESTDIR)$(targetdir)/include)\n \t$(Q)$(call rte_symlink, $(DESTDIR)$(libdir), $(DESTDIR)$(targetdir)/lib)\n-\t@echo Installation in $(DESTDIR)$(prefix)/ complete\n-endif\ndiff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk\nindex 9fdecf4..ce6b0fc 100644\n--- a/mk/rte.sdkroot.mk\n+++ b/mk/rte.sdkroot.mk\n@@ -96,6 +96,8 @@ test fast_test ring_test mempool_test perf_test coverage:\n .PHONY: install\n install:\n \t$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@\n+install-%:\n+\t$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@\n \n .PHONY: doc help\n doc: doc-all\n", "prefixes": [ "dpdk-dev", "v2", "06/12" ] }{ "id": 9272, "url": "