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
43542370
Commit
43542370
authored
Aug 17, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux-isdn.bkbits.net/linux-2.5.make
into home.osdl.org:/home/torvalds/v2.5/linux
parents
d4cdc89d
5b0f6ac4
Changes
40
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
35 additions
and
37 deletions
+35
-37
Makefile
Makefile
+8
-16
arch/alpha/kernel/Makefile
arch/alpha/kernel/Makefile
+1
-1
arch/alpha/kernel/vmlinux.lds.S
arch/alpha/kernel/vmlinux.lds.S
+0
-0
arch/arm/kernel/Makefile
arch/arm/kernel/Makefile
+1
-1
arch/arm/kernel/vmlinux.lds.S
arch/arm/kernel/vmlinux.lds.S
+0
-0
arch/arm26/kernel/Makefile
arch/arm26/kernel/Makefile
+1
-1
arch/arm26/kernel/vmlinux.lds.S
arch/arm26/kernel/vmlinux.lds.S
+0
-0
arch/cris/Makefile
arch/cris/Makefile
+1
-1
arch/cris/kernel/Makefile
arch/cris/kernel/Makefile
+2
-0
arch/h8300/kernel/Makefile
arch/h8300/kernel/Makefile
+2
-5
arch/h8300/kernel/vmlinux.lds.S
arch/h8300/kernel/vmlinux.lds.S
+0
-0
arch/i386/kernel/Makefile
arch/i386/kernel/Makefile
+1
-1
arch/i386/kernel/vmlinux.lds.S
arch/i386/kernel/vmlinux.lds.S
+0
-0
arch/ia64/kernel/Makefile
arch/ia64/kernel/Makefile
+1
-1
arch/ia64/kernel/vmlinux.lds.S
arch/ia64/kernel/vmlinux.lds.S
+0
-0
arch/m68k/kernel/Makefile
arch/m68k/kernel/Makefile
+2
-1
arch/m68k/kernel/vmlinux.lds.S
arch/m68k/kernel/vmlinux.lds.S
+0
-0
arch/m68knommu/kernel/Makefile
arch/m68knommu/kernel/Makefile
+2
-0
arch/m68knommu/kernel/vmlinux.lds.S
arch/m68knommu/kernel/vmlinux.lds.S
+0
-0
arch/mips/kernel/Makefile
arch/mips/kernel/Makefile
+1
-1
arch/mips/kernel/vmlinux.lds.S
arch/mips/kernel/vmlinux.lds.S
+0
-0
arch/parisc/kernel/Makefile
arch/parisc/kernel/Makefile
+1
-1
arch/ppc/kernel/Makefile
arch/ppc/kernel/Makefile
+1
-0
arch/ppc/kernel/vmlinux.lds.S
arch/ppc/kernel/vmlinux.lds.S
+0
-0
arch/ppc64/kernel/Makefile
arch/ppc64/kernel/Makefile
+2
-1
arch/ppc64/kernel/vmlinux.lds.S
arch/ppc64/kernel/vmlinux.lds.S
+0
-0
arch/s390/kernel/Makefile
arch/s390/kernel/Makefile
+1
-1
arch/s390/kernel/vmlinux.lds.S
arch/s390/kernel/vmlinux.lds.S
+0
-0
arch/sh/kernel/Makefile
arch/sh/kernel/Makefile
+1
-1
arch/sh/kernel/vmlinux.lds.S
arch/sh/kernel/vmlinux.lds.S
+0
-0
arch/sparc/kernel/Makefile
arch/sparc/kernel/Makefile
+1
-1
arch/sparc/kernel/vmlinux.lds.S
arch/sparc/kernel/vmlinux.lds.S
+0
-0
arch/sparc64/kernel/Makefile
arch/sparc64/kernel/Makefile
+1
-1
arch/sparc64/kernel/vmlinux.lds.S
arch/sparc64/kernel/vmlinux.lds.S
+0
-0
arch/um/kernel/Makefile
arch/um/kernel/Makefile
+2
-0
arch/um/kernel/vmlinux.lds.S
arch/um/kernel/vmlinux.lds.S
+0
-0
arch/v850/kernel/Makefile
arch/v850/kernel/Makefile
+1
-1
arch/v850/kernel/vmlinux.lds.S
arch/v850/kernel/vmlinux.lds.S
+0
-0
arch/x86_64/kernel/Makefile
arch/x86_64/kernel/Makefile
+1
-1
arch/x86_64/kernel/vmlinux.lds.S
arch/x86_64/kernel/vmlinux.lds.S
+0
-0
No files found.
Makefile
View file @
43542370
...
...
@@ -418,7 +418,7 @@ define rule_vmlinux
$(NM)
$@
|
grep
-v
'\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)'
|
sort
>
System.map
endef
LDFLAGS_vmlinux
+=
-T
arch
/
$(ARCH)
/vmlinux.lds.s
LDFLAGS_vmlinux
+=
-T
arch
/
$(ARCH)
/
kernel/
vmlinux.lds.s
# Generate section listing all symbols and add it into vmlinux
# It's a three stage process:
...
...
@@ -444,23 +444,23 @@ cmd_kallsyms = $(NM) -n $< | $(KALLSYMS) > $@
.tmp_kallsyms%.S
:
.tmp_vmlinux%
$(
call
cmd,kallsyms
)
.tmp_vmlinux1
:
$(vmlinux-objs) arch/$(ARCH)/vmlinux.lds.s FORCE
.tmp_vmlinux1
:
$(vmlinux-objs) arch/$(ARCH)/
kernel/
vmlinux.lds.s FORCE
+
$(
call
if_changed_rule,vmlinux__
)
.tmp_vmlinux2
:
$(vmlinux-objs) .tmp_kallsyms1.o arch/$(ARCH)/vmlinux.lds.s FORCE
.tmp_vmlinux2
:
$(vmlinux-objs) .tmp_kallsyms1.o arch/$(ARCH)/
kernel/
vmlinux.lds.s FORCE
$(
call
if_changed_rule,vmlinux__
)
endif
# Finally the vmlinux rule
vmlinux
:
$(vmlinux-objs) $(kallsyms.o) arch/$(ARCH)/vmlinux.lds.s FORCE
vmlinux
:
$(vmlinux-objs) $(kallsyms.o) arch/$(ARCH)/
kernel/
vmlinux.lds.s FORCE
$(
call
if_changed_rule,vmlinux
)
# The actual objects are generated when descending,
# make sure no implicit rule kicks in
$(sort $(vmlinux-objs))
:
$(SUBDIRS) ;
$(sort $(vmlinux-objs))
arch/$(ARCH)/kernel/vmlinux.lds.s
:
$(SUBDIRS) ;
# Handle descending into subdirectories listed in $(SUBDIRS)
...
...
@@ -483,15 +483,10 @@ endif
endif
$(
if
$(CONFIG_MODULES)
,
$(Q)
mkdir
-p
$(MODVERDIR)
)
#
This can be used by arch/$ARCH/Makefile to preprocess
#
their vmlinux.lds.S
file
#
Leave this as default for preprocessing vmlinux.lds.S, which is now
#
done in arch/$(ARCH)/kernel/Make
file
AFLAGS_vmlinux.lds.o
+=
-P
-C
-U
$(ARCH)
arch/$(ARCH)/vmlinux.lds.s
:
%.s: %.S scripts FORCE
$(
call
if_changed_dep,as_s_S
)
targets
+=
arch
/
$(ARCH)
/vmlinux.lds.s
export
AFLAGS_vmlinux.lds.o
+=
-P
-C
-U
$(ARCH)
# Single targets
# ---------------------------------------------------------------------------
...
...
@@ -832,9 +827,6 @@ endif #ifeq ($(mixed-targets),1)
a_flags
=
-Wp
,-MD,
$(depfile)
$(AFLAGS)
$(AFLAGS_KERNEL)
$(NOSTDINC_FLAGS)
\
$(modkern_aflags)
$(EXTRA_AFLAGS)
$
(
AFLAGS_
$
(
*
F
)
.o
)
quiet_cmd_as_s_S
=
CPP
$@
cmd_as_s_S
=
$(CPP)
$(a_flags)
-o
$@
$<
quiet_cmd_as_o_S
=
AS
$@
cmd_as_o_S
=
$(CC)
$(a_flags)
-c
-o
$@
$<
...
...
arch/alpha/kernel/Makefile
View file @
43542370
...
...
@@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#
extra-y
:=
head.o
extra-y
:=
head.o
vmlinux.lds.s
EXTRA_AFLAGS
:=
$(CFLAGS)
EXTRA_CFLAGS
:=
-Werror
-Wno-sign-compare
...
...
arch/alpha/vmlinux.lds.S
→
arch/alpha/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/arm/kernel/Makefile
View file @
43542370
...
...
@@ -30,7 +30,7 @@ endif
head-y
:=
head.o
obj-$(CONFIG_DEBUG_LL)
+=
debug.o
extra-y
:=
$
(
head-y
)
init_task.o
extra-y
:=
$
(
head-y
)
init_task.o
vmlinux.lds.s
# Spell out some dependencies that `make dep' doesn't spot
$(obj)/entry-armv.o
:
$(obj)/entry-header.S include/asm-arm/constants.h
...
...
arch/arm/vmlinux.lds.S
→
arch/arm/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/arm26/kernel/Makefile
View file @
43542370
...
...
@@ -14,5 +14,5 @@ obj-y := compat.o dma.o entry.o irq.o \
obj-$(CONFIG_FIQ)
+=
fiq.o
obj-$(CONFIG_MODULES)
+=
armksyms.o
extra-y
:=
init_task.o
extra-y
:=
init_task.o
vmlinux.lds.s
arch/arm26/vmlinux.lds.S
→
arch/arm26/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/cris/Makefile
View file @
43542370
...
...
@@ -93,7 +93,7 @@ arch/$(ARCH)/.links:
@
ln
-sfn
$(SARCH)
/drivers
arch
/
$(ARCH)
/drivers
@
ln
-sfn
$(SARCH)
/boot
arch
/
$(ARCH)
/boot
@
ln
-sfn
$(SARCH)
/lib
arch
/
$(ARCH)
/lib
@
ln
-sfn
$(SARCH)
/vmlinux.lds.S
arch
/
$(ARCH)
/vmlinux.lds.S
@
ln
-sfn
$(SARCH)
/vmlinux.lds.S
arch
/
$(ARCH)
/
kernel/
vmlinux.lds.S
@
touch
$@
# Create link to sub arch includes
...
...
arch/cris/kernel/Makefile
View file @
43542370
...
...
@@ -3,6 +3,8 @@
# Makefile for the linux kernel.
#
extra-y
:=
vmlinux.lds.s
obj-y
:=
process.o traps.o irq.o ptrace.o setup.o
\
time.o sys_cris.o semaphore.o
...
...
arch/h8300/kernel/Makefile
View file @
43542370
#
# Makefile for the linux kernel.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile...
extra-y
:=
vmlinux.lds.s
obj-y
:=
process.o traps.o ptrace.o
\
sys_h8300.o time.o semaphore.o signal.o
\
...
...
arch/h8300/vmlinux.lds.S
→
arch/h8300/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/i386/kernel/Makefile
View file @
43542370
...
...
@@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#
extra-y
:=
head.o init_task.o
extra-y
:=
head.o init_task.o
vmlinux.lds.s
obj-y
:=
process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o
\
ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_i386.o
\
...
...
arch/i386/vmlinux.lds.S
→
arch/i386/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/ia64/kernel/Makefile
View file @
43542370
...
...
@@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#
extra-y
:=
head.o init_task.o
extra-y
:=
head.o init_task.o
vmlinux.lds.s
obj-y
:=
acpi.o entry.o efi.o efi_stub.o gate-data.o fsys.o ia64_ksyms.o irq.o irq_ia64.o
\
irq_lsapic.o ivt.o machvec.o pal.o patch.o process.o perfmon.o ptrace.o sal.o
\
...
...
arch/ia64/vmlinux.lds.S
→
arch/ia64/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/m68k/kernel/Makefile
View file @
43542370
...
...
@@ -6,7 +6,8 @@ ifndef CONFIG_SUN3
extra-y
:=
head.o
else
extra-y
:=
sun3-head.o
endif
endif
extra-y
+=
vmlinux.lds.s
obj-y
:=
entry.o process.o traps.o ints.o signal.o ptrace.o
\
sys_m68k.o time.o semaphore.o setup.o m68k_ksyms.o
...
...
arch/m68k/vmlinux.lds.S
→
arch/m68k/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/m68knommu/kernel/Makefile
View file @
43542370
...
...
@@ -2,6 +2,8 @@
# Makefile for arch/m68knommu/kernel.
#
extra-y
:=
vmlinux.lds.s
obj-y
+=
entry.o init_task.o m68k_ksyms.o process.o ptrace.o
\
semaphore.o setup.o signal.o syscalltable.o sys_m68k.o time.o
\
traps.o
...
...
arch/m68knommu/vmlinux.lds.S
→
arch/m68knommu/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/mips/kernel/Makefile
View file @
43542370
...
...
@@ -2,7 +2,7 @@
# Makefile for the Linux/MIPS kernel.
#
extra-y
:=
head.o init_task.o
extra-y
:=
head.o init_task.o
vmlinux.lds.s
obj-y
+=
cpu-probe.o branch.o entry.o genex.o irq.o process.o
\
ptrace.o reset.o semaphore.o setup.o signal.o syscall.o
\
...
...
arch/mips/vmlinux.lds.S
→
arch/mips/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/parisc/kernel/Makefile
View file @
43542370
...
...
@@ -4,7 +4,7 @@
head-y
:=
head.o
head-$(CONFIG_PARISC64)
:=
head64.o
extra-y
:=
init_task.o
$
(
head-y
)
extra-y
:=
init_task.o
$
(
head-y
)
vmlinux.lds.s
AFLAGS_entry.o
:=
-traditional
AFLAGS_pacache.o
:=
-traditional
...
...
arch/ppc/kernel/Makefile
View file @
43542370
...
...
@@ -14,6 +14,7 @@ extra-y := head.o
extra-$(CONFIG_40x)
:=
head_4xx.o
extra-$(CONFIG_8xx)
:=
head_8xx.o
extra-$(CONFIG_6xx)
+=
idle_6xx.o
extra-y
+=
vmlinux.lds.s
obj-y
:=
entry.o traps.o irq.o idle.o time.o misc.o
\
process.o signal.o ptrace.o align.o
\
...
...
arch/ppc/vmlinux.lds.S
→
arch/ppc/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/ppc64/kernel/Makefile
View file @
43542370
...
...
@@ -3,7 +3,8 @@
#
EXTRA_CFLAGS
+=
-mno-minimal-toc
extra-y
:=
head.o
extra-y
:=
head.o vmlinux.lds.s
obj-y
:=
setup.o entry.o traps.o irq.o idle.o
\
time.o process.o signal.o syscalls.o misc.o ptrace.o
\
align.o semaphore.o bitops.o stab.o htab.o pacaData.o
\
...
...
arch/ppc64/vmlinux.lds.S
→
arch/ppc64/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/s390/kernel/Makefile
View file @
43542370
...
...
@@ -10,7 +10,7 @@ obj-y := bitmap.o traps.o time.o process.o \
extra-$(CONFIG_ARCH_S390_31)
+=
head.o
extra-$(CONFIG_ARCH_S390X)
+=
head64.o
extra-y
+=
init_task.o
extra-y
+=
init_task.o
vmlinux.lds.s
obj-$(CONFIG_MODULES)
+=
s390_ksyms.o module.o
obj-$(CONFIG_SMP)
+=
smp.o
...
...
arch/s390/vmlinux.lds.S
→
arch/s390/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/sh/kernel/Makefile
View file @
43542370
...
...
@@ -2,7 +2,7 @@
# Makefile for the Linux/SuperH kernel.
#
extra-y
:=
head.o init_task.o
extra-y
:=
head.o init_task.o
vmlinux.lds.s
obj-y
:=
process.o signal.o entry.o traps.o irq.o
\
ptrace.o setup.o time.o sys_sh.o semaphore.o
\
...
...
arch/sh/vmlinux.lds.S
→
arch/sh/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/sparc/kernel/Makefile
View file @
43542370
...
...
@@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#
extra-y
:=
head.o init_task.o
extra-y
:=
head.o init_task.o
vmlinux.lds.s
EXTRA_AFLAGS
:=
-ansi
...
...
arch/sparc/vmlinux.lds.S
→
arch/sparc/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/sparc64/kernel/Makefile
View file @
43542370
...
...
@@ -5,7 +5,7 @@
EXTRA_AFLAGS
:=
-ansi
EXTRA_CFLAGS
:=
-Werror
extra-y
:=
head.o init_task.o
extra-y
:=
head.o init_task.o
vmlinux.lds.s
obj-y
:=
process.o setup.o cpu.o idprom.o
\
traps.o devices.o auxio.o
\
...
...
arch/sparc64/vmlinux.lds.S
→
arch/sparc64/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/um/kernel/Makefile
View file @
43542370
...
...
@@ -3,6 +3,8 @@
# Licensed under the GPL
#
extra-y
:=
vmlinux.lds.s
obj-y
=
checksum.o config.o exec_kern.o exitcode.o frame_kern.o frame.o
\
helper.o init_task.o irq.o irq_user.o ksyms.o mem.o mem_user.o
\
process.o process_kern.o ptrace.o reboot.o resource.o sigio_user.o
\
...
...
arch/um/vmlinux.lds.S
→
arch/um/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/v850/kernel/Makefile
View file @
43542370
...
...
@@ -9,7 +9,7 @@
# for more details.
#
extra-y
:=
head.o init_task.o
extra-y
:=
head.o init_task.o
vmlinux.lds.s
obj-y
+=
intv.o entry.o process.o syscalls.o time.o semaphore.o setup.o
\
signal.o irq.o mach.o ptrace.o bug.o
...
...
arch/v850/vmlinux.lds.S
→
arch/v850/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
arch/x86_64/kernel/Makefile
View file @
43542370
...
...
@@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#
extra-y
:=
head.o head64.o init_task.o
extra-y
:=
head.o head64.o init_task.o
vmlinux.lds.s
EXTRA_AFLAGS
:=
-traditional
obj-y
:=
process.o semaphore.o signal.o entry.o traps.o irq.o
\
ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_x86_64.o
\
...
...
arch/x86_64/vmlinux.lds.S
→
arch/x86_64/
kernel/
vmlinux.lds.S
View file @
43542370
File moved
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