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
ecd77a50
Commit
ecd77a50
authored
Dec 18, 2003
by
Peter Chubb
Committed by
David Mosberger
Dec 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: enable out-of-tree compilation for IA64
parent
7ef760b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
arch/ia64/Makefile
arch/ia64/Makefile
+7
-4
No files found.
arch/ia64/Makefile
View file @
ecd77a50
...
@@ -14,7 +14,7 @@ export AWK
...
@@ -14,7 +14,7 @@ export AWK
OBJCOPYFLAGS
:=
--strip-all
OBJCOPYFLAGS
:=
--strip-all
LDFLAGS_vmlinux
:=
-static
LDFLAGS_vmlinux
:=
-static
LDFLAGS_MODULE
+=
-T
arch
/ia64/module.lds
LDFLAGS_MODULE
+=
-T
$(srctree)
/
arch/ia64/module.lds
AFLAGS_KERNEL
:=
-mconstant-gp
AFLAGS_KERNEL
:=
-mconstant-gp
EXTRA
:=
EXTRA
:=
...
@@ -25,9 +25,9 @@ CFLAGS_KERNEL := -mconstant-gp
...
@@ -25,9 +25,9 @@ CFLAGS_KERNEL := -mconstant-gp
GCC_VERSION
=
$(
shell
$(CC)
-v
2>&1 | fgrep
'gcc version'
|
cut
-f3
-d
' '
|
cut
-f1
-d
'.'
)
GCC_VERSION
=
$(
shell
$(CC)
-v
2>&1 | fgrep
'gcc version'
|
cut
-f3
-d
' '
|
cut
-f1
-d
'.'
)
GCC_MINOR_VERSION
=
$(
shell
$(CC)
-v
2>&1 | fgrep
'gcc version'
|
cut
-f3
-d
' '
|
cut
-f2
-d
'.'
)
GCC_MINOR_VERSION
=
$(
shell
$(CC)
-v
2>&1 | fgrep
'gcc version'
|
cut
-f3
-d
' '
|
cut
-f2
-d
'.'
)
GAS_STATUS
=
$(
shell
arch
/ia64/scripts/check-gas
$(CC)
$(OBJDUMP)
)
GAS_STATUS
=
$(
shell
$(srctree)
/
arch/ia64/scripts/check-gas
$(CC)
$(OBJDUMP)
)
CPPFLAGS
+=
$(
shell
arch
/ia64/scripts/toolchain-flags
$(CC)
$(OBJDUMP)
)
CPPFLAGS
+=
$(
shell
$(srctree)
/
arch/ia64/scripts/toolchain-flags
$(CC)
$(OBJDUMP)
)
ifeq
($(GAS_STATUS),buggy)
ifeq
($(GAS_STATUS),buggy)
$(error
Sorry,
you
need
a
newer
version
of
the
assember,
one
that
is
built
from
\
$(error
Sorry,
you
need
a
newer
version
of
the
assember,
one
that
is
built
from
\
...
@@ -88,12 +88,15 @@ CLEAN_FILES += include/asm-ia64/.offsets.h.stamp include/asm-ia64/offsets.h vmli
...
@@ -88,12 +88,15 @@ CLEAN_FILES += include/asm-ia64/.offsets.h.stamp include/asm-ia64/offsets.h vmli
prepare
:
include/asm-ia64/offsets.h
prepare
:
include/asm-ia64/offsets.h
include/asm-$(ARCH)/offsets.h
:
arch/$(ARCH)/kernel/asm-offsets.s
arch/ia64/kernel/asm-offsets.s
:
include/asm include/linux/version.h
include/asm-ia64/offsets.h
:
arch/ia64/kernel/asm-offsets.s
$(
call
filechk,gen-asm-offsets
)
$(
call
filechk,gen-asm-offsets
)
arch/ia64/kernel/asm-offsets.s
:
include/asm-ia64/.offsets.h.stamp
arch/ia64/kernel/asm-offsets.s
:
include/asm-ia64/.offsets.h.stamp
include/asm-ia64/.offsets.h.stamp
:
include/asm-ia64/.offsets.h.stamp
:
mkdir
-p
include/asm-ia64
[
-s
include/asm-ia64/offsets.h
]
\
[
-s
include/asm-ia64/offsets.h
]
\
||
echo
"#define IA64_TASK_SIZE 0"
>
include/asm-ia64/offsets.h
||
echo
"#define IA64_TASK_SIZE 0"
>
include/asm-ia64/offsets.h
touch
$@
touch
$@
...
...
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