summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-20 18:23:28 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-20 18:23:28 +0000
commitc9907bfac3e284b5dc7f34fae57da80516fca47e (patch)
tree293b748ab9f4f7d1393d37df01d4ae2f66b54eb1
parent415f14deadd5a73f829313943a6eaa21060bf7d8 (diff)
Patch from Peter S. Mazinger:
patch to allow building uClibc with busybox's chmod
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8dcd591a3..38f59200a 100644
--- a/Makefile
+++ b/Makefile
@@ -243,7 +243,7 @@ ifneq ($(strip $(UCLIBC_HAS_GNU_GETOPT)),y)
$(RM) $(PREFIX)$(DEVEL_PREFIX)/include/getopt.h
endif
-@for i in `find $(PREFIX)$(DEVEL_PREFIX) -type d` ; do \
- chmod -f 755 $$i; chmod -f 644 $$i/*.h; \
+ chmod 755 $$i; chmod 644 $$i/*.h; \
done;
-find $(PREFIX)$(DEVEL_PREFIX) -name CVS | xargs $(RM) -r;
-chown -R `id | sed 's/^uid=\([0-9]*\).*gid=\([0-9]*\).*$$/\1.\2/'` $(PREFIX)$(DEVEL_PREFIX)