summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile16
-rwxr-xr-x[-rw-r--r--]scripts/docgen0
-rwxr-xr-x[-rw-r--r--]scripts/gen-all-syms0
-rwxr-xr-x[-rw-r--r--]scripts/kernel-doc0
-rwxr-xr-x[-rw-r--r--]scripts/mkcompile_h0
-rwxr-xr-x[-rw-r--r--]scripts/mkversion_h0
6 files changed, 10 insertions, 6 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 0c1ef38ca7ec..c4c86002e762 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -2,7 +2,12 @@
# always needed
# ---------------------------------------------------------------------------
-all: mkdep split-include
+# The following temporary rule will make sure that people's
+# trees get updated to the right permissions, since patch(1)
+# can't do it
+CHMOD_FILES := docgen gen-all-syms kernel-doc mkcompile_h mkversion_h makelst
+
+all: mkdep split-include $(CHMOD_FILES)
mkdep: mkdep.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
@@ -10,6 +15,9 @@ mkdep: mkdep.c
split-include: split-include.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
+$(CHMOD_FILES): FORCE
+ @chmod a+x $@
+
# xconfig
# ---------------------------------------------------------------------------
@@ -44,15 +52,11 @@ tkparse.o tkcond.o tkgen.o: %.o: %.c
# DocBook stuff
# ---------------------------------------------------------------------------
-doc-progs: docproc docgen gen-all-syms kernel-doc
+doc-progs: docproc
docproc: docproc.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
-docgen gen-all-syms kernel-doc: FORCE
- chmod 755 $@
-
-
include $(TOPDIR)/Rules.make
# we don't have automatic deps for host programs
diff --git a/scripts/docgen b/scripts/docgen
index a7183053d28f..a7183053d28f 100644..100755
--- a/scripts/docgen
+++ b/scripts/docgen
diff --git a/scripts/gen-all-syms b/scripts/gen-all-syms
index b15b160040e8..b15b160040e8 100644..100755
--- a/scripts/gen-all-syms
+++ b/scripts/gen-all-syms
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 028e5a33ac42..028e5a33ac42 100644..100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index e18fc4f263e3..e18fc4f263e3 100644..100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
diff --git a/scripts/mkversion_h b/scripts/mkversion_h
index dd8c5eb6d7dd..dd8c5eb6d7dd 100644..100755
--- a/scripts/mkversion_h
+++ b/scripts/mkversion_h