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
5490a4dd
Commit
5490a4dd
authored
Mar 22, 2003
by
Ben Collins
Committed by
David S. Miller
Mar 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Add image target.
parent
20556443
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
arch/sparc64/Makefile
arch/sparc64/Makefile
+4
-2
arch/sparc64/boot/Makefile
arch/sparc64/boot/Makefile
+10
-2
No files found.
arch/sparc64/Makefile
View file @
5490a4dd
...
@@ -71,8 +71,10 @@ libs-y += arch/sparc64/prom/ arch/sparc64/lib/
...
@@ -71,8 +71,10 @@ libs-y += arch/sparc64/prom/ arch/sparc64/lib/
# FIXME: is drivers- right?
# FIXME: is drivers- right?
drivers-$(CONFIG_OPROFILE)
+=
arch
/sparc64/oprofile/
drivers-$(CONFIG_OPROFILE)
+=
arch
/sparc64/oprofile/
tftpboot.img vmlinux.aout
:
makeboot
=
$(Q)$(MAKE)
-f
scripts/Makefile.build
obj
=
arch
/
$(ARCH)
/boot
$(1)
$(Q)$(MAKE)
$(build)
=
arch
/sparc64/boot
arch
/sparc64/boot/
$@
image tftpboot.img vmlinux.aout
:
vmlinux
$(
call
makeboot,arch/sparc64/boot/
$@
)
define
archhelp
define
archhelp
echo
'* vmlinux - Standard sparc64 kernel'
echo
'* vmlinux - Standard sparc64 kernel'
...
...
arch/sparc64/boot/Makefile
View file @
5490a4dd
...
@@ -14,13 +14,21 @@ quiet_cmd_elftoaout = ELT2AOUT $@
...
@@ -14,13 +14,21 @@ quiet_cmd_elftoaout = ELT2AOUT $@
cmd_elftoaout
=
$(ELFTOAOUT)
vmlinux
-o
$@
cmd_elftoaout
=
$(ELFTOAOUT)
vmlinux
-o
$@
quiet_cmd_piggy
=
PIGGY
$@
quiet_cmd_piggy
=
PIGGY
$@
cmd_piggy
=
$(obj)
/piggyback
$@
System.map
$(ROOT_IMG)
cmd_piggy
=
$(obj)
/piggyback
$@
System.map
$(ROOT_IMG)
quiet_cmd_strip
=
STRIP
$@
cmd_strip
=
$(STRIP)
-R
.comment
-R
.note vmlinux
-o
$@
$(obj)/tftpboot.img
:
$(obj)/piggyback System.map vmlinux $(ROOT_IMG) FORCE
# Actual linking
$(obj)/image
:
FORCE
$(
call
if_changed,strip
)
@
echo
' kernel: $@ is ready'
$(obj)/tftpboot.img
:
$(obj)/piggyback System.map $(ROOT_IMG) FORCE
$(
call
if_changed,elftoaout
)
$(
call
if_changed,elftoaout
)
$(
call
if_changed,piggy
)
$(
call
if_changed,piggy
)
@
echo
' kernel: $@ is ready'
@
echo
' kernel: $@ is ready'
$(obj)/vmlinux.aout
:
vmlinux
FORCE
$(obj)/vmlinux.aout
:
FORCE
$(
call
if_changed,elftoaout
)
$(
call
if_changed,elftoaout
)
@
echo
' kernel: $@ is ready'
@
echo
' kernel: $@ is ready'
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