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
ab6671e9
Commit
ab6671e9
authored
Mar 02, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
cfef4e04
db0d6263
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
16 deletions
+10
-16
Makefile
Makefile
+4
-8
init/Makefile
init/Makefile
+5
-4
scripts/Makefile.modpost
scripts/Makefile.modpost
+1
-4
No files found.
Makefile
View file @
ab6671e9
...
@@ -460,7 +460,7 @@ include/config/MARKER: scripts/split-include include/linux/autoconf.h
...
@@ -460,7 +460,7 @@ include/config/MARKER: scripts/split-include include/linux/autoconf.h
# if .config is newer than include/linux/autoconf.h, someone tinkered
# if .config is newer than include/linux/autoconf.h, someone tinkered
# with it and forgot to run make oldconfig
# with it and forgot to run make oldconfig
include/linux/autoconf.h
:
.config scripts
include/linux/autoconf.h
:
.config scripts
/fixdep
$(Q)$(MAKE)
$(build)
=
scripts/kconfig scripts/kconfig/conf
$(Q)$(MAKE)
$(build)
=
scripts/kconfig scripts/kconfig/conf
./scripts/kconfig/conf
-s
arch
/
$(ARCH)
/Kconfig
./scripts/kconfig/conf
-s
arch
/
$(ARCH)
/Kconfig
...
@@ -477,7 +477,7 @@ include/linux/version.h: Makefile
...
@@ -477,7 +477,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
' G
enerating
$@'
@
echo
-n
' G
EN
$@'
@
(
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))'
;
\
...
@@ -501,11 +501,8 @@ all: modules
...
@@ -501,11 +501,8 @@ all: modules
# Build modules
# Build modules
include/linux/compile.h
:
FORCE
$(Q)$(MAKE)
$(build)
=
init include/linux/compile.h
.PHONY
:
modules
.PHONY
:
modules
modules
:
$(SUBDIRS) $(if $(KBUILD_BUILTIN)
,
vmlinux)
include/linux/compile.h
modules
:
$(SUBDIRS) $(if $(KBUILD_BUILTIN)
,
vmlinux)
@
echo
' Building modules, stage 2.'
;
@
echo
' Building modules, stage 2.'
;
$(Q)$(MAKE)
-rR
-f
scripts/Makefile.modpost
$(Q)$(MAKE)
-rR
-f
scripts/Makefile.modpost
...
@@ -784,7 +781,6 @@ help:
...
@@ -784,7 +781,6 @@ help:
@
echo
''
@
echo
''
@
echo
'Other generic targets:'
@
echo
'Other generic targets:'
@
echo
' all - Build all targets marked with [*]'
@
echo
' all - Build all targets marked with [*]'
@
echo
' dep - Create module version information'
@
echo
'* vmlinux - Build the bare kernel'
@
echo
'* vmlinux - Build the bare kernel'
@
echo
'* modules - Build all modules'
@
echo
'* modules - Build all modules'
@
echo
' dir/file.[ois]- Build specified target only'
@
echo
' dir/file.[ois]- Build specified target only'
...
@@ -804,7 +800,7 @@ help:
...
@@ -804,7 +800,7 @@ help:
# Documentation targets
# Documentation targets
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
sgmldocs psdocs pdfdocs htmldocs
:
scripts
sgmldocs psdocs pdfdocs htmldocs
:
scripts
/docproc FORCE
$(Q)$(MAKE)
$(build)
=
Documentation/DocBook
$@
$(Q)$(MAKE)
$(build)
=
Documentation/DocBook
$@
# Scripts to check various things for consistency
# Scripts to check various things for consistency
...
...
init/Makefile
View file @
ab6671e9
...
@@ -2,10 +2,11 @@
...
@@ -2,10 +2,11 @@
# Makefile for the linux kernel.
# Makefile for the linux kernel.
#
#
obj-y
:=
main.o version.o do_mounts.o initramfs.o
obj-y
:=
main.o version.o mounts.o initramfs.o
obj-$(CONFIG_DEVFS_FS)
+=
do_mounts_devfs.o
mounts-y
:=
do_mounts.o
obj-$(CONFIG_BLK_DEV_RAM)
+=
do_mounts_rd.o
mounts-$(CONFIG_DEVFS_FS)
+=
do_mounts_devfs.o
obj-$(CONFIG_BLK_DEV_MD)
+=
do_mounts_md.o
mounts-$(CONFIG_BLK_DEV_RAM)
+=
do_mounts_rd.o
mounts-$(CONFIG_BLK_DEV_MD)
+=
do_mounts_md.o
# files to be removed upon make clean
# files to be removed upon make clean
clean-files
:=
../include/linux/compile.h
clean-files
:=
../include/linux/compile.h
...
...
scripts/Makefile.modpost
View file @
ab6671e9
...
@@ -37,10 +37,7 @@ targets += $(modules)
...
@@ -37,10 +37,7 @@ targets += $(modules)
quiet_cmd_cc_o_c
=
CC
$@
quiet_cmd_cc_o_c
=
CC
$@
cmd_cc_o_c
=
$(CC)
$(CFLAGS)
$(CFLAGS_MODULE)
-c
-o
$@
$<
cmd_cc_o_c
=
$(CC)
$(CFLAGS)
$(CFLAGS_MODULE)
-c
-o
$@
$<
# We have a fake dependency on compile.h to make sure that we
$(modules
:
.ko=.mod.o): %.mod.o: %.mod.c
# notice if the compiler version changes under us.
$(modules
:
.ko=.mod.o): %.mod.o: %.mod.c include/linux/compile.h FORCE
$(
call
if_changed,cc_o_c
)
$(
call
if_changed,cc_o_c
)
targets
+=
$(modules:.ko=.mod.o)
targets
+=
$(modules:.ko=.mod.o)
...
...
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