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
5bbf93a1
Commit
5bbf93a1
authored
May 22, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Further makefile updates from Sam Ravnborg.
parent
c23e30be
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
165 additions
and
122 deletions
+165
-122
arch/ppc/boot/openfirmware/Makefile
arch/ppc/boot/openfirmware/Makefile
+138
-112
arch/ppc/boot/openfirmware/dummy.c
arch/ppc/boot/openfirmware/dummy.c
+0
-0
arch/ppc/boot/prep/Makefile
arch/ppc/boot/prep/Makefile
+22
-8
arch/ppc/boot/simple/Makefile
arch/ppc/boot/simple/Makefile
+1
-2
arch/ppc/boot/simple/dummy.c
arch/ppc/boot/simple/dummy.c
+4
-0
No files found.
arch/ppc/boot/openfirmware/Makefile
View file @
5bbf93a1
This diff is collapsed.
Click to expand it.
arch/ppc/boot/
common
/dummy.c
→
arch/ppc/boot/
openfirmware
/dummy.c
View file @
5bbf93a1
File moved
arch/ppc/boot/prep/Makefile
View file @
5bbf93a1
...
...
@@ -45,7 +45,7 @@ zImage.initrd: initrd := .initrd
zImage.initrd
:
$(images)/zImage.initrd.prep
@
echo
' kernel: $@ is ready ($<)'
mages)/ramdisk.image.gz
:
$(i
mages)/ramdisk.image.gz
:
@
echo
' MISSING $@'
@
echo
' RAM disk image must be provided separatly'
@
/bin/false
...
...
@@ -68,20 +68,28 @@ $(obj)/image.initrd.o: $(obj)/dummy.o $(images)/vmlinux.gz $(images)/ramdisk.ima
LDFLAGS_zImage.bin
:=
-Ttext
0x00800000
-Bstatic
-T
LDFLAGS_zImage.initrd.bin
:=
-Ttext
0x00800000
-Bstatic
-T
targets
+=
zImage.bin zImage.initrd.bin
$(obj)/zImage$(initrd).bin
:
$(boot)/ld.script $(OBJS) $(obj)/image.o $(LIBS)
targets
+=
zImage.bin
$(obj)/zImage.bin
:
$(boot)/ld.script $(OBJS) $(obj)/image.o $(LIBS)
$(
call
if_changed,ld
)
targets
+=
zImage.initrd.bin
$(obj)/zImage.initrd.bin
:
$(boot)/ld.script $(OBJS) $(obj)/image.initrd.o $(LIBS)
$(
call
if_changed,ld
)
OBJCOPYFLAGS_zImage
:=
-R
.comment
-R
.stab
-R
.stabstr
OBJCOPYFLAGS_zImage.initrd
:=
-R
.comment
-R
.stab
-R
.stabstr
targets
+=
zImage zImage.initrd
$(obj)/zImage$(initrd)
:
%: %.bin FORCE
targets
+=
zImage
$(obj)/zImage
:
%: %.bin FORCE
$(
call
if_changed,objcopy
)
targets
+=
zImage.initrd
$(obj)/zImage.initrd
:
%: %.bin FORCE
$(
call
if_changed,objcopy
)
quiet_cmd_mkprep
=
MKPREP
$@
cmd_mkprep
=
$(utils)
/mkprep
-pbp
$<
$@
$(images)/zImage$(initrd).prep
:
$(obj)/zImage$(initrd) $(utils)/mkprep FORCE
$(images)/zImage.prep
:
$(obj)/zImage $(utils)/mkprep
$(
call
cmd,mkprep
)
$(images)/zImage.initrd.prep
:
$(obj)/zImage.initrd $(utils)/mkprep
$(
call
cmd,mkprep
)
#
...
...
@@ -90,5 +98,11 @@ $(images)/zImage$(initrd).prep: $(obj)/zImage$(initrd) $(utils)/mkprep FORCE
floppy
:
zImage
dd
if
=
$(images)
/zImage.prep
of
=
/dev/fd0H1440
bs
=
64b
znetboot.initrd
:
zImage$(initrd)
cp
$(images)
/zImage
$(initrd)
.prep
$(TFTPIMAGE)
znetboot
:
zImage
cp
$(images)
/zImage.prep
$(TFTPIMAGE)
@
echo
' kernel: $@ is ready ($<)'
znetboot.initrd
:
zImage.initrd
cp
$(images)
/zImage.initrd.prep
$(TFTPIMAGE)
@
echo
' kernel: $@ is ready ($<)'
arch/ppc/boot/simple/Makefile
View file @
5bbf93a1
...
...
@@ -160,8 +160,7 @@ MKBUGBOOT := $(utils)/mkbugboot
MKPREP
:=
$(utils)
/mkprep
MKTREE
:=
$(utils)
/mktree
$(obj)/dummy.o
:
$(common)/dummy.c
$(CC)
-c
-o
$@
$(common)
/dummy.c
targets
:=
dummy.o
$(obj)/zvmlinux
:
$(OBJS) $(LIBS) $(boot)/ld.script $(images)/vmlinux.gz
\
$(obj)/dummy.o
...
...
arch/ppc/boot/simple/dummy.c
0 → 100644
View file @
5bbf93a1
int
main
(
void
)
{
return
0
;
}
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