Misc changes to good c5471 build on Cygwin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@183 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
13f01b4cf3
commit
c241fb2128
@ -113,4 +113,5 @@
|
||||
|
||||
0.2.4 2007-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
|
||||
* Verfied c5471 build under Cygwin on WinXP
|
||||
* Started m68322
|
||||
|
@ -474,6 +474,7 @@ Other memory:
|
||||
|
||||
0.2.4 2007-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
|
||||
* Verfied c5471 build under Cygwin on WinXP
|
||||
* Started m68322
|
||||
</pre></ul>
|
||||
|
||||
|
@ -98,7 +98,7 @@ nuttx: $(LINKOBJS) board/libboard$(LIBEXT)
|
||||
mv $(TOPDIR)/$@.flashimage $(TOPDIR)/$@; \
|
||||
fi
|
||||
ifeq ($(CONFIG_RRLOAD_BINARY),y)
|
||||
@$(TOPDIR)/tools/mkimage.sh $(TOPDIR)/$@ $(TOPDIR)/$@.rr
|
||||
@$(TOPDIR)/tools/mkimage.sh --Prefix $(CROSSDEV) $(TOPDIR)/$@ $(TOPDIR)/$@.rr
|
||||
@if [ -w /tftpboot ] ; then \
|
||||
cp -f $(TOPDIR)/$@.rr /tftpboot/$@.rr.${CONFIG_ARCH}; \
|
||||
fi
|
||||
|
@ -96,7 +96,7 @@ nuttx: $(LINKOBJS) board/libboard$(LIBEXT)
|
||||
mv $(TOPDIR)/$@.flashimage $(TOPDIR)/$@; \
|
||||
fi
|
||||
ifeq ($(CONFIG_RRLOAD_BINARY),y)
|
||||
@$(TOPDIR)/tools/mkimage.sh $(TOPDIR)/$@ $(TOPDIR)/$@.rr
|
||||
@$(TOPDIR)/tools/mkimage.sh --Prefix $(CROSSDEV) $(TOPDIR)/$@ $(TOPDIR)/$@.rr
|
||||
@if [ -w /tftpboot ] ; then \
|
||||
cp -f $(TOPDIR)/$@.rr /tftpboot/$@.rr.${CONFIG_ARCH}; \
|
||||
fi
|
||||
|
@ -95,31 +95,9 @@
|
||||
# leading "0x".
|
||||
########################################################
|
||||
|
||||
if [ "${CADENUX_ARCH}" = "dsc21" ] ; then
|
||||
prefix="arm-uclinux-"
|
||||
elif [ "${CADENUX_ARCH}" = "dsc24" ] ; then
|
||||
prefix="arm-uclinux-"
|
||||
elif [ "${CADENUX_ARCH}" = "dsc25" ] ; then
|
||||
prefix="arm-uclinux-"
|
||||
elif [ "${CADENUX_ARCH}" = "dm270" ] ; then
|
||||
prefix="arm-uclinux-"
|
||||
elif [ "${CADENUX_ARCH}" = "c5471" ] ; then
|
||||
prefix="arm-uclinux-"
|
||||
elif [ "${CADENUX_ARCH}" = "ti925" ] ; then
|
||||
prefix="arm-linux-"
|
||||
elif [ "${CADENUX_ARCH}" = "omap710" ] ; then
|
||||
prefix="arm-linux-"
|
||||
elif [ "${CADENUX_ARCH}" = "omap1510" ] ; then
|
||||
prefix="arm-linux-"
|
||||
elif [ "${CADENUX_ARCH}" = "dm310" ] ; then
|
||||
prefix="arm-linux-"
|
||||
else
|
||||
prefix=""
|
||||
fi
|
||||
|
||||
if [ $# -lt 2 ] ; then
|
||||
echo "Error: missing argument"
|
||||
echo "Usage: mkimage [--LAddr n] [--EAddr n] [--NoHeader] <input-Bin> <out-RR>"
|
||||
echo "Usage: mkimage [--Prefix prefix] [--LAddr n] [--EAddr n] [--NoHeader] <input-Bin> <out-RR>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -128,6 +106,7 @@ fi
|
||||
LoadAddr="00000000" # Note: hex val *without* proceeding "0x"
|
||||
EntryAddr="0xFFFFFFFF" # Note: hex val *with* procedding "0x"
|
||||
|
||||
unset prefix
|
||||
Header="y"
|
||||
LAddrSupplied="n"
|
||||
EAddrSupplied="n"
|
||||
@ -135,6 +114,11 @@ compress="n"
|
||||
|
||||
while [ $# -gt 0 ] ; do
|
||||
case "$1" in
|
||||
--Prefix)
|
||||
shift;
|
||||
prefix="$1"
|
||||
shift
|
||||
;;
|
||||
--LAddr )
|
||||
shift
|
||||
LoadAddr="$1"
|
||||
|
Loading…
Reference in New Issue
Block a user