Remove platform and target_cpu replacement.
* configure.ac: Remove platform and target_cpu substitutions. * tests/util/grub-shell.in: Use modinfo. * util/powerpc/ieee1275/grub-mkrescue.in: Specify powerpc-ieee1275 explicitly.
This commit is contained in:
parent
90cb2803d4
commit
53f13848f1
4 changed files with 12 additions and 11 deletions
|
@ -1,3 +1,12 @@
|
|||
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Remove platform and target_cpu replacement.
|
||||
|
||||
* configure.ac: Remove platform and target_cpu substitutions.
|
||||
* tests/util/grub-shell.in: Use modinfo.
|
||||
* util/powerpc/ieee1275/grub-mkrescue.in: Specify powerpc-ieee1275
|
||||
explicitly.
|
||||
|
||||
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Autodetect platform in grub-install but allow override.
|
||||
|
|
|
@ -186,9 +186,6 @@ AC_SUBST(host_cpu)
|
|||
AC_SUBST(host_os)
|
||||
AC_SUBST(host_kernel)
|
||||
|
||||
AC_SUBST(target_cpu)
|
||||
AC_SUBST(platform)
|
||||
|
||||
# Define default variables
|
||||
|
||||
have_with_bootdir=n
|
||||
|
|
|
@ -27,8 +27,6 @@ builddir="@builddir@"
|
|||
PACKAGE_NAME=@PACKAGE_NAME@
|
||||
PACKAGE_TARNAME=@PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||
target_cpu=@target_cpu@
|
||||
platform=@platform@
|
||||
|
||||
# Force build directory components
|
||||
PATH="${builddir}:$PATH"
|
||||
|
@ -176,7 +174,8 @@ if [ x$boot = xnet ]; then
|
|||
sh "@builddir@/grub-mknetdir" "--grub-mkimage=${builddir}/grub-mkimage" "--override-directory=${builddir}/grub-core" "--net-directory=$netdir"
|
||||
cp "${cfgfile}" "$netdir/boot/grub/grub.cfg"
|
||||
cp "${source}" "$netdir/boot/grub/testcase.cfg"
|
||||
"${qemu}" ${qemuopts} -nographic -serial file:/dev/stdout -monitor file:/dev/null -boot n -net "user,tftp=$netdir,bootfile=/boot/grub/$target_cpu-$platform/core.0" -net nic | cat | tr -d "\r"
|
||||
. "${builddir}/grub-core/modinfo.sh"
|
||||
"${qemu}" ${qemuopts} -nographic -serial file:/dev/stdout -monitor file:/dev/null -boot n -net "user,tftp=$netdir,bootfile=/boot/grub/${grub_modinfo_target_cpu}-${grub_modinfo_platform}/core.0" -net nic | cat | tr -d "\r"
|
||||
else
|
||||
"${qemu}" ${qemuopts} -nographic -serial file:/dev/stdout -monitor file:/dev/null -${device} ${isofile} ${bootdev} | cat | tr -d "\r"
|
||||
fi
|
||||
|
|
|
@ -27,9 +27,7 @@ libdir="@libdir@"
|
|||
PACKAGE_NAME=@PACKAGE_NAME@
|
||||
PACKAGE_TARNAME=@PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||
target_cpu=@target_cpu@
|
||||
platform=@platform@
|
||||
pkglibdir="${libdir}/@PACKAGE@/${target_cpu}-${platform}"
|
||||
input_dir="${libdir}/@PACKAGE@/powerpc-ieee1275"
|
||||
datarootdir="@datarootdir@"
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
|
@ -69,8 +67,6 @@ argument () {
|
|||
echo $1
|
||||
}
|
||||
|
||||
input_dir=${pkglibdir}
|
||||
|
||||
source=
|
||||
output_image=
|
||||
|
||||
|
|
Loading…
Reference in a new issue