Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
8ded4ac0
Commit
8ded4ac0
authored
Jan 03, 2006
by
Sam Ravnborg
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master'
parents
febf7ea4
6073aa64
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
19 deletions
+14
-19
scripts/package/Makefile
scripts/package/Makefile
+1
-1
scripts/package/buildtar
scripts/package/buildtar
+13
-18
No files found.
scripts/package/Makefile
View file @
8ded4ac0
...
@@ -84,7 +84,7 @@ clean-dirs += $(objtree)/debian/
...
@@ -84,7 +84,7 @@ clean-dirs += $(objtree)/debian/
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
.PHONY
:
tar%pkg
.PHONY
:
tar%pkg
tar%pkg
:
tar%pkg
:
$(MAKE)
$(MAKE)
KBUILD_SRC
=
$(CONFIG_SHELL)
$(srctree)
/scripts/package/buildtar
$@
$(CONFIG_SHELL)
$(srctree)
/scripts/package/buildtar
$@
clean-dirs
+=
$(objtree)
/tar-install/
clean-dirs
+=
$(objtree)
/tar-install/
...
...
scripts/package/buildtar
View file @
8ded4ac0
#!/bin/sh
#!/bin/sh
#
#
# buildtar 0.0.
3
# buildtar 0.0.
4
#
#
# (C) 2004-200
5
by Jan-Benedict Glaw <jbglaw@lug-owl.de>
# (C) 2004-200
6
by Jan-Benedict Glaw <jbglaw@lug-owl.de>
#
#
# This script is used to compile a tarball from the currently
# This script is used to compile a tarball from the currently
# prepared kernel. Based upon the builddeb script from
# prepared kernel. Based upon the builddeb script from
...
@@ -15,9 +15,8 @@ set -e
...
@@ -15,9 +15,8 @@ set -e
#
#
# Some variables and settings used throughout the script
# Some variables and settings used throughout the script
#
#
version
=
"
${
VERSION
}
.
${
PATCHLEVEL
}
.
${
SUBLEVEL
}${
EXTRAVERSION
}${
EXTRANAME
}
"
tmpdir
=
"
${
objtree
}
/tar-install"
tmpdir
=
"
${
objtree
}
/tar-install"
tarball
=
"
${
objtree
}
/linux-
${
version
}
.tar"
tarball
=
"
${
objtree
}
/linux-
${
KERNELRELEASE
}
.tar"
#
#
...
@@ -53,21 +52,17 @@ mkdir -p -- "${tmpdir}/boot"
...
@@ -53,21 +52,17 @@ mkdir -p -- "${tmpdir}/boot"
#
#
# Try to install modules
# Try to install modules
#
#
if
!
make
INSTALL_MOD_PATH
=
"
${
tmpdir
}
"
modules_install
;
then
if
grep
-q
'^CONFIG_MODULES=y'
"
${
objtree
}
/.config"
;
then
echo
""
>
&2
make
ARCH
=
"
${
ARCH
}
"
O
=
"
${
objtree
}
"
KBUILD_SRC
=
INSTALL_MOD_PATH
=
"
${
tmpdir
}
"
modules_install
echo
"Ignoring error at module_install time, since that could be"
>
&2
echo
"a result of missing local modutils/module-init-tools,"
>
&2
echo
"or you just didn't compile in module support at all..."
>
&2
echo
""
>
&2
fi
fi
#
#
# Install basic kernel files
# Install basic kernel files
#
#
cp
-v
--
System.map
"
${
tmpdir
}
/boot/System.map-
${
version
}
"
cp
-v
--
"
${
objtree
}
/System.map"
"
${
tmpdir
}
/boot/System.map-
${
KERNELRELEASE
}
"
cp
-v
--
.config
"
${
tmpdir
}
/boot/config-
${
version
}
"
cp
-v
--
"
${
objtree
}
/.config"
"
${
tmpdir
}
/boot/config-
${
KERNELRELEASE
}
"
cp
-v
--
vmlinux
"
${
tmpdir
}
/boot/vmlinux-
${
version
}
"
cp
-v
--
"
${
objtree
}
/vmlinux"
"
${
tmpdir
}
/boot/vmlinux-
${
KERNELRELEASE
}
"
#
#
...
@@ -75,17 +70,17 @@ cp -v -- vmlinux "${tmpdir}/boot/vmlinux-${version}"
...
@@ -75,17 +70,17 @@ cp -v -- vmlinux "${tmpdir}/boot/vmlinux-${version}"
#
#
case
"
${
ARCH
}
"
in
case
"
${
ARCH
}
"
in
i386
)
i386
)
[
-f
arch
/i386/boot/bzImage
]
&&
cp
-v
--
arch
/i386/boot/bzImage
"
${
tmpdir
}
/boot/vmlinuz-
${
version
}
"
[
-f
"
${
objtree
}
/arch/i386/boot/bzImage"
]
&&
cp
-v
--
"
${
objtree
}
/arch/i386/boot/bzImage"
"
${
tmpdir
}
/boot/vmlinuz-
${
KERNELRELEASE
}
"
;;
;;
alpha
)
alpha
)
[
-f
arch
/alpha/boot/vmlinux.gz
]
&&
cp
-v
--
arch
/alpha/boot/vmlinux.gz
"
${
tmpdir
}
/boot/vmlinuz-
${
version
}
"
[
-f
"
${
objtree
}
/arch/alpha/boot/vmlinux.gz"
]
&&
cp
-v
--
"
${
objtree
}
/arch/alpha/boot/vmlinux.gz"
"
${
tmpdir
}
/boot/vmlinuz-
${
KERNELRELEASE
}
"
;;
;;
vax
)
vax
)
[
-f
vmlinux.SYS
]
&&
cp
-v
--
vmlinux.SYS
"
${
tmpdir
}
/boot/vmlinux-
${
version
}
.SYS"
[
-f
"
${
objtree
}
/vmlinux.SYS"
]
&&
cp
-v
--
"
${
objtree
}
/vmlinux.SYS"
"
${
tmpdir
}
/boot/vmlinux-
${
KERNELRELEASE
}
.SYS"
[
-f
vmlinux.dsk
]
&&
cp
-v
--
vmlinux.dsk
"
${
tmpdir
}
/boot/vmlinux-
${
version
}
.dsk"
[
-f
"
${
objtree
}
/vmlinux.dsk"
]
&&
cp
-v
--
"
${
objtree
}
/vmlinux.dsk"
"
${
tmpdir
}
/boot/vmlinux-
${
KERNELRELEASE
}
.dsk"
;;
;;
*
)
*
)
[
-f
"
${
KBUILD_IMAGE
}
"
]
&&
cp
-v
--
"
${
KBUILD_IMAGE
}
"
"
${
tmpdir
}
/boot/vmlinux-kbuild-
${
version
}
"
[
-f
"
${
KBUILD_IMAGE
}
"
]
&&
cp
-v
--
"
${
KBUILD_IMAGE
}
"
"
${
tmpdir
}
/boot/vmlinux-kbuild-
${
KERNELRELEASE
}
"
echo
""
>
&2
echo
""
>
&2
echo
'** ** ** WARNING ** ** **'
>
&2
echo
'** ** ** WARNING ** ** **'
>
&2
echo
""
>
&2
echo
""
>
&2
...
...
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