Script to build xephyr
This commit is contained in:
14
host-build-xephyr/Xephyr-test.sh
Executable file
14
host-build-xephyr/Xephyr-test.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
make -j8 || exit 1
|
||||
|
||||
export SECURE_STORAGE_DIR=`pwd`
|
||||
|
||||
ln -sf /usr .
|
||||
mkdir -p tmp
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
hw/kdrive/ephyr/Xephyr :1 -audit 3 -listen inet -listen inet6 -nolisten unix -nopn -exec "x-window-manager & xlogo & xev & xclock -update 1"
|
||||
else
|
||||
gdb --args hw/kdrive/ephyr/Xephyr :1 -exec xlogo
|
||||
fi
|
||||
13
host-build-xephyr/configure-xephyr.sh
Executable file
13
host-build-xephyr/configure-xephyr.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
CFLAGS="-O0 -g -DDEBUG -Werror=format" \
|
||||
../configure --prefix=`pwd`/data/usr \
|
||||
--enable-debug \
|
||||
--disable-xorg --disable-dmx --disable-xvfb --disable-xnest --disable-xquartz --disable-xwin \
|
||||
--enable-xephyr --disable-xfake --disable-xfbdev --disable-unit-tests \
|
||||
--disable-shm --disable-mitshm --disable-dri --disable-dri2 --disable-glx --disable-xf86vidmode \
|
||||
--disable-xsdl --enable-kdrive --enable-kdrive-kbd --enable-kdrive-mouse --enable-kdrive-evdev \
|
||||
--disable-libdrm \
|
||||
|| exit 1
|
||||
|
||||
nice -n19 make -j8
|
||||
Reference in New Issue
Block a user