xorg-server: add support to install project based xorg.conf

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-13 12:38:04 +02:00
parent b07c861da1
commit 32c57462ea

View File

@ -64,6 +64,13 @@ mkdir -p $INSTALL/usr/lib/xorg
mkdir -p $INSTALL/usr/share/X11/xorg.conf.d
cp $PKG_BUILD/config/10-evdev.conf $INSTALL/usr/share/X11/xorg.conf.d
mkdir -p $INSTALL/etc/X11
if [ -f $PROJECT_DIR/$PROJECT/xorg/xorg.conf ]; then
cp $PROJECT_DIR/$PROJECT/xorg/xorg.conf $INSTALL/etc/X11
elif [ -f $PKG_DIR/config/xorg.conf ]; then
cp $PKG_DIR/config/xorg.conf $INSTALL/etc/X11
fi
if [ "$DEVTOOLS" = yes ]; then
cp $XORG_SRC/utils/cvt/cvt $INSTALL/usr/bin
cp $XORG_SRC/utils/gtf/gtf $INSTALL/usr/bin