📄 lowlvl.mak
字号:
### Copyright(R) 1997 Intel Corporation
########################################################################
###
### Object: Makefile for lowlvl directory. This file includes make
### directives to make the lowlvl directory code. It should
### not require porting unless your make tools are
### significantly different.
###
###
### $Workfile: LOWLVL.MAK $
### $Revision: 45 $
### $History: LOWLVL.MAK $
###
### ***************** Version 45 *****************
### User: Jbhutchi Date: 1/30/02 Time: 5:54p
### Updated in $/FDI/SRC/LOWLVL
### X32 support code functionality added
###
### ***************** Version 38 *****************
### User: Ssriniv1 Date: 6/01/01 Time: 11:32a
### Updated in $/FDI/SRC/LOWLVL
### changed '\' to '/'
###
### ***************** Version 34 *****************
### User: Ssriniv1 Date: 2/16/01 Time: 3:47p
### Updated in $/FDI/SRC/LOWLVL
### Merge ISF changes.
###
### ***************** Version 2 *****************
### User: Ssriniv1 Date: 2/09/01 Time: 2:31p
### Updated in $/Merged/Lowlvl
###
### ***************** Version 21 *****************
### User: Ramcgrew Date: 11/01/99 Time: 10:13a
### Updated in $/FDI/SRC/LOWLVL
### 1) FDI_Bkgd.c: BKGD_CheckForSpace is changed, new code is embraced in
### the compile option FIX_CHKSPACE_ISSUE.
### 2) FDI_Pckt.c: FDI_InitPacket is changed.
### 3) FDI_Recl.c: Recl_Task is changed for fixing a bug, the changed code
### is embraced in the compile option PACKET_DATA.
### 4) FDI_Int.h: the declaration of data structre COMMAND is changed for
### the compile option FIX_CHKSPACE_ISSUE.
### 5) FDI_Pckt.h: added OPTIMA_TASKDELAY for replacing taskDelay with
### semaphores.
### 6) FDI_type.h: added FIX_CHKSPACE_ISSUE, PACKETNPLRTEST is set to FALSE
### as default.
### 7) FDI_Lowl.h: FDI_LowLevelWritePacket is changed for performance
### enhancement.
### 7) Layer3.c: line 1401, changed to (DWORD)&flash_addr[0] for
### eliminating a warning line 1764, changed #ifndef PACKETNPLRTEST to #if
### (PACKETNPLRTEST == FALSE)
###
### ***************** Version 20 *****************
### User: Ramcgrew Date: 8/18/99 Time: 8:40a
### Updated in $/FDI/src/LOWLVL
### FDI2.5 enhancement: Modify filenames so no porting conflicts arise.
###
### ***************** Version 2 *****************
### User: Depingre Date: 8/18/98 Time: 5:40p
### Updated in $/FDI/SRC/LOWLVL
###
###
###
###$NoKeywords: $
######################################################################## */
# Target Function
# ------ --------
# all make module
# test make module for unit test
# clean remove objects
### Include FDI specific definitions and flags
include ../makeAnch
include $(FDI_PATH)/makeMac
# Output module names
LOWLVL_MOD = $(LOWLVL)/lowlvl.out
LOWLVL_TESTMOD = $(LOWLVL)/dbg_low.out
### Source dependencies
LOWLVL_SRCS = $(LOWLVL)/FDI_Spll.c $(LOWLVL)/FDI_Sprc.c
LOWLVL_SRCS += $(LOWLVL)/FDI_Mpll.c $(LOWLVL)/FDI_Mprc.c
LOWLVL_OBJS = $(LOWLVL)/FDI_Spll.o $(LOWLVL)/FDI_Sprc.o
LOWLVL_OBJS += $(LOWLVL)/FDI_Mpll.o $(LOWLVL)/FDI_Mprc.o
LOWLVL_INCS = $(INCS)
LOWLVL_MAKES = $(MAKES) $(LOWLVL)/lowlvl.mak
### Test source dependencies for unit level test
LOWLVL_TESTSRCS = $(LOWLVL)/main.c
LOWLVL_TESTOBJS = $(LOWLVL)/main.o
### additional include paths
CPPFLAGS +=
### additional compilation switches, macro definitions
CFLAGS +=
### Lowlvl target
all : $(LOWLVL_MOD)
### Test target
test : $(LOWLVL_TESTMOD)
### Link test objects
$(LOWLVL_TESTMOD) : $(LOWLVL_OBJS) $(LOWLVL_TESTOBJS)
$(LD) -Map lowlvl.map $(LNKFLAGS) -o $@ -r $(LOWLVL_OBJS) $(LOWLVL_TESTOBJS)
### Link objects
$(LOWLVL_MOD) : $(LOWLVL_OBJS)
$(LD) -Map lowlvl.map $(LNKFLAGS) -o $@ -r $(LOWLVL_OBJS)
### Source code compilation
$(LOWLVL_OBJS) : $(LOWLVL_SRCS) $(LOWLVL_INCS) $(LOWLVL_MAKES)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LOWLVL_SRCS)
### Source test code compilation
$(LOWLVL_TESTOBJS) : $(LOWLVL_TESTSRCS) $(LOWLVL_INCS) $(LOWLVL_MAKES)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LOWLVL_TESTSRCS)
### Placebo rules
$(LOWLVL_SRCS) :
$(LOWLVL_INCS) :
$(LOWLVL_MAKES):
$(LOWLVL_TESTSRCS):
lowlvl_clean:
del $(LOWLVL_OBJS) $(LOWLVL_MOD) $(LOWLVL_TESTOBJS) $(LOWLVL_TESTMOD)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -