4 MY_PKG_CONFIG_PATH
=/usr
/lib
/${TARGET}/pkgconfig
6 echo "### Building core... ### "
10 autoreconf
--install && PKG_CONFIG_PATH
=${MY_PKG_CONFIG_PATH} CFLAGS
=-Wl,--rpath=. .
/configure
--host=${TARGET} && make
15 rm -rf aclocal.
m4 autom4te.cache
/ compile config.guess config.log config.status config.sub configure depcomp install-sh libtool ltmain.sh m
4/ Makefile.
in missing Makefile
16 find .
-name *.
in -exec rm {} \
;
23 echo "*** ERROR building core! ***"
28 echo "### Building modules... ### "
32 autoreconf
--install && PKG_CONFIG_PATH
=${MY_PKG_CONFIG_PATH} CFLAGS
=-Wl,--rpath=. .
/configure
--host=${TARGET} && make
37 rm -rf aclocal.
m4 autom4te.cache
/ compile config.guess config.log config.status config.sub configure depcomp install-sh libtool ltmain.sh m
4/ Makefile.
in missing Makefile
38 find .
-name *.
in -exec rm {} \
;
45 echo "*** ERROR building modules! ***"
50 echo "### Building tools... ### "
54 autoreconf
--install && PKG_CONFIG_PATH
=${MY_PKG_CONFIG_PATH} CFLAGS
=-Wl,--rpath=. .
/configure
--host=${TARGET} && make
59 rm -rf aclocal.
m4 autom4te.cache
/ compile config.guess config.log config.status config.sub configure depcomp install-sh libtool ltmain.sh m
4/ Makefile.
in missing Makefile
60 find .
-name *.
in -exec rm {} \
;
67 echo "*** ERROR building tools! ***"
72 echo "#### Deploying..."
73 mkdir
-p bin
/${TARGET} 2>/dev
/null
74 cp core
/bgdi
/src
/.libs
/bgdi bin
/${TARGET}
75 cp core
/bgdc
/src
/bgdc bin
/${TARGET}
76 cp core
/bgdrtm
/src
/.libs
/libbgdrtm.so bin
/${TARGET}
77 find modules
-name '*.so' -exec cp {} bin
/${TARGET} \
;
78 cp tools
/moddesc
/moddesc bin
/${TARGET}
80 echo "#### Striping..."
81 strip bin
/${TARGET}/bgdi
82 strip bin
/${TARGET}/bgdc
83 strip bin
/${TARGET}/libbgdrtm.so
84 strip bin
/${TARGET}/moddesc
85 find bin
/${TARGET} -name '*.so' -exec strip
{} \
;