diff options
| author | Ryan Eatmon <reatmon@ti.com> | 2026-04-29 15:45:38 -0500 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2026-04-29 15:48:08 -0500 |
| commit | da3f31ce1fa701cfe67f62b2ec2b66a6eb084bf6 (patch) | |
| tree | 5ad315e254daffba0a973e45b6f9ec184d86b878 | |
| parent | 3c04d4f97b098533526fa6f3c523311aa5d8b9c8 (diff) | |
| download | meta-ti-da3f31ce1fa701cfe67f62b2ec2b66a6eb084bf6.tar.gz | |
ltp-ddt: Remove orphaned patch
When I rebased before moving from meta-arago to meta-ti, I accidentally
removed the wrong patch. Net result was this orphaned patch was left
and imported incorrectly. Remove it.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
| -rw-r--r-- | meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-include-mk-Fix-installing-subdirs.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-include-mk-Fix-installing-subdirs.patch b/meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-include-mk-Fix-installing-subdirs.patch deleted file mode 100644 index 5f970a12..00000000 --- a/meta-ti-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-include-mk-Fix-installing-subdirs.patch +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | From 5907227ad86a93b084a52a7ff8dd8cb791c228a5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ryan Eatmon <reatmon@ti.com> | ||
| 3 | Date: Mon, 27 Apr 2026 11:02:32 -0500 | ||
| 4 | Subject: [PATCH] include/mk: Fix installing subdirs | ||
| 5 | |||
| 6 | When installing sub directories, the INSTALL_MODE was being used for the | ||
| 7 | dirs as well. But in runtest/Makefile the INSTALL_MODE is being set to | ||
| 8 | 00644. This causes the ddt dir to lose the execute bits and stop acting | ||
| 9 | like a directory. | ||
| 10 | |||
| 11 | Simple fix is create INSTALL_MODE_DIR and use it when installing | ||
| 12 | directories. | ||
| 13 | |||
| 14 | Upstream-Status: Pending | ||
| 15 | |||
| 16 | Signed-off-by: Ryan Eatmon <reatmon@ti.com> | ||
| 17 | --- | ||
| 18 | include/mk/env_post.mk | 1 + | ||
| 19 | include/mk/functions.mk | 2 +- | ||
| 20 | 2 files changed, 2 insertions(+), 1 deletion(-) | ||
| 21 | |||
| 22 | diff --git a/include/mk/env_post.mk b/include/mk/env_post.mk | ||
| 23 | index ab31da73a..c2e85439a 100644 | ||
| 24 | --- a/include/mk/env_post.mk | ||
| 25 | +++ b/include/mk/env_post.mk | ||
| 26 | @@ -58,6 +58,7 @@ INSTALL_TARGETS := $(patsubst $(abs_srcdir)/%,%,$(INSTALL_TARGETS)) | ||
| 27 | # The large majority of the files that we install are going to be apps and | ||
| 28 | # scripts, so let's chmod them like that. | ||
| 29 | INSTALL_MODE ?= 00775 | ||
| 30 | +INSTALL_MODE_DIR ?= 00775 | ||
| 31 | |||
| 32 | $(abspath $(addprefix $(DESTDIR)/$(INSTALL_DIR)/,$(sort $(dir $(INSTALL_TARGETS) $(MAKE_TARGETS))))): | ||
| 33 | mkdir -p "$@" | ||
| 34 | diff --git a/include/mk/functions.mk b/include/mk/functions.mk | ||
| 35 | index 60dbed395..8e4bc973c 100644 | ||
| 36 | --- a/include/mk/functions.mk | ||
| 37 | +++ b/include/mk/functions.mk | ||
| 38 | @@ -18,7 +18,7 @@ INSTALL_FILES += $$(abspath $$(DESTDIR)/$(3)/$(1)) | ||
| 39 | |||
| 40 | $$(abspath $$(DESTDIR)/$(3)/$(1)): \ | ||
| 41 | $$(abspath $$(dir $$(DESTDIR)/$(3)/$(1))) | ||
| 42 | - install -m $$(INSTALL_MODE) $(shell test -d "$(2)/$(1)" && echo "-d") $(PARAM) "$(2)/$(1)" $$@ | ||
| 43 | + install $(shell test -d "$(2)/$(1)" || echo "-m $(INSTALL_MODE)") $(shell test -d "$(2)/$(1)" && echo "-m $(INSTALL_MODE_DIR) -d") $(PARAM) "$(2)/$(1)" $$@ | ||
| 44 | $(shell test -d "$(2)/$(1)" && echo "install -m "'$$(INSTALL_MODE) $(PARAM)' "$(2)/$(1)/*" -t '$$@') | ||
| 45 | endef | ||
| 46 | |||
| 47 | -- | ||
| 48 | 2.43.0 | ||
| 49 | |||
