Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ┌───┐
- │ $ │ ziga > tekpi-eu > 002--helloworld
- └─┬─┘
- └─> cat oe-logs/log.do_compile
- DEBUG: Executing python function externalsrc_compile_prefunc
- NOTE: helloworld: compiling from external source tree /home/ziga/yocto/001--sources/002--helloworld
- DEBUG: Python function externalsrc_compile_prefunc finished
- DEBUG: Executing shell function do_compile
- NOTE: nothing to compile
- DEBUG: Shell function do_compile finished
- ┌───┐
- │ $ │ ziga > tekpi-eu > 002--helloworld
- └─┬─┘
- └─> ls
- main.c makefile oe-logs oe-workdir
- ┌───┐
- │ $ │ ziga > tekpi-eu > 002--helloworld
- └─┬─┘
- └─> cat main.c
- #include <stdio.h>
- int main(void){
- printf("Hello world!\n");
- return 0;
- }
- ┌───┐
- │ $ │ ziga > tekpi-eu > 002--helloworld
- └─┬─┘
- └─> cat makefile
- CC = gcc
- #CFLAGS =
- #LDFLAGS =
- all: main
- #${CC} ${CFLAGS} ${LDFLAGS} -o main main.c
- ${CC} ${CFLAGS} ${LDFLAGS} -o main main.c
- .PHONY: clean
- clean:
- @rm -rf main
- ┌───┐
- │ $ │ ziga > tekpi-eu > 002--helloworld
- └─┬─┘
- └─> cat oe-logs/log.do_compile
- DEBUG: Executing python function externalsrc_compile_prefunc
- NOTE: helloworld: compiling from external source tree /home/ziga/yocto/001--sources/002--helloworld
- DEBUG: Python function externalsrc_compile_prefunc finished
- DEBUG: Executing shell function do_compile
- NOTE: nothing to compile
- DEBUG: Shell function do_compile finished
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement