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
1c60cf8a
Commit
1c60cf8a
authored
Jun 19, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge home:v2.5/linux
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
parents
602c7aa8
25fce987
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
16 deletions
+35
-16
Makefile
Makefile
+35
-16
No files found.
Makefile
View file @
1c60cf8a
...
@@ -381,7 +381,7 @@ include/linux/modversions.h: scripts/fixdep prepare FORCE
...
@@ -381,7 +381,7 @@ include/linux/modversions.h: scripts/fixdep prepare FORCE
@
(
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>"
;
\
for
f
in
`
cd
.tmp_export-objs
;
find modules
-name
\*
.ver
-print
|
sort
`
;
do
\
for
f
in
`
cd
.tmp_export-objs
;
find modules
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
-name
\*
.ver
-print
|
sort
`
;
do
\
echo
"#include <linux/
$
${f}
>"
;
\
echo
"#include <linux/
$
${f}
>"
;
\
done
;
\
done
;
\
echo
"#endif"
;
\
echo
"#endif"
;
\
...
@@ -492,7 +492,9 @@ spec:
...
@@ -492,7 +492,9 @@ spec:
# will become invalid
# will become invalid
rpm
:
clean spec
rpm
:
clean spec
find
.
\(
-size
0
-o
-name
.depend
-o
-name
.hdepend
\)
-type
f
-print
| xargs
rm
-f
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
\(
-size
0
-o
-name
.depend
-o
-name
.hdepend
\)
\
-type
f
-print
| xargs
rm
-f
set
-e
;
\
set
-e
;
\
cd
$(TOPDIR)
/..
;
\
cd
$(TOPDIR)
/..
;
\
ln
-sf
$(TOPDIR)
$(KERNELPATH)
;
\
ln
-sf
$(TOPDIR)
$(KERNELPATH)
;
\
...
@@ -629,7 +631,8 @@ include arch/$(ARCH)/Makefile
...
@@ -629,7 +631,8 @@ include arch/$(ARCH)/Makefile
clean
:
archclean
clean
:
archclean
@
echo
'Cleaning up'
@
echo
'Cleaning up'
@
find
.
\(
-name
\*
.[oas]
-o
-name
core
-o
-name
.
\*
.cmd
-o
\
@
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
\(
-name
\*
.[oas]
-o
-name
core
-o
-name
.
\*
.cmd
-o
\
-name
.
\*
.tmp
-o
-name
.
\*
.d
\)
-type
f
-print
\
-name
.
\*
.tmp
-o
-name
.
\*
.d
\)
-type
f
-print
\
|
grep
-v
lxdialog/ | xargs
rm
-f
|
grep
-v
lxdialog/ | xargs
rm
-f
@
rm
-f
$(CLEAN_FILES)
@
rm
-f
$(CLEAN_FILES)
...
@@ -637,7 +640,8 @@ clean: archclean
...
@@ -637,7 +640,8 @@ clean: archclean
mrproper
:
clean archmrproper
mrproper
:
clean archmrproper
@
echo
'Making mrproper'
@
echo
'Making mrproper'
@
find
.
\(
-name
.depend
-o
-name
.
\*
.cmd
\)
\
@
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
\(
-name
.depend
-o
-name
.
\*
.cmd
\)
\
-type
f
-print
| xargs
rm
-f
-type
f
-print
| xargs
rm
-f
@
rm
-f
$(MRPROPER_FILES)
@
rm
-f
$(MRPROPER_FILES)
@
rm
-rf
$(MRPROPER_DIRS)
@
rm
-rf
$(MRPROPER_DIRS)
...
@@ -645,7 +649,8 @@ mrproper: clean archmrproper
...
@@ -645,7 +649,8 @@ mrproper: clean archmrproper
distclean
:
mrproper
distclean
:
mrproper
@
echo
'Making distclean'
@
echo
'Making distclean'
@
find
.
\(
-not
-type
d
\)
-and
\
@
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
\(
-not
-type
d
\)
-and
\
\(
-name
'*.orig'
-o
-name
'*.rej'
-o
-name
'*~'
\
\(
-name
'*.orig'
-o
-name
'*.rej'
-o
-name
'*~'
\
-o
-name
'*.bak'
-o
-name
'#*#'
-o
-name
'.*.orig'
\
-o
-name
'*.bak'
-o
-name
'#*#'
-o
-name
'.*.orig'
\
-o
-name
'.*.rej'
-o
-name
'.SUMS'
-o
-size
0
\)
-type
f
\
-o
-name
'.*.rej'
-o
-name
'.SUMS'
-o
-size
0
\)
-type
f
\
...
@@ -655,16 +660,24 @@ distclean: mrproper
...
@@ -655,16 +660,24 @@ distclean: mrproper
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
TAGS
:
FORCE
TAGS
:
FORCE
{
find include/asm-
${ARCH}
-name
'*.h'
-print
;
\
{
find include/asm-
${ARCH}
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
\
find include
-type
d
\(
-name
"asm-*"
-o
-name
config
\)
-prune
-o
-name
'*.h'
-print
;
\
-o
-name
'*.h'
-print
;
\
find
$(SUBDIRS)
init
arch
/
${ARCH}
-name
'*.[chS]'
;
}
|
grep
-v
SCCS | etags -
find include
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
-type
d
\(
-name
"asm-*"
-o
-name
config
\)
-prune
-o
\
-name
'*.h'
-print
;
\
find
$(SUBDIRS)
init
arch
/
${ARCH}
\
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
-name
'*.[chS]'
-print
;
}
|
grep
-v
SCCS | etags -
# Exuberant ctags works better with -I
# Exuberant ctags works better with -I
tags
:
FORCE
tags
:
FORCE
CTAGSF
=
`
ctags
--version
|
grep
-i
exuberant
>
/dev/null
&&
echo
"-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS"
`
;
\
CTAGSF
=
`
ctags
--version
|
grep
-i
exuberant
>
/dev/null
&&
echo
"-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS"
`
;
\
ctags
$$
CTAGSF
`
find include/asm-
$(ARCH)
-name
'*.h'
`
&&
\
ctags
$$
CTAGSF
`
find include/asm-
$(ARCH)
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
-name
'*.h'
-print
`
&&
\
find include
-type
d
\(
-name
"asm-*"
-o
-name
config
\)
-prune
-o
-name
'*.h'
-print
| xargs ctags
$$
CTAGSF
-a
&&
\
find include
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
find
$(SUBDIRS)
init
-name
'*.[ch]'
| xargs ctags
$$
CTAGSF
-a
-type
d
\(
-name
"asm-*"
-o
-name
config
\)
-prune
-o
\
-name
'*.h'
-print
| xargs ctags
$$
CTAGSF
-a
&&
\
find
$(SUBDIRS)
init
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
-name
'*.[ch]'
-print
| xargs ctags
$$
CTAGSF
-a
# Documentation targets
# Documentation targets
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
...
@@ -677,13 +690,19 @@ sgmldocs psdocs pdfdocs htmldocs:
...
@@ -677,13 +690,19 @@ sgmldocs psdocs pdfdocs htmldocs:
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
checkconfig
:
checkconfig
:
find
*
-name
'*.[hcS]'
-type
f
-print
|
sort
| xargs
$(PERL)
-w
scripts/checkconfig.pl
find
*
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkconfig.pl
checkhelp
:
checkhelp
:
find
*
-name
[
cC]onfig.in
-print
|
sort
| xargs
$(PERL)
-w
scripts/checkhelp.pl
find
*
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
-name
[
cC]onfig.in
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkhelp.pl
checkincludes
:
checkincludes
:
find
*
-name
'*.[hcS]'
-type
f
-print
|
sort
| xargs
$(PERL)
-w
scripts/checkincludes.pl
find
*
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkincludes.pl
else
# ifneq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),)
else
# ifneq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),)
...
...
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