forked from len0rd/rockbox
No longer select Archos Recorder as "default" target platform.
Made the simulator get built better by generating a better Makefile. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6509 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5f935246be
commit
ed42300bff
1 changed files with 16 additions and 1 deletions
17
tools/configure
vendored
17
tools/configure
vendored
|
|
@ -447,7 +447,7 @@ if [ -z "$archos" ]; then
|
||||||
codecs="libmad liba52 libFLAC libTremor libwavpack dumb libmusepack"
|
codecs="libmad liba52 libFLAC libTremor libwavpack dumb libmusepack"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
2)
|
||||||
archos="recorder"
|
archos="recorder"
|
||||||
target="-DARCHOS_RECORDER"
|
target="-DARCHOS_RECORDER"
|
||||||
shcc
|
shcc
|
||||||
|
|
@ -460,6 +460,11 @@ if [ -z "$archos" ]; then
|
||||||
codecs=""
|
codecs=""
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "Please select an actual target platform!"
|
||||||
|
exit
|
||||||
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo "Platform set to $archos"
|
echo "Platform set to $archos"
|
||||||
|
|
@ -600,6 +605,14 @@ sed > autoconf.h \
|
||||||
#endif /* __BUILD_AUTOCONF_H */
|
#endif /* __BUILD_AUTOCONF_H */
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if test "$simulator" = "yes"; then
|
||||||
|
# add simul make stuff on the #SIMUL# line
|
||||||
|
simmagic='/#SIMUL#/c\ @$(MAKE) -C $(SIMDIR) OBJDIR=$(BUILDDIR)/sim\n @$(MAKE) -C $(ROOTDIR)/uisimulator/common OBJDIR=$(BUILDDIR)/comsim'
|
||||||
|
else
|
||||||
|
# delete the line that matches
|
||||||
|
simmagic='/#SIMUL#/D'
|
||||||
|
fi
|
||||||
|
|
||||||
sed > Makefile \
|
sed > Makefile \
|
||||||
-e "s,@ROOTDIR@,${rootdir},g" \
|
-e "s,@ROOTDIR@,${rootdir},g" \
|
||||||
-e "s,@DEBUG@,${debug},g" \
|
-e "s,@DEBUG@,${debug},g" \
|
||||||
|
|
@ -635,6 +648,7 @@ sed > Makefile \
|
||||||
-e "s,@GCCNUM@,${gccnum},g" \
|
-e "s,@GCCNUM@,${gccnum},g" \
|
||||||
-e "s,@UNAME@,${uname},g" \
|
-e "s,@UNAME@,${uname},g" \
|
||||||
-e "s,@ENDIAN@,${defendian},g" \
|
-e "s,@ENDIAN@,${defendian},g" \
|
||||||
|
-e "${simmagic}" \
|
||||||
<<EOF
|
<<EOF
|
||||||
## Automaticly generated. http://www.rockbox.org/
|
## Automaticly generated. http://www.rockbox.org/
|
||||||
|
|
||||||
|
|
@ -683,6 +697,7 @@ MAKEFLAGS += --no-print-directory
|
||||||
.PHONY: all clean tags zip
|
.PHONY: all clean tags zip
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
#SIMUL#
|
||||||
@\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware
|
@\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware
|
||||||
@\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@
|
@\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue