Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
1a3fbb1f
Commit
1a3fbb1f
authored
Jun 09, 2002
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kbuild: Improve output alignment
by Sam Ravnborg
parent
d782495d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
Makefile
Makefile
+5
-5
Rules.make
Rules.make
+1
-1
init/Makefile
init/Makefile
+1
-1
scripts/Makefile
scripts/Makefile
+1
-1
No files found.
Makefile
View file @
1a3fbb1f
...
@@ -222,7 +222,7 @@ cmd_link_vmlinux = $(LD) $(LINKFLAGS) $(HEAD) $(INIT) \
...
@@ -222,7 +222,7 @@ cmd_link_vmlinux = $(LD) $(LINKFLAGS) $(HEAD) $(INIT) \
define
rule_link_vmlinux
define
rule_link_vmlinux
set
-e
set
-e
echo
Generating
build
number
echo
' Generating build number'
.
scripts/mkversion
>
.tmpversion
.
scripts/mkversion
>
.tmpversion
mv
-f
.tmpversion
.version
mv
-f
.tmpversion
.version
+$(MAKE)
-C
init
+$(MAKE)
-C
init
...
@@ -273,13 +273,13 @@ prepare: include/linux/version.h include/asm include/config/MARKER
...
@@ -273,13 +273,13 @@ prepare: include/linux/version.h include/asm include/config/MARKER
# before switching between archs anyway.
# before switching between archs anyway.
include/asm
:
include/asm
:
@
echo
'Making asm->asm-
$(ARCH)
symlink'
@
echo
'
Making asm->asm-
$(ARCH)
symlink'
@
ln
-s
asm-
$(ARCH)
$@
@
ln
-s
asm-
$(ARCH)
$@
# Split autoconf.h into include/linux/config/*
# Split autoconf.h into include/linux/config/*
include/config/MARKER
:
scripts/split-include include/linux/autoconf.h
include/config/MARKER
:
scripts/split-include include/linux/autoconf.h
@
echo
'
Splitting include/linux/autoconf.h -> include/config
'
@
echo
'
SPLIT include/linux/autoconf.h -> include/config/*
'
@
scripts/split-include include/linux/autoconf.h include/config
@
scripts/split-include include/linux/autoconf.h include/config
@
touch
$@
@
touch
$@
...
@@ -306,7 +306,7 @@ include/linux/version.h: Makefile
...
@@ -306,7 +306,7 @@ include/linux/version.h: Makefile
echo
'"
$(KERNELRELEASE)
" exceeds
$(uts_len)
characters'
>
&2
;
\
echo
'"
$(KERNELRELEASE)
" exceeds
$(uts_len)
characters'
>
&2
;
\
exit
1
;
\
exit
1
;
\
fi
;
fi
;
@
echo
-n
'Generating $@'
@
echo
-n
'
Generating $@'
@
(
echo
\#
define UTS_RELEASE
\"
$(KERNELRELEASE)
\"
;
\
@
(
echo
\#
define UTS_RELEASE
\"
$(KERNELRELEASE)
\"
;
\
echo
\#
define LINUX_VERSION_CODE
`
expr
$(VERSION)
\\
*
65536 +
$(PATCHLEVEL)
\\
*
256 +
$(SUBLEVEL)
`
;
\
echo
\#
define LINUX_VERSION_CODE
`
expr
$(VERSION)
\\
*
65536 +
$(PATCHLEVEL)
\\
*
256 +
$(SUBLEVEL)
`
;
\
echo
'#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'
;
\
echo
'#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'
;
\
...
@@ -349,7 +349,7 @@ ifdef CONFIG_MODVERSIONS
...
@@ -349,7 +349,7 @@ ifdef CONFIG_MODVERSIONS
include/linux/modversions.h
:
scripts/fixdep prepare FORCE
include/linux/modversions.h
:
scripts/fixdep prepare FORCE
@
rm
-rf
.tmp_export-objs
@
rm
-rf
.tmp_export-objs
@
$(MAKE)
$(
patsubst
%,_sfdep_%,
$(SUBDIRS)
)
@
$(MAKE)
$(
patsubst
%,_sfdep_%,
$(SUBDIRS)
)
@
echo
-n
'Generating $@'
@
echo
-n
'
Generating $@'
@
(
echo
"#ifndef _LINUX_MODVERSIONS_H"
;
\
@
(
echo
"#ifndef _LINUX_MODVERSIONS_H"
;
\
echo
"#define _LINUX_MODVERSIONS_H"
;
\
echo
"#define _LINUX_MODVERSIONS_H"
;
\
echo
"#include <linux/modsetver.h>"
;
\
echo
"#include <linux/modsetver.h>"
;
\
...
...
Rules.make
View file @
1a3fbb1f
...
@@ -239,7 +239,7 @@ cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
...
@@ -239,7 +239,7 @@ cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
%.o
:
%.c FORCE
%.o
:
%.c FORCE
$(
call
if_changed_dep,cc_o_c
)
$(
call
if_changed_dep,cc_o_c
)
quiet_cmd_cc_lst_c
=
Generating
$(RELDIR)
/
$@
quiet_cmd_cc_lst_c
=
' Generating
$(RELDIR)
/$@'
cmd_cc_lst_c
=
$(CC)
$(c_flags)
-g
-c
-o
$*
.o
$<
&&
$(TOPDIR)
/scripts/makelst
$*
.o
$(TOPDIR)
/System.map
$(OBJDUMP)
>
$@
cmd_cc_lst_c
=
$(CC)
$(c_flags)
-g
-c
-o
$*
.o
$<
&&
$(TOPDIR)
/scripts/makelst
$*
.o
$(TOPDIR)
/System.map
$(OBJDUMP)
>
$@
%.lst
:
%.c FORCE
%.lst
:
%.c FORCE
...
...
init/Makefile
View file @
1a3fbb1f
...
@@ -22,5 +22,5 @@ $(TOPDIR)/include/linux/compile.h: ../include/linux/compile.h ;
...
@@ -22,5 +22,5 @@ $(TOPDIR)/include/linux/compile.h: ../include/linux/compile.h ;
# actual file if its content has changed.
# actual file if its content has changed.
../include/linux/compile.h
:
FORCE
../include/linux/compile.h
:
FORCE
@
echo
-n
'Generating $@'
@
echo
-n
'
Generating $@'
@
../scripts/mkcompile_h
$@
"
$(ARCH)
"
"
$(CONFIG_SMP)
"
"
$(CC)
$(CFLAGS)
"
@
../scripts/mkcompile_h
$@
"
$(ARCH)
"
"
$(CONFIG_SMP)
"
"
$(CC)
$(CFLAGS)
"
scripts/Makefile
View file @
1a3fbb1f
...
@@ -22,7 +22,7 @@ TAIL=tail.tk
...
@@ -22,7 +22,7 @@ TAIL=tail.tk
# Config.in files to depend on anyways. So I'll force it to remake.
# Config.in files to depend on anyways. So I'll force it to remake.
kconfig.tk
:
$(TOPDIR)/arch/$(ARCH)/config.in tkparse $(HEADER) $(TAIL) FORCE
kconfig.tk
:
$(TOPDIR)/arch/$(ARCH)/config.in tkparse $(HEADER) $(TAIL) FORCE
@
echo
Generating
$@
@
echo
' Generating $@'
@
(
\
@
(
\
if
[
-f
/usr/local/bin/wish
]
;
then
\
if
[
-f
/usr/local/bin/wish
]
;
then
\
echo
'#!'
"/usr/local/bin/wish -f"
;
\
echo
'#!'
"/usr/local/bin/wish -f"
;
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment