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
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
...
@@ -10,36 +10,34 @@
...
@@ -10,36 +10,34 @@
# Merged 'chrp' and 'pmac' into 'openfirmware', and cleaned up the
# Merged 'chrp' and 'pmac' into 'openfirmware', and cleaned up the
# rules.
# rules.
clean-files
:=
note coffboot coffboot.initrd
zImage.initrd znetboot.initrd
:
del-ramdisk-sec := -R .ramdisk
zImage.initrd znetboot.initrd
:
initrd := .initrd
boot
:
zImage
boot
:=
arch
/ppc/boot
boot
:=
arch
/ppc/boot
common
:=
$(boot)
/common
common
:=
$(boot)
/common
utils
:=
$(boot)
/utils
utils
:=
$(boot)
/utils
bootlib
:=
$(boot)
/lib
bootlib
:=
$(boot)
/lib
of1275
:=
$(boot)
/of1275
of1275
:=
$(boot)
/of1275
images
:=
$(boot)
/images
images
:=
$(boot)
/images
OBJCOPY_ARGS
=
-O
aixcoff-rs6000
-R
.stab
-R
.stabstr
-R
.comment
OBJCOPY_ARGS
:
=
-O
aixcoff-rs6000
-R
.stab
-R
.stabstr
-R
.comment
COFF_LD_ARGS
=
-T
$(boot)
/ld.script
-e
_start
-Ttext
0x00700000
-Bstatic
COFF_LD_ARGS
:
=
-T
$(boot)
/ld.script
-e
_start
-Ttext
0x00700000
-Bstatic
CHRP_LD_ARGS
=
-T
$(boot)
/ld.script
-e
_start
-Ttext
0x00800000
CHRP_LD_ARGS
:
=
-T
$(boot)
/ld.script
-e
_start
-Ttext
0x00800000
NEWWORLD_LD_ARGS
=
-T
$(boot)
/ld.script
-e
_start
-Ttext
0x01000000
NEWWORLD_LD_ARGS
:
=
-T
$(boot)
/ld.script
-e
_start
-Ttext
0x01000000
COMMONOBJS
:=
start.o misc.o common.o
COMMONOBJS
:=
start.o misc.o common.o
COFFOBJS
:=
coffcrt0.o
$(COMMONOBJS)
coffmain.o
COFFOBJS
:=
coffcrt0.o
$(COMMONOBJS)
coffmain.o
CHRPOBJS
:=
crt0.o
$(COMMONOBJS)
chrpmain.o
CHRPOBJS
:=
crt0.o
$(COMMONOBJS)
chrpmain.o
NEWWORLDOBJS
:=
crt0.o
$(COMMONOBJS)
newworldmain.o
NEWWORLDOBJS
:=
crt0.o
$(COMMONOBJS)
newworldmain.o
EXTRA_TARGETS
:=
$(COFFOBJS)
$(CHRPOBJS)
$(NEWWORLDOBJS)
targets
:=
$(COFFOBJS)
$(CHRPOBJS)
$(NEWWORLDOBJS)
dummy.o
COFFOBJS
:=
$(
addprefix
$(obj)
/,
$(COFFOBJS)
)
COFFOBJS
:=
$(
addprefix
$(obj)
/,
$(COFFOBJS)
)
CHRPOBJS
:=
$(
addprefix
$(obj)
/,
$(CHRPOBJS)
)
CHRPOBJS
:=
$(
addprefix
$(obj)
/,
$(CHRPOBJS)
)
NEWWORLDOBJS
:=
$(
addprefix
$(obj)
/,
$(NEWWORLDOBJS)
)
NEWWORLDOBJS
:=
$(
addprefix
$(obj)
/,
$(NEWWORLDOBJS)
)
LIBS
=
lib/lib.a
$(bootlib)
/lib.a
$(of1275)
/lib.a
$(common)
/lib.a
LIBS
:
=
lib/lib.a
$(bootlib)
/lib.a
$(of1275)
/lib.a
$(common)
/lib.a
ADDNOTE
:=
$(utils)
/addnote
MKNOTE
:=
$(utils)
/mknote
HACKCOFF
:=
$(utils)
/hack-coff
HACKCOFF
:=
$(utils)
/hack-coff
ifdef
CONFIG_SMP
ifdef
CONFIG_SMP
...
@@ -49,108 +47,136 @@ ifdef CONFIG_PPC64BRIDGE
...
@@ -49,108 +47,136 @@ ifdef CONFIG_PPC64BRIDGE
END
+=
.64
END
+=
.64
endif
endif
TFTPIMAGE
=
/tftpboot/zImage.
$(obj)/dummy.o
:
$(common)/dummy.c
$(images)/ramdisk.image.gz
:
$(CC)
-c
-o
$@
$(common)
/dummy.c
@
echo
' MISSING $@'
@
echo
' RAM disk image must be provided seperatly'
@
/bin/false
$(obj)/image.o
:
$(images)/vmlinux.gz $(obj)/dummy.o
objcpxmon-$(CONFIG_XMON)
:=
--add-section
=
.sysmap
=
System.map
\
$(OBJCOPY)
$(obj)
/dummy.o
$@
-R
.comment
\
--set-section-flags
=
.sysmap
=
contents,alloc,load,readonly,data
--add-section
=
.image
=
$(images)
/vmlinux.gz
\
quiet_cmd_genimage
=
GEN
$@
--set-section-flags
=
.image
=
contents,alloc,load,readonly,data
cmd_genimage
=
$(OBJCOPY)
-R
.comment
\
ifdef
CONFIG_XMON
--add-section
=
.image
=
$(images)
/vmlinux.gz
\
$(OBJCOPY)
$@
$@
\
--set-section-flags
=
.image
=
contents,alloc,load,readonly,data
\
--add-section
=
.sysmap
=
$(TOPDIR)
/System.map
\
$
(
objcpxmon-y
)
$<
$@
--set-section-flags
=
.sysmap
=
contents,alloc,load,readonly,data
endif
targets
+=
image.o
$(obj)/image.o
:
$(obj)/dummy.o $(images)/vmlinux.gz FORCE
$(
call
if_changed,genimage
)
# Place the ramdisk in the initrd image.
# Place the ramdisk in the initrd image.
$(obj)/image-initrd.o
:
$(obj)/image.o $(images)/ramdisk.image.gz
quiet_cmd_genimage-initrd
=
GEN
$@
$(OBJCOPY)
$(obj)
/image.o
$@
\
cmd_genimage-initrd
=
$(OBJCOPY)
$<
$@
\
--add-section
=
.ramdisk
=
$(images)
/ramdisk.image.gz
\
--add-section
=
.ramdisk
=
$(images)
/ramdisk.image.gz
\
--set-section-flags
=
.ramdisk
=
contents,alloc,load,readonly,data
--set-section-flags
=
.ramdisk
=
contents,alloc,load,readonly,data
targets
+=
image.initrd.o
$(obj)/image.initrd.o
:
$(obj)/image.o $(images)/ramdisk.image.gz FORCE
$(
call
if_changed,genimage-initrd
)
# Create the note section for New-World PowerMacs.
# Create the note section for New-World PowerMacs.
$(obj)/note
:
$(MKNOTE)
quit_cmd_mknote
=
MKNOTE
$@
$(MKNOTE)
>
$(obj)
/note
cmd_mknote
=
$(utils)
/mknote
>
$@
targets
+=
note
znetboot
:
$(images)/vmlinux.coff $(images)/vmlinux.elf-pmac $(images)/zImage.chrp
$(obj)/note
:
$(utils)/mknote FORCE
cp
$(images)
/vmlinux.coff
$(TFTPIMAGE)
.pmac
$(END)
$(
call
if_changed,mknote
)
cp
$(images)
/vmlinux.elf-pmac
$(TFTPIMAGE)
.pmac
$(END)
elf
cp
$(images)
/zImage.chrp
$(TFTPIMAGE)
.chrp
$(END)
$(obj)/coffcrt0.o
:
EXTRA_AFLAGS := -traditional -DXCOFF
znetboot.initrd
:
$(images)/vmlinux.initrd.coff
\
$(obj)/crt0.o
:
EXTRA_AFLAGS := -traditional
$(images)/vmlinux.initrd.elf-pmac
\
targets
+=
coffcrt0.o crt0.o
$(images)/zImage.initrd.chrp
$(obj)/coffcrt0.o $(obj)/crt0.o
:
$(common)/crt0.S FORCE
cp
$(images)
/vmlinux.initrd.coff
$(TFTPIMAGE)
.pmac
$(END)
$(
call
if_changed_dep,as_o_S
)
cp
$(images)
/vmlinux.initrd.elf-pmac
$(TFTPIMAGE)
.pmac
$(END)
.elf
cp
$(images)
/zImage.initrd.chrp
$(TFTPIMAGE)
.chrp
$(END)
quiet_cmd_gencoffb
=
COFF
$@
cmd_gencoffb
=
$(LD)
-o
$@
$(COFF_LD_ARGS)
$(
filter-out
FORCE,
$^
)
&&
\
$(OBJCOPY)
$@
$@
-R
.comment
$
(
del-ramdisk-sec
)
targets
+=
coffboot
$(obj)/coffboot
:
$(COFFOBJS) $(obj)/image.o $(LIBS) FORCE
$(
call
if_changed,gencoffb
)
targets
+=
coffboot.initrd
$(obj)/coffboot.initrd
:
$(COFFOBJS) $(obj)/image.initrd.o $(LIBS) FORCE
$(
call
if_changed,gencoffb
)
quiet_cmd_gen-coff
=
COFF
$@
cmd_gen-coff
=
$(OBJCOPY)
$(OBJCOPY_ARGS)
$<
$@
&&
\
$(HACKCOFF)
$@
&&
\
ln
-sf
$(
notdir
$@
)
$(images)
/zImage
$(initrd)
.pmac
$(images)/vmlinux.coff
:
$(obj)/coffboot
$(
call
cmd,gen-coff
)
$(images)/vmlinux.initrd.coff
:
$(obj)/coffboot.initrd
$(
call
cmd,gen-coff
)
quiet_cmd_gen-elf-pmac
=
ELF
$@
cmd_gen-elf-pmac
=
$(LD)
$(NEWWORLD_LD_ARGS)
-o
$@
\
$(NEWWORLDOBJS)
$(LIBS)
$<
&&
\
$(OBJCOPY)
$@
$@
--add-section
=
.note
=
$(obj)
/note
\
-R
.comment
$
(
del-ramdisk-sec
)
$(images)/vmlinux.elf-pmac
:
$(obj)/image.o $(NEWWORLDOBJS) $(LIBS) $(obj)/note
$(
call
cmd,gen-elf-pmac
)
$(images)/vmlinux.initrd.elf-pmac
:
$(obj)/image.initrd.o $(NEWWORLDOBJS)
\
$(LIBS) $(obj)/note
$(
call
cmd,gen-elf-pmac
)
quiet_cmd_gen-chrp
=
CHRP
$@
cmd_gen-chrp
=
$(LD)
$(CHRP_LD_ARGS)
-o
$@
$^
&&
\
$(OBJCOPY)
$@
$@
-R
.comment
$
(
del-ramdisk-sec
)
$(images)/zImage.chrp
:
$(CHRPOBJS) $(obj)/image.o $(LIBS)
$(
call
cmd,gen-chrp
)
$(images)/zImage.initrd.chrp
:
$(CHRPOBJS) $(obj)/image.initrd.o $(LIBS)
$(
call
cmd,gen-chrp
)
quiet_cmd_addnote
=
ADDNOTE
$@
cmd_addnote
=
cat
$<
>
$@
&&
$(utils)
/addnote
$@
$(images)/zImage.chrp-rs6k $(images)/zImage.initrd.chrp-rs6k
:
\
%-rs6k: %
$(
call
cmd,addnote
)
quiet_cmd_gen-miboot
=
GEN
$@
cmd_gen-miboot
=
$(OBJCOPY)
$(OBJCOPY_ARGS)
\
--add-section
=
$1
=
$(
word
2,
$^
)
$<
$@
$(images)/miboot.image
:
$(obj)/dummy.o $(images)/vmlinux.gz
$(images)/miboot.image
:
$(obj)/dummy.o $(images)/vmlinux.gz
$(OBJCOPY)
$(OBJCOPY_ARGS)
--add-section
=
image
=
$(images)
/vmlinux.gz
\
$(
call
cmd,gen-miboot,image
)
$(obj)
/dummy.o
$@
$(images)/miboot.initrd.image
:
$(images)/miboot.image $(images)/ramdisk.image.gz
$(images)/miboot.initrd.image
:
$(images)/miboot.image $(images)/ramdisk.image.gz
$(OBJCOPY)
$(OBJCOPY_ARGS)
\
$(
call
cmd,gen-miboot,initrd
)
--add-section
=
initrd
=
$(images)
/ramdisk.image.gz
\
$(images)
/miboot.image
$@
# The targets used on the make command-line
$(obj)/coffcrt0.o
:
$(common)/crt0.S
.PHONY
:
zImage zImage.initrd
$(CC)
$(AFLAGS)
-DXCOFF
-traditional
-c
-o
$@
$(common)
/crt0.S
zImage
:
$(images)/vmlinux.coff
\
$(images)/vmlinux.elf-pmac
\
$(obj)/crt0.o
:
$(common)/crt0.S
$(images)/zImage.chrp
\
$(CC)
$(AFLAGS)
-traditional
-c
-o
$@
$(common)
/crt0.S
$(images)/zImage.chrp-rs6k
\
$(images)/miboot.image
$(obj)/coffboot
:
$(COFFOBJS) $(obj)/image.o $(LIBS)
@
echo
' kernel: $@ is ready ($<)'
$(LD)
-o
$@
$(COFF_LD_ARGS)
$^
zImage.initrd
:
$(images)/vmlinux.initrd.coff
\
$(OBJCOPY)
$@
$@
-R
.comment
-R
.ramdisk
$(images)/vmlinux.initrd.elf-pmac
\
$(images)/zImage.initrd.chrp
\
$(obj)/coffboot.initrd
:
$(COFFOBJS) $(obj)/image-initrd.o $(LIBS)
$(images)/zImage.initrd.chrp-rs6k
\
$(LD)
-o
$@
$(COFF_LD_ARGS)
$^
$(images)/miboot.initrd.image
$(OBJCOPY)
$@
$@
-R
.comment
@
echo
' kernel: $@ is ready ($<)'
$(images)/vmlinux.coff
:
$(obj)/coffboot $(HACKCOFF)
TFTPIMAGE
:=
/tftpboot/zImage.
$(OBJCOPY)
$(OBJCOPY_ARGS)
$(obj)
/coffboot
$@
$(HACKCOFF)
$@
.PHONY
:
znetboot znetboot.initrd
ln
-sf
vmlinux.coff
$(images)
/zImage.pmac
znetboot
:
$(images)/vmlinux.coff
\
$(images)/vmlinux.elf-pmac
\
$(images)/vmlinux.initrd.coff
:
$(obj)/coffboot.initrd $(HACKCOFF)
$(images)/zImage.chrp
$(OBJCOPY)
$(OBJCOPY_ARGS)
$(obj)
/coffboot.initrd
$@
cp
$(images)
/vmlinux.coff
$(TFTPIMAGE)
.pmac
$(END)
$(HACKCOFF)
$@
cp
$(images)
/vmlinux.elf-pmac
$(TFTPIMAGE)
.pmac
$(END)
.elf
ln
-sf
vmlinux.initrd.coff
$(images)
/zImage.initrd.pmac
cp
$(images)
/zImage.chrp
$(TFTPIMAGE)
.chrp
$(END)
@
echo
' kernel: $@ is ready ($<)'
$(images)/vmlinux.elf-pmac
:
$(NEWWORLDOBJS) $(LIBS) $(obj)/image.o $(obj)/note
znetboot.initrd
:
$(images)/vmlinux.initrd.coff
\
$(LD)
$(NEWWORLD_LD_ARGS)
-o
$@
$(NEWWORLDOBJS)
$(LIBS)
$(obj)
/image.o
$(images)/vmlinux.initrd.elf-pmac
\
$(OBJCOPY)
$@
$@
\
$(images)/zImage.initrd.chrp
--add-section
=
.note
=
$(obj)
/note
-R
.comment
-R
.ramdisk
cp
$(images)
/vmlinux.initrd.coff
$(TFTPIMAGE)
.pmac
$(END)
cp
$(images)
/vmlinux.initrd.elf-pmac
$(TFTPIMAGE)
.pmac
$(END)
.elf
$(images)/vmlinux.initrd.elf-pmac
:
$(NEWWORLDOBJS) $(LIBS)
\
cp
$(images)
/zImage.initrd.chrp
$(TFTPIMAGE)
.chrp
$(END)
$(obj)/image-initrd.o $(obj)/note
@
echo
' kernel: $@ is ready ($<)'
$(LD)
$(NEWWORLD_LD_ARGS)
-o
$@
$(NEWWORLDOBJS)
$(LIBS)
\
$(obj)
/image-initrd.o
$(OBJCOPY)
$@
$@
\
--add-section
=
.note
=
$(obj)
/note
-R
.comment
$(images)/zImage.chrp
:
$(CHRPOBJS) $(obj)/image.o $(LIBS)
$(LD)
$(CHRP_LD_ARGS)
-o
$@
$^
$(OBJCOPY)
$@
$@
-R
.comment
-R
.ramdisk
$(images)/zImage.initrd.chrp
:
$(CHRPOBJS) $(obj)/image-initrd.o $(LIBS)
$(LD)
$(CHRP_LD_ARGS)
-o
$@
$^
$(OBJCOPY)
$@
$@
-R
.comment
$(images)/zImage.chrp-rs6k
:
$(images)/zImage.chrp $(ADDNOTE)
cp
$(images)
/zImage.chrp
$@
$(ADDNOTE)
$@
$(images)/zImage.initrd.chrp-rs6k
:
$(images)/zImage.initrd.chrp $(ADDNOTE)
cp
$(images)
/zImage.initrd.chrp
$@
$(ADDNOTE)
$@
zImage
:
$(images)/vmlinux.coff $(images)/vmlinux.elf-pmac
\
$(images)/zImage.chrp $(images)/zImage.chrp-rs6k
\
$(images)/miboot.image
zImage.initrd
:
$(images)/vmlinux.initrd.coff $(images)/vmlinux.initrd.elf-pmac
\
$(images)/zImage.initrd.chrp $(images)/zImage.initrd.chrp-rs6k
\
$(images)/miboot.initrd.image
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
...
@@ -45,7 +45,7 @@ zImage.initrd: initrd := .initrd
zImage.initrd
:
$(images)/zImage.initrd.prep
zImage.initrd
:
$(images)/zImage.initrd.prep
@
echo
' kernel: $@ is ready ($<)'
@
echo
' kernel: $@ is ready ($<)'
mages)/ramdisk.image.gz
:
$(i
mages)/ramdisk.image.gz
:
@
echo
' MISSING $@'
@
echo
' MISSING $@'
@
echo
' RAM disk image must be provided separatly'
@
echo
' RAM disk image must be provided separatly'
@
/bin/false
@
/bin/false
...
@@ -68,20 +68,28 @@ $(obj)/image.initrd.o: $(obj)/dummy.o $(images)/vmlinux.gz $(images)/ramdisk.ima
...
@@ -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.bin
:=
-Ttext
0x00800000
-Bstatic
-T
LDFLAGS_zImage.initrd.bin
:=
-Ttext
0x00800000
-Bstatic
-T
LDFLAGS_zImage.initrd.bin
:=
-Ttext
0x00800000
-Bstatic
-T
targets
+=
zImage.bin zImage.initrd.bin
targets
+=
zImage.bin
$(obj)/zImage$(initrd).bin
:
$(boot)/ld.script $(OBJS) $(obj)/image.o $(LIBS)
$(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
)
$(
call
if_changed,ld
)
OBJCOPYFLAGS_zImage
:=
-R
.comment
-R
.stab
-R
.stabstr
OBJCOPYFLAGS_zImage
:=
-R
.comment
-R
.stab
-R
.stabstr
OBJCOPYFLAGS_zImage.initrd
:=
-R
.comment
-R
.stab
-R
.stabstr
OBJCOPYFLAGS_zImage.initrd
:=
-R
.comment
-R
.stab
-R
.stabstr
targets
+=
zImage zImage.initrd
targets
+=
zImage
$(obj)/zImage$(initrd)
:
%: %.bin FORCE
$(obj)/zImage
:
%: %.bin FORCE
$(
call
if_changed,objcopy
)
targets
+=
zImage.initrd
$(obj)/zImage.initrd
:
%: %.bin FORCE
$(
call
if_changed,objcopy
)
$(
call
if_changed,objcopy
)
quiet_cmd_mkprep
=
MKPREP
$@
quiet_cmd_mkprep
=
MKPREP
$@
cmd_mkprep
=
$(utils)
/mkprep
-pbp
$<
$@
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
)
$(
call
cmd,mkprep
)
#
#
...
@@ -90,5 +98,11 @@ $(images)/zImage$(initrd).prep: $(obj)/zImage$(initrd) $(utils)/mkprep FORCE
...
@@ -90,5 +98,11 @@ $(images)/zImage$(initrd).prep: $(obj)/zImage$(initrd) $(utils)/mkprep FORCE
floppy
:
zImage
floppy
:
zImage
dd
if
=
$(images)
/zImage.prep
of
=
/dev/fd0H1440
bs
=
64b
dd
if
=
$(images)
/zImage.prep
of
=
/dev/fd0H1440
bs
=
64b
znetboot.initrd
:
zImage$(initrd)
znetboot
:
zImage
cp
$(images)
/zImage
$(initrd)
.prep
$(TFTPIMAGE)
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
...
@@ -160,8 +160,7 @@ MKBUGBOOT := $(utils)/mkbugboot
MKPREP
:=
$(utils)
/mkprep
MKPREP
:=
$(utils)
/mkprep
MKTREE
:=
$(utils)
/mktree
MKTREE
:=
$(utils)
/mktree
$(obj)/dummy.o
:
$(common)/dummy.c
targets
:=
dummy.o
$(CC)
-c
-o
$@
$(common)
/dummy.c
$(obj)/zvmlinux
:
$(OBJS) $(LIBS) $(boot)/ld.script $(images)/vmlinux.gz
\
$(obj)/zvmlinux
:
$(OBJS) $(LIBS) $(boot)/ld.script $(images)/vmlinux.gz
\
$(obj)/dummy.o
$(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