summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f82d76)
raw | patch | inline | side by side (parent: 7f82d76)
author | Eyal Reizer <eyalr@ti.com> | |
Thu, 1 Nov 2012 12:23:00 +0000 (14:23 +0200) | ||
committer | Eyal Reizer <eyalr@ti.com> | |
Thu, 1 Nov 2012 12:23:00 +0000 (14:23 +0200) |
Signed-off-by: Eyal Reizer <eyalr@ti.com>
wl18xx_build_nfc.sh | patch | blob | history |
diff --git a/wl18xx_build_nfc.sh b/wl18xx_build_nfc.sh
index ef09bc3b657c6ffa3a09bb12124bcd2125f92aae..24431d8c70bc0bd47e9b7a20a8fe32007a893e9f 100755 (executable)
--- a/wl18xx_build_nfc.sh
+++ b/wl18xx_build_nfc.sh
function neard()
{
+ if [ $# -eq 1 ]; then
+ START_MODULE="neard"
+ fi
# dependency section, in here we build the dependencies. We do not want to rebuild them each time
nfc-modules
dbus
function neardal()
{
+ if [ $# -eq 1 ]; then
+ START_MODULE="neardal"
+ fi
# dependency section, in here we build the dependencies. We do not want to rebuild them each time
neard
dbus-glib
fi
./autogen.sh
./configure --host=arm-linux --prefix=${MY_PREFIX} --sysconfdir=${MY_SYSCONFDIR} --localstatedir=${MY_LOCALSTATEDIR} --libdir=${ROOTFS}${MY_PREFIX}/lib || exit 1
- make || exit 1
-# sudo ldconfig || exit 1
+ make LIBS="-ldbus-glib"|| exit 1
make install prefix=${ROOTFS} || exit 1
add_fingerprint 1
fi
function nfc-demo-app()
{
+ if [ $# -eq 1 ]; then
+ START_MODULE="nfc-demo-app.tar.gz"
+ fi
+ # dependency section, in here we build the dependencies. We do not want to rebuild them each time
+ neardal
+
cd ${WORK_SPACE} || exit 1
COMPONENT_NAME="nfc-demo-app.tar.gz"
COMPONENT_DIR="nfc-demo-app"