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
a06ae2d9
Commit
a06ae2d9
authored
May 18, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Manual merge
parents
20c6b26d
977e3db5
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
29 additions
and
66 deletions
+29
-66
Makefile
Makefile
+2
-1
arch/alpha/boot/Makefile
arch/alpha/boot/Makefile
+5
-4
arch/ia64/boot/Makefile
arch/ia64/boot/Makefile
+0
-5
arch/ia64/dig/Makefile
arch/ia64/dig/Makefile
+0
-5
arch/ia64/ia32/Makefile
arch/ia64/ia32/Makefile
+1
-4
arch/ia64/kernel/Makefile
arch/ia64/kernel/Makefile
+1
-4
arch/ia64/lib/Makefile
arch/ia64/lib/Makefile
+9
-10
arch/ia64/sn/fakeprom/Makefile
arch/ia64/sn/fakeprom/Makefile
+2
-5
arch/ia64/sn/kernel/Makefile
arch/ia64/sn/kernel/Makefile
+2
-5
arch/ia64/sn/kernel/sn1/Makefile
arch/ia64/sn/kernel/sn1/Makefile
+1
-5
arch/ia64/sn/kernel/sn2/Makefile
arch/ia64/sn/kernel/sn2/Makefile
+1
-5
arch/x86_64/ia32/Makefile
arch/x86_64/ia32/Makefile
+1
-4
arch/x86_64/kernel/Makefile
arch/x86_64/kernel/Makefile
+3
-7
arch/x86_64/lib/Makefile
arch/x86_64/lib/Makefile
+1
-2
No files found.
Makefile
View file @
a06ae2d9
...
@@ -39,6 +39,7 @@ GENKSYMS = /sbin/genksyms
...
@@ -39,6 +39,7 @@ GENKSYMS = /sbin/genksyms
DEPMOD
=
/sbin/depmod
DEPMOD
=
/sbin/depmod
MODFLAGS
=
-DMODULE
MODFLAGS
=
-DMODULE
CFLAGS_KERNEL
=
CFLAGS_KERNEL
=
AFLAGS_KERNEL
=
PERL
=
perl
PERL
=
perl
export
VERSION
PATCHLEVEL
SUBLEVEL
EXTRAVERSION
KERNELRELEASE
ARCH
\
export
VERSION
PATCHLEVEL
SUBLEVEL
EXTRAVERSION
KERNELRELEASE
ARCH
\
...
@@ -162,7 +163,7 @@ export NETWORKS DRIVERS LIBS HEAD LDFLAGS LINKFLAGS MAKEBOOT ASFLAGS
...
@@ -162,7 +163,7 @@ export NETWORKS DRIVERS LIBS HEAD LDFLAGS LINKFLAGS MAKEBOOT ASFLAGS
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
boot
:
vmlinux
boot
:
vmlinux
@
$(MAKE)
CFLAGS
=
"
$(CFLAGS)
$(CFLAGS_KERNEL)
"
-C
arch
/
$(ARCH)
/boot
@
$(MAKE)
CFLAGS
=
"
$(CFLAGS)
$(CFLAGS_KERNEL)
"
AFLAGS
=
"
$(AFLAGS)
$(AFLAGS_KERNEL)
"
-C
arch
/
$(ARCH)
/boot
vmlinux
:
include/linux/version.h $(CONFIGURATION) init/main.o init/version.o init/do_mounts.o linuxsubdirs
vmlinux
:
include/linux/version.h $(CONFIGURATION) init/main.o init/version.o init/do_mounts.o linuxsubdirs
$(LD)
$(LINKFLAGS)
$(HEAD)
init/main.o init/version.o init/do_mounts.o
\
$(LD)
$(LINKFLAGS)
$(HEAD)
init/main.o init/version.o init/do_mounts.o
\
...
...
arch/alpha/boot/Makefile
View file @
a06ae2d9
...
@@ -8,12 +8,13 @@
...
@@ -8,12 +8,13 @@
# Copyright (C) 1994 by Linus Torvalds
# Copyright (C) 1994 by Linus Torvalds
#
#
USE_STANDARD_AS_RULE
:=
true
EXTRA_AFLAGS
:=
-traditional
LINKFLAGS
=
-static
-T
bootloader.lds
#-N -relax
LINKFLAGS
=
-static
-T
bootloader.lds
#-N -relax
.S.s
:
$(CPP)
$(AFLAGS)
-traditional
-o
$*
.o
$<
.S.o
:
$(CC)
$(AFLAGS)
-traditional
-c
-o
$*
.o
$<
OBJECTS
=
head.o main.o
OBJECTS
=
head.o main.o
BPOBJECTS
=
head.o bootp.o
BPOBJECTS
=
head.o bootp.o
TARGETS
=
vmlinux.gz tools/objstrip
# also needed by aboot & milo
TARGETS
=
vmlinux.gz tools/objstrip
# also needed by aboot & milo
...
...
arch/ia64/boot/Makefile
View file @
a06ae2d9
...
@@ -10,11 +10,6 @@
...
@@ -10,11 +10,6 @@
LINKFLAGS
=
-static
-T
bootloader.lds
LINKFLAGS
=
-static
-T
bootloader.lds
.S.s
:
$(CPP)
$(AFLAGS)
-traditional
-o
$*
.o
$<
.S.o
:
$(CC)
$(AFLAGS)
-traditional
-c
-o
$*
.o
$<
OBJECTS
=
bootloader.o
OBJECTS
=
bootloader.o
targets-$(CONFIG_IA64_HP_SIM)
+=
bootloader
targets-$(CONFIG_IA64_HP_SIM)
+=
bootloader
...
...
arch/ia64/dig/Makefile
View file @
a06ae2d9
...
@@ -5,11 +5,6 @@
...
@@ -5,11 +5,6 @@
# Copyright (C) Srinivasa Thirumalachar (sprasad@engr.sgi.com)
# Copyright (C) Srinivasa Thirumalachar (sprasad@engr.sgi.com)
#
#
.S.s
:
$(CPP)
$(AFLAGS)
-o
$*
.s
$<
.S.o
:
$(CC)
$(AFLAGS)
-c
-o
$*
.o
$<
all
:
dig.a
all
:
dig.a
O_TARGET
:=
dig.a
O_TARGET
:=
dig.a
...
...
arch/ia64/ia32/Makefile
View file @
a06ae2d9
...
@@ -2,10 +2,7 @@
...
@@ -2,10 +2,7 @@
# Makefile for the ia32 kernel emulation subsystem.
# Makefile for the ia32 kernel emulation subsystem.
#
#
.S.s
:
USE_STANDARD_AS_RULE
:=
true
$(CPP)
$(AFLAGS)
$(AFLAGS_KERNEL)
-o
$*
.s
$<
.S.o
:
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-o
$*
.o
$<
all
:
ia32.o
all
:
ia32.o
...
...
arch/ia64/kernel/Makefile
View file @
a06ae2d9
...
@@ -2,10 +2,7 @@
...
@@ -2,10 +2,7 @@
# Makefile for the linux kernel.
# Makefile for the linux kernel.
#
#
.S.s
:
USE_STANDARD_AS_RULE
:=
true
$(CPP)
$(AFLAGS)
$(AFLAGS_KERNEL)
-o
$*
.s
$<
.S.o
:
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-o
$*
.o
$<
all
:
kernel.o head.o init_task.o
all
:
kernel.o head.o init_task.o
...
...
arch/ia64/lib/Makefile
View file @
a06ae2d9
...
@@ -2,8 +2,7 @@
...
@@ -2,8 +2,7 @@
# Makefile for ia64-specific library routines..
# Makefile for ia64-specific library routines..
#
#
.S.o
:
USE_STANDARD_AS_RULE
:=
true
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
$<
-o
$@
L_TARGET
=
lib.a
L_TARGET
=
lib.a
...
@@ -25,27 +24,27 @@ IGNORE_FLAGS_OBJS = __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
...
@@ -25,27 +24,27 @@ IGNORE_FLAGS_OBJS = __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
$(L_TARGET)
:
$(obj-y) $(export-objs)
$(L_TARGET)
:
$(obj-y) $(export-objs)
__divdi3.o
:
idiv64.S
__divdi3.o
:
idiv64.S
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-o
$@
$<
$(CC)
$(AFLAGS)
-c
-o
$@
$<
__udivdi3.o
:
idiv64.S
__udivdi3.o
:
idiv64.S
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-DUNSIGNED
-c
-o
$@
$<
$(CC)
$(AFLAGS)
-c
-DUNSIGNED
-c
-o
$@
$<
__moddi3.o
:
idiv64.S
__moddi3.o
:
idiv64.S
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-DMODULO
-c
-o
$@
$<
$(CC)
$(AFLAGS)
-c
-DMODULO
-c
-o
$@
$<
__umoddi3.o
:
idiv64.S
__umoddi3.o
:
idiv64.S
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-DMODULO
-DUNSIGNED
-c
-o
$@
$<
$(CC)
$(AFLAGS)
-c
-DMODULO
-DUNSIGNED
-c
-o
$@
$<
__divsi3.o
:
idiv32.S
__divsi3.o
:
idiv32.S
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-o
$@
$<
$(CC)
$(AFLAGS)
-c
-o
$@
$<
__udivsi3.o
:
idiv32.S
__udivsi3.o
:
idiv32.S
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-DUNSIGNED
-c
-o
$@
$<
$(CC)
$(AFLAGS)
-c
-DUNSIGNED
-c
-o
$@
$<
__modsi3.o
:
idiv32.S
__modsi3.o
:
idiv32.S
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-DMODULO
-c
-o
$@
$<
$(CC)
$(AFLAGS)
-c
-DMODULO
-c
-o
$@
$<
__umodsi3.o
:
idiv32.S
__umodsi3.o
:
idiv32.S
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-DMODULO
-DUNSIGNED
-c
-o
$@
$<
$(CC)
$(AFLAGS)
-c
-DMODULO
-DUNSIGNED
-c
-o
$@
$<
include
$(TOPDIR)/Rules.make
include
$(TOPDIR)/Rules.make
arch/ia64/sn/fakeprom/Makefile
View file @
a06ae2d9
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All rights reserved.
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All rights reserved.
#
#
USE_STANDARD_AS_RULE
:=
true
TOPDIR
=
../../../..
TOPDIR
=
../../../..
HPATH
=
$(TOPDIR)
/include
HPATH
=
$(TOPDIR)
/include
...
@@ -17,11 +19,6 @@ obj-y=fprom
...
@@ -17,11 +19,6 @@ obj-y=fprom
fprom
:
$(OBJ)
fprom
:
$(OBJ)
$(LD)
-static
-Tfprom
.lds
-o
fprom
$(OBJ)
$(LIB)
$(LD)
-static
-Tfprom
.lds
-o
fprom
$(OBJ)
$(LIB)
.S.o
:
$(CC)
-D__ASSEMBLY__
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-o
$*
.o
$<
.c.o
:
$(CC)
$(CFLAGS)
$(CFLAGS_KERNEL)
-c
-o
$*
.o
$<
clean
:
clean
:
rm
-f
*
.o fprom
rm
-f
*
.o fprom
...
...
arch/ia64/sn/kernel/Makefile
View file @
a06ae2d9
...
@@ -31,12 +31,9 @@
...
@@ -31,12 +31,9 @@
# http://oss.sgi.com/projects/GenInfo/NoticeExplan
# http://oss.sgi.com/projects/GenInfo/NoticeExplan
#
#
EXTRA_CFLAGS
:=
-DLITTLE_ENDIAN
USE_STANDARD_AS_RULE
:=
true
.S.s
:
EXTRA_CFLAGS
:=
-DLITTLE_ENDIAN
$(CPP)
$(AFLAGS)
$(AFLAGS_KERNEL)
-o
$*
.s
$<
.S.o
:
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-o
$*
.o
$<
O_TARGET
=
sn.o
O_TARGET
=
sn.o
...
...
arch/ia64/sn/kernel/sn1/Makefile
View file @
a06ae2d9
...
@@ -32,14 +32,10 @@
...
@@ -32,14 +32,10 @@
# http://oss.sgi.com/projects/GenInfo/NoticeExplan
# http://oss.sgi.com/projects/GenInfo/NoticeExplan
#
#
USE_STANDARD_AS_RULE
:=
true
EXTRA_CFLAGS
:=
-DLITTLE_ENDIAN
EXTRA_CFLAGS
:=
-DLITTLE_ENDIAN
.S.s
:
$(CPP)
$(AFLAGS)
$(AFLAGS_KERNEL)
-o
$*
.s
$<
.S.o
:
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-o
$*
.o
$<
all
:
sn1.a
all
:
sn1.a
O_TARGET
=
sn1.a
O_TARGET
=
sn1.a
...
...
arch/ia64/sn/kernel/sn2/Makefile
View file @
a06ae2d9
...
@@ -32,14 +32,10 @@
...
@@ -32,14 +32,10 @@
# http://oss.sgi.com/projects/GenInfo/NoticeExplan
# http://oss.sgi.com/projects/GenInfo/NoticeExplan
#
#
USE_STANDARD_AS_RULE
:=
true
EXTRA_CFLAGS
:=
-DLITTLE_ENDIAN
EXTRA_CFLAGS
:=
-DLITTLE_ENDIAN
.S.s
:
$(CPP)
$(AFLAGS)
$(AFLAGS_KERNEL)
-o
$*
.s
$<
.S.o
:
$(CC)
$(AFLAGS)
$(AFLAGS_KERNEL)
-c
-o
$*
.o
$<
all
:
sn2.a
all
:
sn2.a
O_TARGET
=
sn2.a
O_TARGET
=
sn2.a
...
...
arch/x86_64/ia32/Makefile
View file @
a06ae2d9
...
@@ -2,10 +2,7 @@
...
@@ -2,10 +2,7 @@
# Makefile for the ia32 kernel emulation subsystem.
# Makefile for the ia32 kernel emulation subsystem.
#
#
.S.s
:
USE_STANDARD_AS_RULE
:=
true
$(CPP)
$(AFLAGS)
-o
$*
.s
$<
.S.o
:
$(CC)
$(AFLAGS)
-c
-o
$*
.o
$<
export-objs
:=
ia32_ioctl.o
export-objs
:=
ia32_ioctl.o
...
...
arch/x86_64/kernel/Makefile
View file @
a06ae2d9
#
#
# Makefile for the linux kernel.
# 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...
.S.o
:
USE_STANDARD_AS_RULE
:=
true
$(CC)
$(AFLAGS)
-traditional
-c
$<
-o
$*
.o
EXTRA_AFLAGS
:=
-traditional
all
:
kernel.o head.o head64.o init_task.o
all
:
kernel.o head.o head64.o init_task.o
...
...
arch/x86_64/lib/Makefile
View file @
a06ae2d9
...
@@ -2,8 +2,7 @@
...
@@ -2,8 +2,7 @@
# Makefile for x86_64-specific library files..
# Makefile for x86_64-specific library files..
#
#
.S.o
:
USE_STANDARD_AS_RULE
:=
true
$(CC)
$(AFLAGS)
-c
$<
-o
$*
.o
L_TARGET
=
lib.a
L_TARGET
=
lib.a
obj-y
=
generic-checksum.o old-checksum.o delay.o
\
obj-y
=
generic-checksum.o old-checksum.o delay.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