Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26547
b: refs/heads/master
c: fd5f0cd
h: refs/heads/master
i:
  26545: 0f181ec
  26543: ffcd929
v: v3
  • Loading branch information
Jan Beulich authored and Sam Ravnborg committed May 8, 2006
1 parent b5604e4 commit ef19b66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc873e1aa1fa916a485294117a9846e668505671
refs/heads/master: fd5f0cd6b0cef59ba18e5ac13be5b2775fa6ec28
16 changes: 7 additions & 9 deletions trunk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -344,16 +344,14 @@ scripts_basic:
scripts/basic/%: scripts_basic ;

PHONY += outputmakefile
# outputmakefile generate a Makefile to be placed in output directory, if
# using a seperate output directory. This allows convinient use
# of make in output directory
# outputmakefile generates a Makefile in the output directory, if using a
# separate output directory. This allows convenient use of make in the
# output directory.
outputmakefile:
$(Q)if test ! $(srctree) -ef $(objtree); then \
$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \
$(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) \
> $(objtree)/Makefile; \
echo ' GEN $(objtree)/Makefile'; \
fi
ifneq ($(KBUILD_SRC),)
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \
$(srctree) $(objtree) $(VERSION) $(PATCHLEVEL)
endif

# To make sure we do not include .config for any of the *config targets
# catch them early, and hand them over to scripts/kconfig/Makefile
Expand Down
5 changes: 4 additions & 1 deletion trunk/scripts/mkmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
# $4 - patchlevel


cat << EOF
test ! -r $2/Makefile -o -O $2/Makefile || exit 0
echo " GEN $2/Makefile"

cat << EOF > $2/Makefile
# Automatically generated by $0: don't edit
VERSION = $3
Expand Down

0 comments on commit ef19b66

Please sign in to comment.