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
79c28bff
Commit
79c28bff
authored
Sep 03, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: make install fixes from Dave Hansen
parent
39b0a5c8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
3 deletions
+46
-3
arch/ppc64/Makefile
arch/ppc64/Makefile
+3
-1
arch/ppc64/boot/Makefile
arch/ppc64/boot/Makefile
+2
-2
arch/ppc64/boot/install.sh
arch/ppc64/boot/install.sh
+41
-0
No files found.
arch/ppc64/Makefile
View file @
79c28bff
...
...
@@ -39,8 +39,10 @@ $(boottarget-y): vmlinux
rm
-f
.config
arch
/ppc64/defconfig
cp
-f
arch
/ppc64/configs/
$
(
@:config
=
defconfig
)
arch
/ppc64/defconfig
bootimage-$(CONFIG_PPC_PSERIES)
:=
zImage
bootimage-$(CONFIG_PPC_ISERIES)
:=
vmlinux.sm
BOOTIMAGE
:=
$
(
bootimage-y
)
install
:
vmlinux
echo
doing ppc64 make
install
$(Q)$(MAKE)
$(build)
=
$(boot)
BOOTIMAGE
=
$(BOOTIMAGE)
$@
archclean
:
...
...
arch/ppc64/boot/Makefile
View file @
79c28bff
...
...
@@ -122,7 +122,7 @@ $(obj)/imagesize.c: vmlinux
awk
'{printf "unsigned long vmlinux_memsize = 0x%s;\n", substr($$1,8)}'
\
>>
$(obj)
/imagesize.c
install
:
$(CONFIGURE) $(BOOTIMAGE)
sh
-x
$(src)
/install.sh
"
$(KERNELRELEASE)
"
"
$(obj)
/
zImage
"
"
$(TOPDIR)
/System.map"
"
$(INSTALL_PATH)
"
install
:
$(CONFIGURE) $(
obj)/$(
BOOTIMAGE)
sh
-x
$(src)
/install.sh
"
$(KERNELRELEASE)
"
"
$(obj)
/
$(BOOTIMAGE)
"
"
$(TOPDIR)
/System.map"
"
$(INSTALL_PATH)
"
clean-files
:=
$(
patsubst
$(obj)
/%,%,
$
(
obj-boot
))
arch/ppc64/boot/install.sh
0 → 100644
View file @
79c28bff
#!/bin/sh
#
# arch/ppc64/boot/install.sh
#
# This file is subject to the terms and conditions of the GNU General Public
# License. See the file "COPYING" in the main directory of this archive
# for more details.
#
# Copyright (C) 1995 by Linus Torvalds
#
# Blatantly stolen from in arch/i386/boot/install.sh by Dave Hansen
#
# "make install" script for ppc64 architecture
#
# Arguments:
# $1 - kernel version
# $2 - kernel image file
# $3 - kernel map file
# $4 - default install path (blank if root directory)
#
# User may have a custom install script
if
[
-x
~/bin/installkernel
]
;
then
exec
~/bin/installkernel
"
$@
"
;
fi
if
[
-x
/sbin/installkernel
]
;
then
exec
/sbin/installkernel
"
$@
"
;
fi
# Default install
# this should work for both the pSeries zImage and the iSeries vmlinux.sm
image_name
=
`
basename
$2
`
if
[
-f
$4
/
$image_name
]
;
then
mv
$4
/
$image_name
$4
/
$image_name
.old
fi
if
[
-f
$4
/System.map
]
;
then
mv
$4
/System.map
$4
/System.old
fi
cat
$2
>
$4
/
$image_name
cp
$3
$4
/System.map
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