I want adding my application to openmoko-Image.
JinKyoungKwon
rcnzzang at websync.co.kr
Thu Feb 14 09:58:58 CET 2008
Hi :-)
Thanks Michael !
Last month, you helped me too.
Thanks very much :-) ..
I am chicken engineer on linux & openembeded.
So, it was very very very hard..
Yesterday and today, my work was always fail.
So, I added my source in "helloworld"-application.
( a way is here ->
http://wiki.openmoko.org/wiki/Application_Development_Crash_Course#Your_Firs
t_Application )
My source is very simple.
I need one more directory and file.
If it is success then I will add many directory and files..
My scenario is .
main() -> testFunc() /* testFunc() in "test/test.c" */
main function call testFunc() in other directory.
How can I modify bb file?
# original bb file #
DESCRIPTION = "A killer hello world application"
AUTHOR = "JIN"
HOMEPAGE = ""
SECTION = "console/applications"
PRIORITY = "optional"
LICENSE = "MIT"
#DEPENDS = ""
#RDEPENDS = ""
#RRECOMMENDS = ""
#RCONFLICTS = ""
#SRCDATE = "20070729"
#PV = "0.1"
#PR = "r0"
SRC_URI = "file://myhelloworld.c \
file://README.txt"
S = "${WORKDIR}/myhelloworld/"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/myhelloworld.c -o myhelloworld
}
do_install() {
install -m 0755 -d ${D}${bindir} ${D}${docdir}/myhelloworld
install -m 0755 ${S}/myhelloworld ${D}${bindir}
install -m 0644 ${WORKDIR}/README.txt ${D}${docdir}/myhelloworld
}
Thanks and best regards :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20080214/84d082d2/attachment.htm
More information about the openmoko-devel
mailing list