我把我的sources贴出来吧
TARGETNAME=eboot
TARGETTYPE=PROGRAM
RELEASETYPE=PLATFORM
EXEENTRY=StartUp
WINCECPU=1
NOMIPS16CODE=1
INCLUDES=$(INCLUDES);$(_PUBLICROOT)\common\oak\drivers\block\msflashfmd\inc
INCLUDES=$(INCLUDES);..\..\inc;$(_TARGETPLATROOT)\src\Whimory\Inc;$(_TARGETPLATROOT)\src\Whimory\Core\VFL;$(_TARGETPLATROOT)\src\Whimory\OAM\OSLess;
ADEFINES=-pd "_TGTCPU SETS \"$(_TGTCPU)\"" $(ADEFINES)
CDEFINES=$(CDEFINES) -DPPSH_PROTOCOL_NOTIMEOUT -DCOREDLL
LDEFINES=-subsystem:native /DEBUG /DEBUGTYPE:CV /FIXED:NO
TARGETLIBS= \
$(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\oal_memory_s3c2450.lib \
!IF "$(BSP_TYPE)"=="$(BSP_SMDK2443)"
$(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\oal_cache_s3c2450_920.lib \
!ENDIF
!IF "$(BSP_TYPE)"=="$(BSP_SMDK2450)"
$(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\oal_cache_s3c2450_926.lib \
!ENDIF
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_kitl.lib \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_log.lib \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blnk.lib \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blcommon.lib \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\eboot.lib \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ne2kdbg.lib \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ddk_io.lib \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\fulllibc.lib \
$(_TARGETPLATROOT)\src\Whimory\Lib\$(_TGTCPU)\$(WINCEDEBUG)\$(WMR_FIL)_$(WMR_NAND_SUPPORT)_FIL.lib \
$(_TARGETPLATROOT)\src\Whimory\Lib\$(_TGTCPU)\$(WINCEDEBUG)\FTL_$(WMR_NAND_SUPPORT).lib \
$(_TARGETPLATROOT)\src\Whimory\Lib\$(_TGTCPU)\$(WINCEDEBUG)\VFL_$(WMR_NAND_SUPPORT).lib \
$(_TARGETPLATROOT)\src\Whimory\Lib\$(_TGTCPU)\$(WINCEDEBUG)\EbootWMROAM.lib \
$(_TARGETPLATROOT)\src\Whimory\Lib\$(_TGTCPU)\$(WINCEDEBUG)\wmrglobal.lib \
$(_TARGETPLATROOT)\src\Whimory\Lib\$(_TGTCPU)\$(WINCEDEBUG)\bootpart.lib \
$(_TARGETPLATROOT)\src\Whimory\Lib\$(_TGTCPU)\$(WINCEDEBUG)\WMR_Utils.lib \
SOURCES= \
startup.s \
util.s \
main.c \
debug.c \
ether.c \
flash.c \
nand.cpp \
usb.c \
usbs.s \
dm9000dbg.c
# S3C2450X_NAND_opt.s \
WINCETARGETFILES=BootImage