Commit 75db34bc authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Cleanup the chmod rule in scripts/

This rule makes sure that some scripts really have the executable bit set.
Since it doesn't create the sripts, they shouldn't be targets, but rather
prerequisites (of a phony rule)
parent 61c0628d
...@@ -2,15 +2,17 @@ ...@@ -2,15 +2,17 @@
# always needed # always needed
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
all: fixdep split-include docproc __chmod
# The following temporary rule will make sure that people's # The following temporary rule will make sure that people's
# trees get updated to the right permissions, since patch(1) # trees get updated to the right permissions, since patch(1)
# can't do it # can't do it
CHMOD_FILES := kernel-doc mkcompile_h makelst # ---------------------------------------------------------------------------
all: fixdep split-include docproc $(CHMOD_FILES) .PHONY: __chmod
$(CHMOD_FILES): FORCE __chmod: kernel-doc mkcompile_h makelst
@chmod a+x $@ @chmod a+x $^
# xconfig # xconfig
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment