Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77970
b: refs/heads/master
c: 1d3b3bf
h: refs/heads/master
v: v3
  • Loading branch information
Jan Beulich authored and Sam Ravnborg committed Jan 28, 2008
1 parent 523d7d8 commit 91f6a8c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: df578e7d831b4d280bf7c621eafb737e78cd26eb
refs/heads/master: 1d3b3bfab121cdef07d19797f42f413dccdd65f0
10 changes: 7 additions & 3 deletions trunk/scripts/mkmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ cat << EOF > $2/Makefile
VERSION = $3
PATCHLEVEL = $4
KERNELSRC := $1
KERNELOUTPUT := $2
lastword = \$(word \$(words \$(1)),\$(1))
makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST)))
MAKEARGS := -C $1
MAKEARGS += O=\$(if \$(patsubst /%,,\$(makedir)),\$(CURDIR)/)\$(patsubst %/,%,\$(makedir))
MAKEFLAGS += --no-print-directory
Expand All @@ -35,10 +38,11 @@ MAKEFLAGS += --no-print-directory
all := \$(filter-out all Makefile,\$(MAKECMDGOALS))
all:
\$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$(all)
\$(MAKE) \$(MAKEARGS) \$(all)
Makefile:;
\$(all) %/: all
@:
EOF

0 comments on commit 91f6a8c

Please sign in to comment.