From abac7397674b255ecac7fd65b98bcabaf65f68c8 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Mon, 23 Oct 2006 18:09:38 +0000 Subject: Manual Makefile tweaks: - remove html output folder on "make clean" - fix "make manual" that was broken for some targets (e.g. h100) when configured for normal / sim build - add manual-txt target to generate a plain text version. Requires links. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11319 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 47 ++++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 19 deletions(-) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index f9ef9803e2..3d457881ad 100755 --- a/tools/configure +++ b/tools/configure @@ -1191,22 +1191,6 @@ fi toolsdir=$firmdir; toolset=''; apps="manual" - case $archos in - fmrecorder) - archos="recorderv2fm" - ;; - recorderv2) - archos="recorderv2fm" - ;; - h1??) - archos="h1xx" - ;; - ipodmini2g) - archos="ipodmini" - ;; - *) - ;; - esac echo "Manual build selected" ;; *) @@ -1215,6 +1199,24 @@ fi ;; esac + # to be able running "make manual" from non-manual configuration + case $archos in + fmrecorder) + manualdev="recorderv2fm" + ;; + recorderv2) + manualdev="recorderv2fm" + ;; + h1??) + manualdev="h1xx" + ;; + ipodmini2g) + manualdev="ipodmini" + ;; + *) + manualdev=$archos + ;; + esac if [ -z "$debug" ]; then GCCOPTS="$GCCOPTS $GCCOPTIMIZE" @@ -1409,6 +1411,7 @@ sed > Makefile \ -e "s,@TOOLSET@,${toolset},g" \ -e "${simmagic1}" \ -e "${simmagic2}" \ + -e "s,@MANUALDEV@,${manualdev},g" \ <