blob: 9a0e8a5a0e5955a17a16c76b1ce9e7a849d291a4 [file] [log] [blame]
#***********************************************************************
# °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
#
# ÎļþÃû³Æ£º makefile
# Îļþ±êʶ£º ±àÒëdal lib
# ÄÚÈÝÕªÒª£º
#
# ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
# ---------------------------------------------------------------------
# 2008/11/17 V1.0 huji create
#***********************************************************************/
include $(PRJ_PATH)/config/project.mk
include $(DRV_PATH)/ws/drv_cfg.mk
#===============================================
#
#===============================================
_SUBSYS_NAME = peripheral
#_SUBSYS_LIB_PATH = $(DRV_PATH)/lib/$(PRJ_NAME)/$(VERSION_TYPE)/$(ARMCORE_TYPE)/$(FLAVOR)
_SUBSYS_LIB_PATH = $(DRV_LIB_PATH)
export PERI_SRC_PATH = $(PERI_PATH)/src
export PERI_INC_PATH = $(PERI_PATH)/inc -I$(DRV_PATH)/src/include
export PERI_OBJ_PATH = $(OBJ_PATH)/drv/hal
#===============================================
# nand
#===============================================
ifeq ($(USE_NAND),yes)
nand:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PERI_SRC_PATH)/nand
nandclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PERI_SRC_PATH)/nand clean
#_ALL_MDLS += nand
#_ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/nand/*.o)
endif
#============================================
# ±àÒë¹æÔò
#============================================
include $(FRAME_PATH)/rules/lib_rules.mk