Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # This is a project Makefile. It is assumed the directory this Makefile resides in is a
  3. # project subdirectory.
  4. #
  5. PROJECT_NAME := pikascript_bl602
  6. PROJECT_PATH := $(abspath .)
  7. PROJECT_BOARD := evb
  8. export PROJECT_PATH PROJECT_BOARD
  9. #CONFIG_TOOLPREFIX :=
  10. -include ./proj_config.mk
  11. ifeq ($(origin BL60X_SDK_PATH), undefined)
  12. BL60X_SDK_PATH_GUESS ?= $(shell pwd)
  13. BL60X_SDK_PATH ?= $(BL60X_SDK_PATH_GUESS)/..
  14. endif
  15. COMPONENTS_BLSYS := bltime blfdt blmtd bloop loopadc looprt loopset
  16. COMPONENTS_VFS := romfs
  17. COMPONENTS_LVGL := lvgl lv_device lv_srcs draw extra extra_themes extra_layouts extra_libs extra_others extra_widgets
  18. INCLUDE_COMPONENTS += freertos_riscv_ram bl602 bl602_std newlibc hosal mbedtls_lts lwip vfs yloop utils cli blog blog_testc coredump
  19. INCLUDE_COMPONENTS += $(COMPONENTS_NETWORK)
  20. INCLUDE_COMPONENTS += $(COMPONENTS_BLSYS)
  21. INCLUDE_COMPONENTS += $(COMPONENTS_VFS)
  22. INCLUDE_COMPONENTS += $(COMPONENTS_LVGL)
  23. EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/boot
  24. EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/pikascript
  25. INCLUDE_COMPONENTS += boot
  26. INCLUDE_COMPONENTS += pikascript
  27. CPPFLAGS += -Wno-format
  28. include $(BL60X_SDK_PATH)/make_scripts_riscv/project.mk