lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #***********************************************************************
|
| 2 | # °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
|
| 3 | #
|
| 4 | # ÎļþÃû³Æ£º makefile
|
| 5 | # Îļþ±êʶ£º ±àÒëdal lib
|
| 6 | # ÄÚÈÝÕªÒª£º
|
| 7 | #
|
| 8 | # ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
|
| 9 | # ---------------------------------------------------------------------
|
| 10 | # 2008/11/17 V1.0 huji create
|
| 11 | #***********************************************************************/
|
| 12 |
|
| 13 | include $(PRJ_PATH)/config/project.mk
|
| 14 | include $(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 |
|
| 24 | export PERI_SRC_PATH = $(PERI_PATH)/src
|
| 25 | export PERI_INC_PATH = $(PERI_PATH)/inc -I$(DRV_PATH)/src/include
|
| 26 | export PERI_OBJ_PATH = $(OBJ_PATH)/drv/hal
|
| 27 |
|
| 28 |
|
| 29 | #===============================================
|
| 30 | # nand
|
| 31 | #===============================================
|
| 32 |
|
| 33 | ifeq ($(USE_NAND),yes)
|
| 34 |
|
| 35 | nand:
|
| 36 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PERI_SRC_PATH)/nand
|
| 37 | nandclean:
|
| 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 |
|
| 42 | endif
|
| 43 |
|
| 44 |
|
| 45 | #============================================
|
| 46 | # ±àÒë¹æÔò
|
| 47 | #============================================
|
| 48 | include $(FRAME_PATH)/rules/lib_rules.mk
|
| 49 |
|