LVM2: use $PKG_BUILD

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-22 22:46:26 +01:00
parent 2ad0e04615
commit a1c70ed450
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
. config/options $1 . config/options $1
cd $BUILD/$1* cd $PKG_BUILD
ac_cv_func_malloc_0_nonnull=yes \ ac_cv_func_malloc_0_nonnull=yes \
./configure --host=$TARGET_NAME \ ./configure --host=$TARGET_NAME \
--build=$HOST_NAME \ --build=$HOST_NAME \

View File

@ -3,13 +3,13 @@
. config/options $1 . config/options $1
mkdir -p $INSTALL/etc/lvm mkdir -p $INSTALL/etc/lvm
cp $BUILD/$1*/doc/example.conf $INSTALL/etc/lvm/lvm.conf cp $PKG_BUILD/doc/example.conf $INSTALL/etc/lvm/lvm.conf
mkdir -p $INSTALL/usr/lib mkdir -p $INSTALL/usr/lib
cp -P $BUILD/$1*/libdm/ioctl/libdevmapper.so* $INSTALL/usr/lib cp -P $PKG_BUILD/libdm/ioctl/libdevmapper.so* $INSTALL/usr/lib
if [ "$DEVTOOLS" = yes ]; then if [ "$DEVTOOLS" = yes ]; then
mkdir -p $INSTALL/sbin mkdir -p $INSTALL/sbin
cp $BUILD/$1*/tools/lvm $INSTALL/sbin cp $PKG_BUILD/tools/lvm $INSTALL/sbin
fi fi