Advertisement
71GA

Untitled

Jan 31st, 2022
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. ┌───┐
  2. │ $ │ ziga > tekpi-eu > 002--helloworld
  3. └─┬─┘
  4. └─> cat oe-logs/log.do_compile
  5. DEBUG: Executing python function externalsrc_compile_prefunc
  6. NOTE: helloworld: compiling from external source tree /home/ziga/yocto/001--sources/002--helloworld
  7. DEBUG: Python function externalsrc_compile_prefunc finished
  8. DEBUG: Executing shell function do_compile
  9. NOTE: nothing to compile
  10. DEBUG: Shell function do_compile finished
  11.  
  12. ┌───┐
  13. │ $ │ ziga > tekpi-eu > 002--helloworld
  14. └─┬─┘
  15. └─> ls
  16. main.c makefile oe-logs oe-workdir
  17.  
  18. ┌───┐
  19. │ $ │ ziga > tekpi-eu > 002--helloworld
  20. └─┬─┘
  21. └─> cat main.c
  22. #include <stdio.h>
  23.  
  24. int main(void){
  25.  
  26. printf("Hello world!\n");
  27. return 0;
  28. }
  29.  
  30. ┌───┐
  31. │ $ │ ziga > tekpi-eu > 002--helloworld
  32. └─┬─┘
  33. └─> cat makefile
  34. CC = gcc
  35. #CFLAGS =
  36. #LDFLAGS =
  37.  
  38. all: main
  39. #${CC} ${CFLAGS} ${LDFLAGS} -o main main.c
  40. ${CC} ${CFLAGS} ${LDFLAGS} -o main main.c
  41.  
  42. .PHONY: clean
  43. clean:
  44. @rm -rf main
  45.  
  46. ┌───┐
  47. │ $ │ ziga > tekpi-eu > 002--helloworld
  48. └─┬─┘
  49. └─> cat oe-logs/log.do_compile
  50. DEBUG: Executing python function externalsrc_compile_prefunc
  51. NOTE: helloworld: compiling from external source tree /home/ziga/yocto/001--sources/002--helloworld
  52. DEBUG: Python function externalsrc_compile_prefunc finished
  53. DEBUG: Executing shell function do_compile
  54. NOTE: nothing to compile
  55. DEBUG: Shell function do_compile finished
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement