# Stepldr cannot support DEBUG build
# For some Additional DEBUG library linking
# It's size over Stepping Stone's size
!if "$(WINCEDEBUG)" == "debug"
SKIPBUILD = 1
!endif

TARGETNAME = stepldr
TARGETTYPE = PROGRAM
RELEASETYPE = PLATFORM
EXEENTRY = StartUp
NOMIPS16CODE=1

LDEFINES=-subsystem:native /DEBUG /DEBUGTYPE:CV /FIXED:NO

TARGETLIBS =	\
		$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\fulllibc.lib   \
		$(_PLATCOMMONLIB)\$(_CPUINDPATH)\S5PV210_system_lib_sec_v1.lib		

SOURCES = \
    startup.s \
    nand_opt.s \
    utils.c \
    nand.c \
    main.c	\
    InitCache.s

WINCETARGETFILES=stepldr_romimage

