aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEyal Reizer2012-11-01 07:23:00 -0500
committerEyal Reizer2012-11-01 07:23:00 -0500
commit428c11fd5fcddda732445bc49cd56a360f145067 (patch)
treeef9f71e05a09e09c66bcdc114142fb7becfc119f
parent7f82d760fd1d4bf2b57e5fa2f5c48b1f97cb9b16 (diff)
downloadbuild-utilities-428c11fd5fcddda732445bc49cd56a360f145067.tar.gz
build-utilities-428c11fd5fcddda732445bc49cd56a360f145067.tar.xz
build-utilities-428c11fd5fcddda732445bc49cd56a360f145067.zip
wl18xx_build_nfc: fix neardal depends on dbus-glib
Signed-off-by: Eyal Reizer <eyalr@ti.com>
-rwxr-xr-xwl18xx_build_nfc.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/wl18xx_build_nfc.sh b/wl18xx_build_nfc.sh
index ef09bc3..24431d8 100755
--- a/wl18xx_build_nfc.sh
+++ b/wl18xx_build_nfc.sh
@@ -89,6 +89,9 @@ function nfc-modules()
89 89
90function neard() 90function neard()
91{ 91{
92 if [ $# -eq 1 ]; then
93 START_MODULE="neard"
94 fi
92 # dependency section, in here we build the dependencies. We do not want to rebuild them each time 95 # dependency section, in here we build the dependencies. We do not want to rebuild them each time
93 nfc-modules 96 nfc-modules
94 dbus 97 dbus
@@ -125,6 +128,9 @@ function neard()
125 128
126function neardal() 129function neardal()
127{ 130{
131 if [ $# -eq 1 ]; then
132 START_MODULE="neardal"
133 fi
128 # dependency section, in here we build the dependencies. We do not want to rebuild them each time 134 # dependency section, in here we build the dependencies. We do not want to rebuild them each time
129 neard 135 neard
130 dbus-glib 136 dbus-glib
@@ -141,8 +147,7 @@ function neardal()
141 fi 147 fi
142 ./autogen.sh 148 ./autogen.sh
143 ./configure --host=arm-linux --prefix=${MY_PREFIX} --sysconfdir=${MY_SYSCONFDIR} --localstatedir=${MY_LOCALSTATEDIR} --libdir=${ROOTFS}${MY_PREFIX}/lib || exit 1 149 ./configure --host=arm-linux --prefix=${MY_PREFIX} --sysconfdir=${MY_SYSCONFDIR} --localstatedir=${MY_LOCALSTATEDIR} --libdir=${ROOTFS}${MY_PREFIX}/lib || exit 1
144 make || exit 1 150 make LIBS="-ldbus-glib"|| exit 1
145# sudo ldconfig || exit 1
146 make install prefix=${ROOTFS} || exit 1 151 make install prefix=${ROOTFS} || exit 1
147 add_fingerprint 1 152 add_fingerprint 1
148 fi 153 fi
@@ -151,6 +156,12 @@ function neardal()
151 156
152function nfc-demo-app() 157function nfc-demo-app()
153{ 158{
159 if [ $# -eq 1 ]; then
160 START_MODULE="nfc-demo-app.tar.gz"
161 fi
162 # dependency section, in here we build the dependencies. We do not want to rebuild them each time
163 neardal
164
154 cd ${WORK_SPACE} || exit 1 165 cd ${WORK_SPACE} || exit 1
155 COMPONENT_NAME="nfc-demo-app.tar.gz" 166 COMPONENT_NAME="nfc-demo-app.tar.gz"
156 COMPONENT_DIR="nfc-demo-app" 167 COMPONENT_DIR="nfc-demo-app"