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
Kirill Smelkov
linux
Commits
16aadefd
Commit
16aadefd
authored
Oct 05, 2002
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kbuild: fix make -jN warnings
If you hide the sub-make in a function, 'make' needs a little help...
parent
345af2c9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
24 deletions
+24
-24
Makefile
Makefile
+16
-16
Rules.make
Rules.make
+1
-1
arch/i386/Makefile
arch/i386/Makefile
+5
-5
arch/i386/boot/Makefile
arch/i386/boot/Makefile
+2
-2
No files found.
Makefile
View file @
16aadefd
...
...
@@ -187,7 +187,7 @@ scripts/docproc scripts/fixdep scripts/split-include : scripts ;
.PHONY
:
scripts
scripts
:
@
$(
call
descend,scripts,
)
+
@
$(
call
descend,scripts,
)
# Objects we will link into vmlinux / subdirs we need to visit
# ---------------------------------------------------------------------------
...
...
@@ -374,7 +374,7 @@ $(sort $(vmlinux-objs)): $(SUBDIRS) ;
.PHONY
:
$(SUBDIRS)
$(SUBDIRS)
:
.hdepend prepare
@
$(
call
descend,
$@
,
)
+
@
$(
call
descend,
$@
,
)
# Things we need done before we descend to build or make
# module versions are listed in "prepare"
...
...
@@ -397,17 +397,17 @@ targets += arch/$(ARCH)/vmlinux.lds.s
# ---------------------------------------------------------------------------
%.s
:
%.c FORCE
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
+
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
%.i
:
%.c FORCE
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
+
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
%.o
:
%.c FORCE
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
+
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
%.lst
:
%.c FORCE
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
+
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
%.s
:
%.S FORCE
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
+
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
%.o
:
%.S FORCE
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
+
@
$(
call
descend,
$
(
@D
)
,
$
(
@F
))
# FIXME: The asm symlink changes when $(ARCH) changes. That's
# hard to detect, but I suppose "make mrproper" is a good idea
...
...
@@ -492,7 +492,7 @@ include/linux/modversions.h: scripts/fixdep prepare FORCE
$
(
update-if-changed
)
$(patsubst %,_sfdep_%,$(SUBDIRS))
:
FORCE
@
$(
call
descend,
$(
patsubst
_sfdep_%,%,
$@
)
,fastdep
)
+
@
$(
call
descend,
$(
patsubst
_sfdep_%,%,
$@
)
,fastdep
)
else
# !CONFIG_MODVERSIONS
...
...
@@ -544,7 +544,7 @@ _modinst_post:
.PHONY
:
$(patsubst %
,
_modinst_%
,
$(SUBDIRS))
$(patsubst %, _modinst_%, $(SUBDIRS))
:
@
$(
call
descend,
$(
patsubst
_modinst_%,%,
$@
)
,modules_install
)
+
@
$(
call
descend,
$(
patsubst
_modinst_%,%,
$@
)
,modules_install
)
else
# CONFIG_MODULES
...
...
@@ -642,11 +642,11 @@ ifeq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),)
make_with_config
xconfig
:
@
$(
call
descend,scripts,scripts/kconfig.tk
)
+
@
$(
call
descend,scripts,scripts/kconfig.tk
)
wish
-f
scripts/kconfig.tk
menuconfig
:
@
$(
call
descend,scripts,lxdialog
)
+
@
$(
call
descend,scripts,lxdialog
)
$(CONFIG_SHELL)
$(src)
/scripts/Menuconfig
arch
/
$(ARCH)
/config.in
config
:
...
...
@@ -732,7 +732,7 @@ clean: archclean
-name
.
\*
.tmp
-o
-name
.
\*
.d
\)
-type
f
-print
\
|
grep
-v
lxdialog/ | xargs
rm
-f
@
rm
-f
$(CLEAN_FILES)
@
$(
call
descend,Documentation/DocBook,clean
)
+
@
$(
call
descend,Documentation/DocBook,clean
)
mrproper
:
clean archmrproper
@
echo
'Making mrproper'
...
...
@@ -741,8 +741,8 @@ mrproper: clean archmrproper
-type
f
-print
| xargs
rm
-f
@
rm
-rf
$(MRPROPER_DIRS)
@
rm
-f
$(MRPROPER_FILES)
@
$(
call
descend,scripts,mrproper
)
@
$(
call
descend,Documentation/DocBook,mrproper
)
+
@
$(
call
descend,scripts,mrproper
)
+
@
$(
call
descend,Documentation/DocBook,mrproper
)
distclean
:
mrproper
@
echo
'Making distclean'
...
...
@@ -829,7 +829,7 @@ help:
# Documentation targets
# ---------------------------------------------------------------------------
sgmldocs psdocs pdfdocs htmldocs
:
scripts
@
$(
call
descend,Documentation/DocBook,
$@
)
+
@
$(
call
descend,Documentation/DocBook,
$@
)
# Scripts to check various things for consistency
# ---------------------------------------------------------------------------
...
...
Rules.make
View file @
16aadefd
...
...
@@ -482,7 +482,7 @@ cmd_gzip = gzip -f -9 < $< > $@
.PHONY
:
$(subdir-ym)
$(subdir-ym)
:
@
$(
call
descend,
$@
,
$(MAKECMDGOALS)
)
+
@
$(
call
descend,
$@
,
$(MAKECMDGOALS)
)
# Add FORCE to the prequisites of a target to force it to be always rebuilt.
# ---------------------------------------------------------------------------
...
...
arch/i386/Makefile
View file @
16aadefd
...
...
@@ -71,20 +71,20 @@ BOOTIMAGE=arch/i386/boot/bzImage
zImage zlilo zdisk
:
BOOTIMAGE=arch/i386/boot/zImage
zImage bzImage
:
vmlinux
@
$(
call
makeboot,
$(BOOTIMAGE)
)
+
@
$(
call
makeboot,
$(BOOTIMAGE)
)
compressed
:
zImage
zlilo bzlilo
:
vmlinux
@
$(
call
makeboot,BOOTIMAGE
=
$(BOOTIMAGE)
zlilo
)
+
@
$(
call
makeboot,BOOTIMAGE
=
$(BOOTIMAGE)
zlilo
)
zdisk bzdisk
:
vmlinux
@
$(
call
makeboot,BOOTIMAGE
=
$(BOOTIMAGE)
zdisk
)
+
@
$(
call
makeboot,BOOTIMAGE
=
$(BOOTIMAGE)
zdisk
)
install
:
vmlinux
@
$(
call
makeboot,BOOTIMAGE
=
$(BOOTIMAGE)
install
)
+
@
$(
call
makeboot,BOOTIMAGE
=
$(BOOTIMAGE)
install
)
archclean
:
@
$(
call
makeboot,clean
)
+
@
$(
call
makeboot,clean
)
archmrproper
:
arch/i386/boot/Makefile
View file @
16aadefd
...
...
@@ -62,7 +62,7 @@ $(obj)/setup $(obj)/bootsect: %: %.o FORCE
$(
call
if_changed,ld
)
$(obj)/compressed/vmlinux
:
FORCE
@
$(
call
descend,
$(obj)
/compressed,IMAGE_OFFSET
=
$(IMAGE_OFFSET)
\
+
@
$(
call
descend,
$(obj)
/compressed,IMAGE_OFFSET
=
$(IMAGE_OFFSET)
\
$(obj)
/compressed/vmlinux
)
...
...
@@ -83,7 +83,7 @@ clean:
@
echo
'Cleaning up (boot)'
@
rm
-f
$(
addprefix
$(obj)
/,tools/build vmlinux.bin bvmlinux.bin
\
bootsect zImage bsetup bbootsect bzImage
)
@
$(
call
descend,
$(obj)
/compressed
)
clean
+
@
$(
call
descend,
$(obj)
/compressed
)
clean
archhelp
:
@
echo
'* bzImage - Compressed kernel image (arch/
$(ARCH)
/boot/bzImage)'
...
...
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