forked from bluez/bluez
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap-configure-kobo
executable file
·38 lines (36 loc) · 1.08 KB
/
bootstrap-configure-kobo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
if [ -f config.status ]; then
make maintainer-clean
fi
./bootstrap-kobo && \
CFLAGS="-D__KOBO_LETS_PASS_PTS__ -DKEY_RIGHT_UP=0x266 -DKEY_RIGHT_DOWN=0x267 -DKEY_LEFT_UP=0x268 -DKEY_LEFT_DOWN=0x269 -I/chroot/include" \
LDFLAGS="-L/chroot/lib -lglib-2.0 -liconv -ldbus-1 -lreadline -lncurses" \
GLIB_CFLAGS="-I/chroot/include/glib-2.0" \
GLIB_LIBS="-lglib-2.0 -liconv" \
DBUS_CFLAGS="-I/chroot/include/dbus-1.0 -I/chroot/lib/dbus-1.0/include" \
DBUS_LIBS="-ldbus-1" \
./configure --prefix=/ \
--host=arm-linux \
--sysconfdir=/etc \
--with-sysroot=/chroot \
--with-dbusconfdir=/etc/dbus-1/ \
--with-dbussystembusdir=/usr/share/dbus-1/system-services/ \
--with-dbussessionbusdir=/usr/share/dbus-1/services/ \
--enable-library \
--localstatedir=/var \
--enable-tools \
--enable-deprecated \
--disable-nfc \
--disable-sap \
--disable-health \
--disable-sixaxis \
--enable-obex \
--disable-midi \
--disable-mesh \
--enable-logger \
--disable-udev \
--disable-systemd \
--disable-cups \
--enable-shared \
--disable-static \
--disable-datafiles $*