summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzu-Jung Lee <roylee17@gmail.com>2013-06-19 09:24:50 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-27 21:38:17 (GMT)
commit88418bd2de3e2161fc5085a68c5e558a95644a07 (patch)
tree55f77e4e79b2f30cbad808266e24474347b60ccf
parentdad93df6e83d5f463567ced4fb4d3738a5a6ce73 (diff)
downloadbuildroot-88418bd2de3e2161fc5085a68c5e558a95644a07.tar.gz
buildroot-88418bd2de3e2161fc5085a68c5e558a95644a07.tar.bz2
build: use find -perm /mode, instead of -perm +mode STRIP_FIND_CMD
The -perm +mode is deprecated, and sometimes yields suprising results. It can be confused with permission in symbolic mode, for example '+u+g', as POSIX spec suggests. Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f477124..0cd7f55 100644
--- a/Makefile
+++ b/Makefile
@@ -449,7 +449,7 @@ STRIP_FIND_CMD = find $(TARGET_DIR)
ifneq (,$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS)))
STRIP_FIND_CMD += \( $(call finddirclauses,$(TARGET_DIR),$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS))) \) -prune -o
endif
-STRIP_FIND_CMD += -type f -perm +111
+STRIP_FIND_CMD += -type f -perm /111
STRIP_FIND_CMD += -not \( $(call findfileclauses,libpthread*.so* $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) -print
target-finalize: