z_config.mk 461 B

1234567891011121314151617
  1. srctree = $(ZEPHYR_BASE)
  2. include $(Z_DOTCONFIG)
  3. override ARCH = $(subst $(DQUOTE),,$(CONFIG_ARCH))
  4. SOC_NAME = $(subst $(DQUOTE),,$(CONFIG_SOC))
  5. SOC_SERIES = $(subst $(DQUOTE),,$(CONFIG_SOC_SERIES))
  6. SOC_FAMILY = $(subst $(DQUOTE),,$(CONFIG_SOC_FAMILY))
  7. ifeq ($(SOC_SERIES),)
  8. SOC_PATH = $(SOC_NAME)
  9. else
  10. SOC_PATH = $(SOC_FAMILY)/$(SOC_SERIES)
  11. endif
  12. KBUILD_CFLAGS := -c
  13. include $(ZEPHYR_BASE)/scripts/Kbuild.include
  14. include $(ZEPHYR_BASE)/arch/$(ARCH)/Makefile