diff options
author | Eyal Reizer | 2012-11-01 07:23:00 -0500 |
---|---|---|
committer | Eyal Reizer | 2012-11-01 07:23:00 -0500 |
commit | 428c11fd5fcddda732445bc49cd56a360f145067 (patch) | |
tree | ef9f71e05a09e09c66bcdc114142fb7becfc119f | |
parent | 7f82d760fd1d4bf2b57e5fa2f5c48b1f97cb9b16 (diff) | |
download | build-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-x | wl18xx_build_nfc.sh | 15 |
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 | ||
90 | function neard() | 90 | function 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 | ||
126 | function neardal() | 129 | function 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 | ||
152 | function nfc-demo-app() | 157 | function 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" |