Building via Make Detailed
Copy user@host:~$ ls
bbcache flash.log Makefile meta-arduino meta-intel-edison out pub
Copy user@host:~$ cd out/current
user@host:~$ ls
build poky
Copy user@host:~$ source poky/oe-init-build-env
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
adt-installer
meta-ide-support
You can also run generated qemu images with a command like 'runqemu qemux86'
Copy user@host:~$ wget https://raw.githubusercontent.com/ikcaro/TheIoTLearningInitiative/master/EmbeddedLinux/paho-mqtt_3.1.bb
user@host:~$ mv paho-mqtt_3.1.bb file/to/paho-mqtt_3.1.bb
Copy user@host:~$ bitbake virtual/kernel -c menuconfig
user@host:~$ bitbake virtual/kernel -c configure -f -v
user@host:~$ bitbake edison-image
Copy user@host:~$ pwd
/home/xe1gyq/.../edison-src
user@host:~$ cd out/current
user@host:~$ source poky/oe-init-build-env
user@host:~$ bitbake virtual/kernel -c menuconfig
...
edison-src/out/linux64/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/linux-edison-standard-build/Makefile
...
user@host:~$ cp tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/linux-edison-standard-build/.config tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/defconfig
user@host:~$ cp tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/linux-edison-standard-build/.config tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/linux/arch/x86/configs/i386_edison_defconfig
user@host:~$ bitbake virtual/kernel -c configure -f -v
user@host:~$ cd ../../..
Copy user@host:~$ wget http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-middleware/plain/recipes-connectivity/paho-mqtt/paho-mqtt_3.1.bb
user@host:~$ mv paho-mqtt_3.1.bb file/to/paho-mqtt_3.1.bb
Copy user@host:~$ make image
user@host:~$ make flash
edison-src/out/linux64/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/linux-edison-standard-build/Makefile
Copy user@host:~$ pwd
/home/xe1gyq/.../edison-src
user@host:~$ cd out/current
user@host:~$ source poky/oe-init-build-env
user@host:~$ bitbake virtual/kernel -c menuconfig
...
edison-src/out/linux64/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/linux-edison-standard-build/Makefile
...
user@host:~$ cp tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/linux-edison-standard-build/.config tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/defconfig
user@host:~$ cp tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/linux-edison-standard-build/.config tmp/work/edison-poky-linux/linux-yocto/3.10.17-r0/linux/arch/x86/configs/i386_edison_defconfig
user@host:~$ bitbake virtual/kernel -c configure -f -v
user@host:~$ bitbake edison-image