* configure.ac: Define some useful variables.
This commit is contained in:
parent
e55e8495e1
commit
d87aedff34
2 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-09-08 Yves Blusseau <blusseau@zetam.org>
|
||||||
|
|
||||||
|
* configure.ac: Define some useful variables.
|
||||||
|
|
||||||
2010-09-08 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-09-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
|
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
|
||||||
|
|
13
configure.ac
13
configure.ac
|
@ -176,6 +176,19 @@ AC_SUBST(host_kernel)
|
||||||
AC_SUBST(target_cpu)
|
AC_SUBST(target_cpu)
|
||||||
AC_SUBST(platform)
|
AC_SUBST(platform)
|
||||||
|
|
||||||
|
# Define default variables
|
||||||
|
case "$host_os" in
|
||||||
|
netbsd* | openbsd*)
|
||||||
|
# Because /boot is used for the boot block in NetBSD and OpenBSD,
|
||||||
|
bootdirname='' ;;
|
||||||
|
*) bootdirname='boot' ;;
|
||||||
|
esac
|
||||||
|
bootdirname=`echo "$bootdirname" | sed "$program_transform_name"`
|
||||||
|
AC_SUBST(bootdirname)
|
||||||
|
|
||||||
|
grubdirname=`echo "$PACKAGE" | sed "$program_transform_name"`
|
||||||
|
AC_SUBST(grubdirname)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Checks for build programs.
|
# Checks for build programs.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue