Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/7469/?format=api
https://patches.dpdk.org/api/patches/7469/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1444076406-30141-7-git-send-email-mario.alfredo.c.arevalo@intel.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": "<1444076406-30141-7-git-send-email-mario.alfredo.c.arevalo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1444076406-30141-7-git-send-email-mario.alfredo.c.arevalo@intel.com", "date": "2015-10-05T20:20:05", "name": "[dpdk-dev,v4,6/7] mk: Add rule for installing sdk files", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "4110ec69a23e91b22c2b539fd2ef19a2b50712a2", "submitter": { "id": 329, "url": "https://patches.dpdk.org/api/people/329/?format=api", "name": "Mario Carrillo", "email": "mario.alfredo.c.arevalo@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1444076406-30141-7-git-send-email-mario.alfredo.c.arevalo@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/7469/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/7469/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 BFA7D93A4;\n\tMon, 5 Oct 2015 22:20:20 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 2206D9267\n\tfor <dev@dpdk.org>; Mon, 5 Oct 2015 22:20:14 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga102.fm.intel.com with ESMTP; 05 Oct 2015 13:20:16 -0700", "from mcarril6-mobl.zpn.intel.com ([10.219.24.17])\n\tby fmsmga001.fm.intel.com with ESMTP; 05 Oct 2015 13:20:13 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.17,640,1437462000\"; d=\"scan'208\";a=\"804228161\"", "From": "Mario Carrillo <mario.alfredo.c.arevalo@intel.com>", "To": "dev@dpdk.org", "Date": "Mon, 5 Oct 2015 15:20:05 -0500", "Message-Id": "<1444076406-30141-7-git-send-email-mario.alfredo.c.arevalo@intel.com>", "X-Mailer": "git-send-email 2.1.0", "In-Reply-To": "<1444076406-30141-1-git-send-email-mario.alfredo.c.arevalo@intel.com>", "References": "<1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com>\n\t<1444076406-30141-1-git-send-email-mario.alfredo.c.arevalo@intel.com>", "Subject": "[dpdk-dev] [PATCH v4 6/7] mk: Add rule for installing sdk files", "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": "Add hierarchy-file support to the DPDK makefiles, scripts,\nexamples, tools, config files and headers.\n\nWhen invoking \"make install-sdk\" makefiles, scripts,\nexamples, tools, config files will be installed in:\n$(DESTDIR)/$(SDK_DIR)\nand headers will be installed in:\n$(DESTDIR)/$(INCLUDE_DIR)\n\nWhere SDK_DIR=/usr/share/dpdk and INCLUDE_DIR=/usr/include/dpdk\nby default.\n\nYou can overrite SDK_DIR and INCLUDE_DIR vars.\nThis hierarchy is based on:\nhttp://www.freedesktop.org/software/systemd/man/file-hierarchy.html\n\nSigned-off-by: Mario Carrillo <mario.alfredo.c.arevalo@intel.com>\n---\n mk/rte.sdkinstall.mk | 20 ++++++++++++++++++++\n mk/rte.sdkroot.mk | 4 ++--\n 2 files changed, 22 insertions(+), 2 deletions(-)", "diff": "diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk\nindex d917329..3675c5a 100644\n--- a/mk/rte.sdkinstall.mk\n+++ b/mk/rte.sdkinstall.mk\n@@ -45,6 +45,7 @@ ifneq (,$(wildcard $(BUILD_DIR)/build/.config))\n INCLUDE_DIR ?= /usr/include/dpdk\n BIN_DIR ?= /usr/bin\n DOC_DIR ?= /usr/share/doc/dpdk\n+DATA_DIR ?= /usr/share/dpdk\n HSLINKS := $(wildcard $(RTE_OUTPUT)/include/*)\n BINARY_FILES := $(patsubst %.map,,$(wildcard $(RTE_OUTPUT)/app/*))\n NIC_FILES := $(wildcard $(BUILD_DIR)/tools/*.py)\n@@ -162,6 +163,25 @@ install-doc:\n \techo installing: $$DOC; \\\n \tdone\n #\n+# install sdk files in /usr/share/dpdk by default\n+# DATA_DIR can be overridden.\n+#\n+.PHONY: install-sdk\n+install-sdk: install-headers\n+\t@echo ================== Installing sdk files\n+\t@[ -d $(DESTDIR)/$(DATA_DIR) ] || mkdir -p $(DESTDIR)/$(DATA_DIR); \\\n+\tcp -rf $(BUILD_DIR)/mk $(DESTDIR)/$(DATA_DIR); \\\n+\techo installing: $(BUILD_DIR)/mk; \\\n+\tcp -rf $(BUILD_DIR)/scripts $(DESTDIR)/$(DATA_DIR); \\\n+\techo installing: $(BUILD_DIR)/scripts; \\\n+\tcp -rf $(BUILD_DIR)/examples $(DESTDIR)/$(DATA_DIR); \\\n+\techo installing: $(BUILD_DIR)/examples; \\\n+\tcp -rf $(BUILD_DIR)/tools $(DESTDIR)/$(DATA_DIR); \\\n+\techo installing: $(BUILD_DIR)/scripts\n+\t@[ -d $(DESTDIR)/$(DATA_DIR)/config ] || mkdir -p $(DESTDIR)/$(DATA_DIR)/config; \\\n+\tcp -f $(BUILD_DIR)/build/.config $(DESTDIR)/$(DATA_DIR)/config; \\\n+\techo installing: $(BUILD_DIR)/build/.config\n+#\n # uninstall: remove all built sdk\n #\n UNINSTALL_TARGETS := $(addsuffix _uninstall,\\\ndiff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk\nindex 43f937e..6fac88a 100644\n--- a/mk/rte.sdkroot.mk\n+++ b/mk/rte.sdkroot.mk\n@@ -98,9 +98,9 @@ testall:\n \t$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktestall.mk $@\n \n .PHONY: install install-headers install-bin install-lib install-mod \\\n-install-doc uninstall\n+install-doc install-sdk uninstall\n install install-headers install-bin install-lib install-mod install-doc \\\n-uninstall:\n+install-sdk uninstall:\n \t$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@\n \n .PHONY: doc help\n", "prefixes": [ "dpdk-dev", "v4", "6/7" ] }{ "id": 7469, "url": "