$ ll ~/work/yocto/sources/meta-gobinet/recipes-gobinet/gobinet/gobinet/ total 44K drwxr-xr-x 2 ivr ivr 4.0K Aug 18 15:28 . drwxr-xr-x 3 ivr ivr 4.0K Aug 18 15:31 .. -rw-r--r-- 1 ivr ivr 30K Aug 18 15:31 gobinet.tar.xz
content of gobinet.tar.xz is:
tar -xf gobinet.tar.xz ivr@home-machine:~/work/yocto/sources/meta-gobinet/recipes-gobinet/gobinet/gobinet $ ll gobinet total 244K drwxr-xr-x 2 ivr ivr 4.0K Aug 17 21:32 . drwxr-xr-x 3 ivr ivr 4.0K Aug 18 15:39 .. -rw-r--r-- 1 ivr ivr 3.1K Aug 17 21:32 GobiNetworkManager.h -rw-r--r-- 1 ivr ivr 36K Aug 17 21:32 GobiUSBNet.c -rw-r--r-- 1 ivr ivr 131 Aug 17 21:32 Kconfig -rw-r--r-- 1 ivr ivr 324 Aug 17 21:32 kernel-deploy-guide -rw-r--r-- 1 ivr ivr 326 Aug 17 21:32 Makefile -rwxr-xr-x 1 ivr ivr 127 Aug 17 21:32 Makefile.kernel -rw-r--r-- 1 ivr ivr 36K Aug 17 21:32 QMI.c -rw-r--r-- 1 ivr ivr 97K Aug 17 21:32 QMIDevice.c -rw-r--r-- 1 ivr ivr 9.8K Aug 17 21:32 QMIDevice.h -rw-r--r-- 1 ivr ivr 8.7K Aug 17 21:32 QMI.h -rw-r--r-- 1 ivr ivr 2.9K Aug 17 21:32 Readme.txt -rw-r--r-- 1 ivr ivr 13K Aug 17 21:32 Structs.h
but i have error:
ERROR: gobinet-1-r0 do_compile: oe_runmake failed ERROR: gobinet-1-r0 do_compile: Execution of '/home/ivr/work/yocto/build/tmp/work/phyboard_segin_imx6ul_6-phytec-linux-gnueabi/gobinet/1-r0/temp/run.do_compile.1734076' failed with exit code 1: make: *** No targets specified and no makefile found. Stop. WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/ivr/work/yocto/build/tmp/work/phyboard_segin_imx6ul_6-phytec-linux-gnueabi/gobinet/1-r0/temp/log.do_compile.1734076
that there is no Makefile but Makefile is present. tell me what is the problem? Please
Because do_compile runs from ${S} which by default is set to ${WORKDIR}/${PN}-${PV} (might be BPN instead of PN but does not matter). Basically it expects to be run from ${WORKDIR}/gobinet-1/.
However the content of the tar.xz is extracted directly within ${WORKDIR}. So it's looking for a Makefile in ${WORKDIR}/gobinet-1/ but it's in ${WORKDIR}.
Two possible ways to do it: 1. Set S to ${WORKDIR} 2. Put all your files in a directory named gobinet-1 and make a tarball of that directory.