You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
3.2 KiB

#*********************************************************************************************************
#
# �й�������Դ��֯
#
# Ƕ��ʽʵʱ����ϵͳ
#
# SylixOS(TM) LW : long wing
#
# Copyright All Rights Reserved
#
#--------------�ļ���Ϣ--------------------------------------------------------------------------------
#
# �� �� ��: Makefile
#
# �� �� ��: RealEvo-IDE
#
# �ļ���������: 2017 �� 08 �� 12 ��
#
# �� ��: ���ļ��� RealEvo-IDE ���ɣ��������� Makefile ���ܣ������ֶ��޸�
#*********************************************************************************************************
#*********************************************************************************************************
# Include config.mk
#*********************************************************************************************************
CONFIG_MK_EXIST = $(shell if [ -f ../config.mk ]; then echo exist; else echo notexist; fi;)
ifeq ($(CONFIG_MK_EXIST), exist)
include ../config.mk
else
CONFIG_MK_EXIST = $(shell if [ -f config.mk ]; then echo exist; else echo notexist; fi;)
ifeq ($(CONFIG_MK_EXIST), exist)
include config.mk
else
CONFIG_MK_EXIST =
endif
endif
#*********************************************************************************************************
# Include sylixos base config.mk
#*********************************************************************************************************
EMPTY =
SPACE = $(EMPTY) $(EMPTY)
SYLIXOS_BASE_PATH_BAK := $(SYLIXOS_BASE_PATH)
TOOLCHAIN_PREFIX_BAK := $(TOOLCHAIN_PREFIX)
DEBUG_LEVEL_BAK := $(DEBUG_LEVEL)
CPU_TYPE_BAK := $(CPU_TYPE)
FPU_TYPE_BAK := $(FPU_TYPE)
SYLIXOS_BASE_CONFIGMK = $(subst $(SPACE),\ ,$(SYLIXOS_BASE_PATH))/config.mk
include $(SYLIXOS_BASE_CONFIGMK)
SYLIXOS_BASE_PATH := $(SYLIXOS_BASE_PATH_BAK)
DEBUG_LEVEL := $(DEBUG_LEVEL_BAK)
ifneq ($(TOOLCHAIN_PREFIX_BAK),)
TOOLCHAIN_PREFIX := $(TOOLCHAIN_PREFIX_BAK)
endif
ifneq ($(CPU_TYPE_BAK),)
CPU_TYPE := $(CPU_TYPE_BAK)
endif
ifneq ($(FPU_TYPE_BAK),)
FPU_TYPE := $(FPU_TYPE_BAK)
endif
#*********************************************************************************************************
# Include header.mk
#*********************************************************************************************************
MKTEMP = $(subst $(SPACE),\ ,$(SYLIXOS_BASE_PATH))/libsylixos/SylixOS/mktemp
include $(MKTEMP)/header.mk
#*********************************************************************************************************
# Include targets makefiles
#*********************************************************************************************************
include portmap.mk
include libsunrpc.mk
#*********************************************************************************************************
# Include end.mk
#*********************************************************************************************************
include $(END_MK)
#*********************************************************************************************************
# End
#*********************************************************************************************************