Source grub-mkconfig_lib from the build directory at build time.
This commit is contained in:
parent
ebcecdf1c3
commit
c8d9ead677
11 changed files with 54 additions and 13 deletions
|
@ -32,12 +32,15 @@ platform=@platform@
|
|||
pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`
|
||||
datarootdir="@datarootdir@"
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
fi
|
||||
|
||||
self=`basename $0`
|
||||
|
||||
grub_mkimage="${bindir}/`echo grub-mkimage | sed ${transform}`"
|
||||
|
||||
. "${datadir}/@PACKAGE@/grub-mkconfig_lib"
|
||||
. "${pkgdatadir}/grub-mkconfig_lib"
|
||||
|
||||
# Usage: usage
|
||||
# Print the usage.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue