OSDN Git Service

Patch from Peter S. Mazinger:
authorEric Andersen <andersen@codepoet.org>
Mon, 20 Oct 2003 18:23:28 +0000 (18:23 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 20 Oct 2003 18:23:28 +0000 (18:23 -0000)
patch to allow building uClibc with busybox's chmod

Makefile

index 8dcd591..38f5920 100644 (file)
--- 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)