xf86-video-fglrx-legacy: adapt for new buildsystem changes: replace $ROOT/$PKG_DIR with $PKG_DIR

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-07-17 06:14:37 +02:00
parent 2cc9a89919
commit 13812f7538

View File

@ -51,7 +51,7 @@ cd $ROOT/$PKG_BUILD
ln -sf /storage/.config/fglrx-legacy.conf $INSTALL_DIR/etc/ati/amdpcsdb
# hack around a broken driver
cp $ROOT/$PKG_DIR/config/control $INSTALL_DIR/etc/ati
cp $PKG_DIR/config/control $INSTALL_DIR/etc/ati
(
cd $INSTALL_DIR/
@ -110,7 +110,7 @@ if [ "$XVBA" = yes ]; then
# install needed files for toolchain
mkdir -p $SYSROOT_PREFIX/usr/include/amd
cp $ROOT/$PKG_DIR/source/amdxvba.h $SYSROOT_PREFIX/usr/include/amd
cp $PKG_DIR/source/amdxvba.h $SYSROOT_PREFIX/usr/include/amd
mkdir -p $SYSROOT_PREFIX/usr/lib
cp arch/$FGLRX_ARCH/usr/X11R6/*/libXvBAW.so* $SYSROOT_PREFIX/usr/lib