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
ef4c617a
Commit
ef4c617a
authored
May 31, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Set sparse arch defines explicitly.
parent
111610ab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
arch/sparc/Makefile
arch/sparc/Makefile
+1
-0
arch/sparc64/Makefile
arch/sparc64/Makefile
+2
-0
No files found.
arch/sparc/Makefile
View file @
ef4c617a
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
AS
:=
$(AS)
-32
AS
:=
$(AS)
-32
LDFLAGS
:=
-m
elf32_sparc
LDFLAGS
:=
-m
elf32_sparc
CHECK
:=
$(CHECK)
-D__sparc__
=
1
#CFLAGS := $(CFLAGS) -g -pipe -fcall-used-g5 -fcall-used-g7
#CFLAGS := $(CFLAGS) -g -pipe -fcall-used-g5 -fcall-used-g7
CFLAGS
:=
$(CFLAGS)
-m32
-pipe
-mno-fpu
-fcall-used-g5
-fcall-used-g7
CFLAGS
:=
$(CFLAGS)
-m32
-pipe
-mno-fpu
-fcall-used-g5
-fcall-used-g7
...
...
arch/sparc64/Makefile
View file @
ef4c617a
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
# Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz)
# Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz)
#
#
CHECK
:=
$(CHECK)
-D__sparc__
=
1
-D__sparc_v9__
=
1
AFLAGS_vmlinux.lds.o
+=
-Usparc
AFLAGS_vmlinux.lds.o
+=
-Usparc
CC
:=
$(
shell
if
$(CC)
-m64
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
$(CC)
;
else
echo
sparc64-linux-gcc
;
fi
)
CC
:=
$(
shell
if
$(CC)
-m64
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
$(CC)
;
else
echo
sparc64-linux-gcc
;
fi
)
...
...
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