blob: 1bc9ddf9318a39fbc9ae72090f8b830998ab72e6 [file] [log] [blame]
#***********************************************************************
# °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
#
# ÎļþÃû³Æ£º makefile
# Îļþ±êʶ£º ±àÒëhal public
# ÄÚÈÝÕªÒª£º
#
# ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
# ---------------------------------------------------------------------
# 2008/11/17 V1.0 huji create
#***********************************************************************/
include $(PRJ_PATH)/config/project.mk
include $(DRV_PATH)/ws/drv_cfg.mk
#===============================================
#
#===============================================
_SUBSYS_NAME = public
#_SUBSYS_LIB_PATH = $(DRV_PATH)/lib/$(PRJ_NAME)/$(VERSION_TYPE)/$(ARMCORE_TYPE)/$(FLAVOR)
_SUBSYS_LIB_PATH = $(DRV_LIB_PATH)
export PUBLIC_SRC_PATH = $(PUBLIC_PATH)/src
export PUBLIC_INC_PATH = $(PUBLIC_PATH)/inc -I$(DRV_PATH)/src/inc
export PUBLIC_OBJ_PATH = $(DRV_OBJ_PATH)
#===============================================
# ring
#===============================================
ring:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/ring
ringclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/ring clean
_ALL_MDLS += ring
_ALL_OBJECTS += $(wildcard $(PUBLIC_OBJ_PATH)/ring/*.o)
#===============================================
# trap
#===============================================
trap:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/trap
trapclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/trap clean
_ALL_MDLS += trap
_ALL_OBJECTS += $(wildcard $(PUBLIC_OBJ_PATH)/trap/*.o)
#===============================================
# ramlog
#===============================================
ramlog:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/ramlog
ramlogclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/ramlog clean
_ALL_MDLS += ramlog
_ALL_OBJECTS += $(wildcard $(PUBLIC_OBJ_PATH)/ramlog/*.o)
#===============================================
# config
#===============================================
config:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/config
configclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/config clean
_ALL_MDLS += config
_ALL_OBJECTS += $(wildcard $(PUBLIC_OBJ_PATH)/config/*.o)
#===============================================
# qalloc
#===============================================
qalloc:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/qalloc
qallocclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/qalloc clean
#_ALL_MDLS += qalloc
#_ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/qalloc/*.o)
#===============================================
# queue
#===============================================
queue:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/queue
queueclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/queue clean
_ALL_MDLS += queue
_ALL_OBJECTS += $(wildcard $(PUBLIC_OBJ_PATH)/queue/*.o)
#===============================================
# requestQueue
#===============================================
requestQueue:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/requestQueue
requestQueueclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/requestQueue clean
#_ALL_MDLS += requestQueue
#_ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/requestQueue/*.o)
#===============================================
# ioRequest
#===============================================
ioRequest:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/ioRequest
ioRequestclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/ioRequest clean
#_ALL_MDLS += ioRequest
#_ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/ioRequest/*.o)
#===============================================
# iodev
#===============================================
iodev:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/iodev
iodevclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/iodev clean
_ALL_MDLS += iodev
_ALL_OBJECTS += $(wildcard $(PUBLIC_OBJ_PATH)/iodev/*.o)
#===============================================
# random
#===============================================
#===============================================
# debug
#===============================================
debug:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/debug
debugclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/debug clean
_ALL_MDLS += debug
_ALL_OBJECTS += $(wildcard $(PUBLIC_OBJ_PATH)/debug/*.o)
#===============================================
# hisr
#===============================================
hisr:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/hisr
hisrclean:
@$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(PUBLIC_SRC_PATH)/hisr clean
_ALL_MDLS += hisr
_ALL_OBJECTS += $(wildcard $(PUBLIC_OBJ_PATH)/hisr/*.o)
#============================================
# ±àÒë¹æÔò
#============================================
include $(FRAME_PATH)/rules/lib_rules.mk