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
e4dfa2d1
Commit
e4dfa2d1
authored
Apr 01, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
d2a7b2bf
d7fd03c8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
48 deletions
+26
-48
arch/arm/Makefile
arch/arm/Makefile
+15
-26
arch/arm/boot/compressed/Makefile
arch/arm/boot/compressed/Makefile
+1
-1
arch/arm/kernel/Makefile
arch/arm/kernel/Makefile
+1
-1
arch/arm/lib/Makefile
arch/arm/lib/Makefile
+9
-19
drivers/acorn/char/Makefile
drivers/acorn/char/Makefile
+0
-1
No files found.
arch/arm/Makefile
View file @
e4dfa2d1
...
@@ -36,7 +36,7 @@ comma = ,
...
@@ -36,7 +36,7 @@ comma = ,
# Note that GCC does not numerically define an architecture version
# Note that GCC does not numerically define an architecture version
# macro, but instead defines a whole series of macros which makes
# macro, but instead defines a whole series of macros which makes
# testing for a specific architecture or later rather impossible.
# testing for a specific architecture or later rather impossible.
arch-$(CONFIG_CPU_32v6)
:=
-D__LINUX_ARM_ARCH__
=
6
-march
=
armv5t
-Wa
,-march
=
armv6
arch-$(CONFIG_CPU_32v6)
:=
-D__LINUX_ARM_ARCH__
=
6
$(
call
check_gcc,-march
=
armv6,-march
=
armv5t
-Wa
$(comma)
-march
=
armv6
)
arch-$(CONFIG_CPU_32v5)
:=
-D__LINUX_ARM_ARCH__
=
5
$(
call
check_gcc,-march
=
armv5te,-march
=
armv4
)
arch-$(CONFIG_CPU_32v5)
:=
-D__LINUX_ARM_ARCH__
=
5
$(
call
check_gcc,-march
=
armv5te,-march
=
armv4
)
arch-$(CONFIG_CPU_32v4)
:=
-D__LINUX_ARM_ARCH__
=
4
-march
=
armv4
arch-$(CONFIG_CPU_32v4)
:=
-D__LINUX_ARM_ARCH__
=
4
-march
=
armv4
arch-$(CONFIG_CPU_32v3)
:=
-D__LINUX_ARM_ARCH__
=
3
-march
=
armv3
arch-$(CONFIG_CPU_32v3)
:=
-D__LINUX_ARM_ARCH__
=
3
-march
=
armv3
...
@@ -54,20 +54,13 @@ tune-$(CONFIG_CPU_XSCALE) :=$(call check_gcc,-mtune=xscale,-mtune=strongarm110)
...
@@ -54,20 +54,13 @@ tune-$(CONFIG_CPU_XSCALE) :=$(call check_gcc,-mtune=xscale,-mtune=strongarm110)
tune-$(CONFIG_CPU_V6)
:=
-mtune
=
strongarm
tune-$(CONFIG_CPU_V6)
:=
-mtune
=
strongarm
# Need -Uarm for gcc < 3.x
# Need -Uarm for gcc < 3.x
CFLAGS_BOOT
:=
-mapcs-32
$
(
arch-y
)
$
(
tune-y
)
-mshort-load-bytes
-msoft-float
-Wa
,-mno-fpu
-Uarm
CFLAGS
+=
-mapcs-32
$
(
arch-y
)
$
(
tune-y
)
-mshort-load-bytes
-msoft-float
-Wa
,-mno-fpu
-Uarm
CFLAGS
+=
-mapcs-32
$
(
arch-y
)
$
(
tune-y
)
-mshort-load-bytes
-msoft-float
-Wa
,-mno-fpu
-Uarm
AFLAGS
+=
-mapcs-32
$
(
arch-y
)
$
(
tune-y
)
-msoft-float
-Wa
,-mno-fpu
AFLAGS
+=
-mapcs-32
$
(
arch-y
)
$
(
tune-y
)
-msoft-float
-Wa
,-mno-fpu
#Default value
#Default value
DATAADDR
:=
.
DATAADDR
:=
.
PROCESSOR
:=
armv
head-y
:=
arch
/arm/kernel/head.o
arch
/arm/kernel/init_task.o
head-y
:=
arch
/arm/kernel/head.o
arch
/arm/kernel/init_task.o
ifeq
($(CONFIG_CPU_BIG_ENDIAN),y)
LDFLAGS_BLOB
+=
--oformat
elf32-bigarm
else
LDFLAGS_BLOB
+=
--oformat
elf32-littlearm
endif
textaddr-y
:=
0xC0008000
textaddr-y
:=
0xC0008000
machine-$(CONFIG_ARCH_ARCA5K)
:=
arc
machine-$(CONFIG_ARCH_ARCA5K)
:=
arc
...
@@ -99,14 +92,13 @@ textaddr-$(CONFIG_ARCH_FORTUNET) := 0xc0008000
...
@@ -99,14 +92,13 @@ textaddr-$(CONFIG_ARCH_FORTUNET) := 0xc0008000
machine-$(CONFIG_ARCH_IOP3XX)
:=
iop3xx
machine-$(CONFIG_ARCH_IOP3XX)
:=
iop3xx
machine-$(CONFIG_ARCH_ADIFCC)
:=
adifcc
machine-$(CONFIG_ARCH_ADIFCC)
:=
adifcc
MACHINE
:=
$
(
machine-y
)
TEXTADDR
:=
$
(
textaddr-y
)
TEXTADDR
:=
$
(
textaddr-y
)
ifeq
($(incdir-y),)
ifeq
($(incdir-y),)
incdir-y
:=
$(
MACHINE
)
incdir-y
:=
$
(
machine-y
)
endif
endif
INCDIR
:=
$
(
incdir-y
)
INCDIR
:=
$
(
incdir-y
)
export
MACHINE
PROCESSOR
TEXTADDR
GZFLAGS
CFLAGS_BOOT
export
TEXTADDR
GZFLAGS
# Do we have FASTFPE?
# Do we have FASTFPE?
FASTFPE
:=
arch
/arm/fastfpe
FASTFPE
:=
arch
/arm/fastfpe
...
@@ -116,8 +108,8 @@ endif
...
@@ -116,8 +108,8 @@ endif
# If we have a machine-specific directory, then include it in the build.
# If we have a machine-specific directory, then include it in the build.
core-y
+=
arch
/arm/kernel/
arch
/arm/mm/
arch
/arm/common/
core-y
+=
arch
/arm/kernel/
arch
/arm/mm/
arch
/arm/common/
ifneq
($(
MACHINE
),)
ifneq
($(
machine-y
),)
core-y
+=
arch
/arm/mach-
$(
MACHINE
)
/
core-y
+=
arch
/arm/mach-
$
(
machine-y
)
/
endif
endif
core-$(CONFIG_FPE_NWFPE)
+=
arch
/arm/nwfpe/
core-$(CONFIG_FPE_NWFPE)
+=
arch
/arm/nwfpe/
core-$(CONFIG_FPE_FASTFPE)
+=
$(FASTFPE_OBJ)
core-$(CONFIG_FPE_FASTFPE)
+=
$(FASTFPE_OBJ)
...
@@ -134,20 +126,18 @@ all: zImage
...
@@ -134,20 +126,18 @@ all: zImage
boot
:=
arch
/arm/boot
boot
:=
arch
/arm/boot
# Update machine arch and proc symlinks if something which affects
# Update machine arch and proc symlinks if something which affects
# them changed. We use .arch
and .proc to indicate when they were
# them changed. We use .arch
to indicate when they were updated
#
updated
last, otherwise make uses the target directory mtime.
# last, otherwise make uses the target directory mtime.
include/asm-arm/.arch
:
$(wildcard include/config/arch/*.h)
include/asm-arm/.arch
:
$(wildcard include/config/arch/*.h) include/config/MARKER
@
echo
' Making asm-arm/arch -> asm-arm/arch-
$(INCDIR)
symlink'
@
echo
' SYMLINK include/asm-arm/arch -> include/asm-arm/arch-
$(INCDIR)
'
@
rm
-f
include/asm-arm/arch
@
ln
-fsn
arch-
$(INCDIR)
include/asm-arm/arch
@
ln
-sf
arch-
$(INCDIR)
include/asm-arm/arch
@
touch
$@
@
touch
$@
prepare
:
maketools
prepare
:
maketools
include/asm-arm/.arch
.PHONY
:
maketools FORCE
.PHONY
:
maketools FORCE
maketools
:
include/asm-arm/.arch
\
maketools
:
include/asm-arm/constants.h include/linux/version.h FORCE
include/asm-arm/constants.h include/linux/version.h FORCE
$(Q)$(MAKE)
$(build)
=
arch
/arm/tools include/asm-arm/mach-types.h
$(Q)$(MAKE)
$(build)
=
arch
/arm/tools include/asm-arm/mach-types.h
# Convert bzImage to zImage
# Convert bzImage to zImage
...
@@ -160,8 +150,8 @@ zImage Image bootpImage uImage: vmlinux
...
@@ -160,8 +150,8 @@ zImage Image bootpImage uImage: vmlinux
zinstall install
:
vmlinux
zinstall install
:
vmlinux
$(Q)$(MAKE)
$(build)
=
$(boot)
$@
$(Q)$(MAKE)
$(build)
=
$(boot)
$@
CLEAN_FILES
+=
include/asm-arm/constants.h
*
include/asm-arm/mach-types.h
CLEAN_FILES
+=
include/asm-arm/constants.h
*
include/asm-arm/mach-types.h
\
MRPROPER_FILES
+=
include/asm-arm/arch include/asm-arm/.arch
include/asm-arm/arch include/asm-arm/.arch
# We use MRPROPER_FILES and CLEAN_FILES now
# We use MRPROPER_FILES and CLEAN_FILES now
archclean
:
archclean
:
...
@@ -175,8 +165,7 @@ i:; $(Q)$(MAKE) $(build)=$(boot) install
...
@@ -175,8 +165,7 @@ i:; $(Q)$(MAKE) $(build)=$(boot) install
zi
:
; $(Q)$(MAKE) $(build)=$(boot) zinstall
zi
:
; $(Q)$(MAKE) $(build)=$(boot) zinstall
arch/$(ARCH)/kernel/asm-offsets.s
:
include/asm include/linux/version.h
\
arch/$(ARCH)/kernel/asm-offsets.s
:
include/asm include/linux/version.h
\
include/asm-arm/.arch
\
include/asm-arm/.arch
include/config/MARKER
include/asm-$(ARCH)/constants.h
:
arch/$(ARCH)/kernel/asm-offsets.s
include/asm-$(ARCH)/constants.h
:
arch/$(ARCH)/kernel/asm-offsets.s
$(
call
filechk,gen-asm-offsets
)
$(
call
filechk,gen-asm-offsets
)
...
...
arch/arm/boot/compressed/Makefile
View file @
e4dfa2d1
...
@@ -59,7 +59,7 @@ SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/LOAD_ADDR/$(ZRELADDR)/;s/BSS_START/$(ZBS
...
@@ -59,7 +59,7 @@ SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/LOAD_ADDR/$(ZRELADDR)/;s/BSS_START/$(ZBS
targets
:=
vmlinux vmlinux.lds piggy piggy.gz piggy.o
\
targets
:=
vmlinux vmlinux.lds piggy piggy.gz piggy.o
\
font.o head.o
$(OBJS)
font.o head.o
$(OBJS)
EXTRA_CFLAGS
:=
$(CFLAGS_BOOT)
-fpic
EXTRA_CFLAGS
:=
-fpic
EXTRA_AFLAGS
:=
-traditional
EXTRA_AFLAGS
:=
-traditional
LDFLAGS_vmlinux
:=
-p
-X
\
LDFLAGS_vmlinux
:=
-p
-X
\
...
...
arch/arm/kernel/Makefile
View file @
e4dfa2d1
...
@@ -20,7 +20,7 @@ obj-$(CONFIG_ARTHUR) += arthur.o
...
@@ -20,7 +20,7 @@ obj-$(CONFIG_ARTHUR) += arthur.o
obj-$(CONFIG_ISA_DMA)
+=
dma-isa.o
obj-$(CONFIG_ISA_DMA)
+=
dma-isa.o
obj-$(CONFIG_PCI)
+=
bios32.o
obj-$(CONFIG_PCI)
+=
bios32.o
ifneq
($(
MACHINE),ebsa110
)
ifneq
($(
CONFIG_ARCH_EBSA110),y
)
obj-y
+=
io.o
obj-y
+=
io.o
endif
endif
...
...
arch/arm/lib/Makefile
View file @
e4dfa2d1
...
@@ -11,30 +11,20 @@ lib-y := backtrace.o changebit.o csumipv6.o csumpartial.o \
...
@@ -11,30 +11,20 @@ lib-y := backtrace.o changebit.o csumipv6.o csumpartial.o \
strnlen_user.o strchr.o strrchr.o testchangebit.o
\
strnlen_user.o strchr.o strrchr.o testchangebit.o
\
testclearbit.o testsetbit.o uaccess.o getuser.o
\
testclearbit.o testsetbit.o uaccess.o getuser.o
\
putuser.o ashldi3.o ashrdi3.o lshrdi3.o muldi3.o
\
putuser.o ashldi3.o ashrdi3.o lshrdi3.o muldi3.o
\
ucmpdi2.o udivdi3.o lib1funcs.o div64.o
ucmpdi2.o udivdi3.o lib1funcs.o div64.o
\
io-readsb.o io-writesb.o io-writesl.o
lib-arc
:=
ecard.o io-acorn.o floppydma.o
lib-rpc
:=
ecard.o io-acorn.o floppydma.o
lib-clps7500
:=
io-acorn.o
lib-l7200
:=
io-acorn.o
lib-shark
:=
io-shark.o
lib-edb7211
:=
io-acorn.o
lib-y
+=
$
(
lib-
$(MACHINE)
)
ifeq
($(CONFIG_CPU_32v3),y)
ifeq
($(CONFIG_CPU_32v3),y)
v3
:=
y
lib-y
+=
io-readsw-armv3.o io-writesw-armv3.o io-readsl-armv3.o
v4
:=
n
else
else
v3
:=
n
lib-y
+=
io-readsw-armv4.o io-writesw-armv4.o io-readsl-armv4.o
v4
:=
y
endif
endif
lib-y
+=
io-readsb.o io-writesb.o
lib-$(CONFIG_ARCH_RPC)
+=
ecard.o io-acorn.o floppydma.o
lib-$(v3)
+=
io-readsw-armv3.o io-writesw-armv3.o io-readsl-armv3.o
lib-$(CONFIG_ARCH_CLPS7500)
+=
io-acorn.o
lib-$(v4)
+=
io-readsw-armv4.o io-writesw-armv4.o io-readsl-armv4.o
lib-$(CONFIG_ARCH_L7200)
+=
io-acorn.o
lib-y
+=
io-writesl.o
lib-$(CONFIG_ARCH_SHARK)
+=
io-shark.o
lib-$(CONFIG_ARCH_CLPS711X)
+=
io-acorn.o
$(obj)/csumpartialcopy.o
:
$(obj)/csumpartialcopygeneric.S
$(obj)/csumpartialcopy.o
:
$(obj)/csumpartialcopygeneric.S
$(obj)/csumpartialcopyuser.o
:
$(obj)/csumpartialcopygeneric.S
$(obj)/csumpartialcopyuser.o
:
$(obj)/csumpartialcopygeneric.S
drivers/acorn/char/Makefile
View file @
e4dfa2d1
...
@@ -4,4 +4,3 @@
...
@@ -4,4 +4,3 @@
obj-$(CONFIG_ARCH_ACORN)
+=
i2c.o pcf8583.o
obj-$(CONFIG_ARCH_ACORN)
+=
i2c.o pcf8583.o
obj-$(CONFIG_L7200_KEYB)
+=
defkeymap-l7200.o keyb_l7200.o
obj-$(CONFIG_L7200_KEYB)
+=
defkeymap-l7200.o keyb_l7200.o
obj-y
+=
$
(
obj-
$(MACHINE)
)
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