Makefile 851 B

123456789101112131415161718192021222324
  1. #####################################################################
  2. #### Please don't change this file. Use Makefile-user.mk instead ####
  3. #####################################################################
  4. # Including user Makefile.
  5. # Should be used to set project-specific parameters
  6. include ./Makefile-user.mk
  7. # Important parameters check.
  8. # We need to make sure SMING_HOME and ESP_HOME variables are set.
  9. # You can use Makefile-user.mk in each project or use enviromental variables to set it globally.
  10. ifndef SMING_HOME
  11. $(error SMING_HOME is not set. Please configure it in Makefile-user.mk)
  12. endif
  13. ifndef ESP_HOME
  14. $(error ESP_HOME is not set. Please configure it in Makefile-user.mk)
  15. endif
  16. # Include main Sming Makefile
  17. ifeq ($(RBOOT_ENABLED), 1)
  18. include $(SMING_HOME)/Makefile-rboot.mk
  19. else
  20. include $(SMING_HOME)/Makefile-project.mk
  21. endif