Makefile.mk 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. MULTI_DEPEND_TARGET += sdk
  2. MULTI_TARGET_CLEAN += sdk_clean
  3. MULTI_DEPEND_TARGETD += sdkd
  4. MULTI_TARGET_CLEAND += sdkd_clean
  5. #sdk:BOOT_LIB VOS_LIB MIDDLEWARE_LIB DRIVER_LIB PM_LIB COMMON_LIB
  6. #sdk_clean:BOOT_LIB_CLEAN VOS_LIB_CLEAN MIDDLEWARE_LIB_CLEAN DRIVER_LIB_CLEAN PM_LIB_CLEAN COMMON_LIB_CLEAN
  7. #sdk:BOOT_LIB VOS_LIB MIDDLEWARE_LIB DRIVER_LIB COMMON_LIB
  8. #sdk_clean:BOOT_LIB_CLEAN VOS_LIB_CLEAN MIDDLEWARE_LIB_CLEAN COMMON_LIB_CLEAN
  9. sdk:$(CONFIG_SDK_LIB)
  10. sdk_clean:$(addsuffix _clean,$(CONFIG_SDK_LIB))
  11. sdkd:$(addsuffix _d,$(CONFIG_SDK_LIB))
  12. sdkd_clean:$(addsuffix _d_clean,$(CONFIG_SDK_LIB))
  13. libboot.a:
  14. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/Boot/Makefile.mk
  15. libvos.a:
  16. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/Vos/Makefile.mk
  17. libmiddleware.a:
  18. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/MiddleWare/Makefile.mk
  19. libdriver.a:
  20. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/Driver/Makefile.mk
  21. PM_LIB:
  22. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/PM/Makefile.mk
  23. libcommon.a:
  24. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/Common/Makefile.mk
  25. libboot.a_d:
  26. @$(MAKE) debug COMPILE_MODE=debug -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/Boot/Makefile.mk
  27. libvos.a_d:
  28. @$(MAKE) debug COMPILE_MODE=debug -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/Vos/Makefile.mk
  29. libmiddleware.a_d:
  30. @$(MAKE) debug COMPILE_MODE=debug -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/MiddleWare/Makefile.mk
  31. libdriver.a_d:
  32. @$(MAKE) debug COMPILE_MODE=debug -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/Driver/Makefile.mk
  33. PM_LIB_d:
  34. @$(MAKE) debug COMPILE_MODE=debug -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/PM/Makefile.mk
  35. libcommon.a_d:
  36. @$(MAKE) debug COMPILE_MODE=debug -C "$(BUILD_OUT_OBJ_DIR)" -f $(ROOT_DIR)/sdk/Common/Makefile.mk
  37. libboot.a_clean:
  38. @$(MAKE) clean -f $(ROOT_DIR)/sdk/Boot/Makefile.mk
  39. libvos.a_clean:
  40. @$(MAKE) clean -f $(ROOT_DIR)/sdk/Vos/Makefile.mk
  41. libmiddleware.a_clean:
  42. libdriver.a_clean:
  43. PM_LIB_CLEAN:
  44. libcommon.a_clean:
  45. libboot.a_d_clean:
  46. @$(MAKE) clean -f $(ROOT_DIR)/sdk/Boot/Makefile.mk
  47. libvos.a_d_clean:
  48. @$(MAKE) clean -f $(ROOT_DIR)/sdk/Vos/Makefile.mk
  49. libmiddleware.a_d_clean:
  50. libdriver.a_d_clean:
  51. PM_LIB_CLEAN_d:
  52. libcommon.a_d_clean: