blob: 9a0e8a5a0e5955a17a16c76b1ce9e7a849d291a4 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#***********************************************************************
2# °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
3#
4# ÎļþÃû³Æ£º makefile
5# Îļþ±êʶ£º ±àÒëdal lib
6# ÄÚÈÝÕªÒª£º
7#
8# ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
9# ---------------------------------------------------------------------
10# 2008/11/17 V1.0 huji create
11#***********************************************************************/
12
13include $(PRJ_PATH)/config/project.mk
14include $(DRV_PATH)/ws/drv_cfg.mk
15
16#===============================================
17#
18#===============================================
19_SUBSYS_NAME = peripheral
20
21#_SUBSYS_LIB_PATH = $(DRV_PATH)/lib/$(PRJ_NAME)/$(VERSION_TYPE)/$(ARMCORE_TYPE)/$(FLAVOR)
22_SUBSYS_LIB_PATH = $(DRV_LIB_PATH)
23
24export PERI_SRC_PATH = $(PERI_PATH)/src
25export PERI_INC_PATH = $(PERI_PATH)/inc -I$(DRV_PATH)/src/include
26export PERI_OBJ_PATH = $(OBJ_PATH)/drv/hal
27
28
29#===============================================
30# nand
31#===============================================
32
33ifeq ($(USE_NAND),yes)
34
35nand:
36 @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PERI_SRC_PATH)/nand
37nandclean:
38 @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PERI_SRC_PATH)/nand clean
39#_ALL_MDLS += nand
40#_ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/nand/*.o)
41
42endif
43
44
45#============================================
46# ±àÒë¹æÔò
47#============================================
48include $(FRAME_PATH)/rules/lib_rules.mk
49