From a2008f9bdeed215256d8762d378397c8e417f7df Mon Sep 17 00:00:00 2001 From: Jonas Häggqvist Date: Sat, 11 Apr 2009 23:20:09 +0000 Subject: Revert r20687 since it breaks make zip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20692 a1c6a512-1295-4272-9138-f99709370657 --- tools/buildzip.pl | 11 ++++------- tools/configure | 2 -- tools/root.make | 31 +++++++++++-------------------- 3 files changed, 15 insertions(+), 29 deletions(-) diff --git a/tools/buildzip.pl b/tools/buildzip.pl index c32733bcd9..7df6af3a36 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl @@ -21,7 +21,7 @@ my $ROOT=".."; my $ziptool="zip -r9"; my $output="rockbox.zip"; my $verbose; -my $install="/dev/null"; +my $sim; my $exe; my $target; my $modelname; @@ -75,7 +75,7 @@ GetOptions ( 'r|root=s' => \$ROOT, 'o|output=s' => \$output, 'f|fonts=s' => \$incfonts, # 0 - no fonts, 1 - fonts only 2 - fonts and package 'v|verbose' => \$verbose, - 'install=s' => \$install, # install destination + 's|sim' => \$sim, 'rbdir=s' => \$rbdir, # If we want to put in a different directory ); @@ -438,11 +438,8 @@ sub runone { print "$ziptool $output $rbdir $target >/dev/null\n"; } - if($install) { - if ($install =~ /\/dev\/null/) { - die "ERROR: No PREFIX given\n" - } - system("cp -r $rbdir \"$install\" >/dev/null"); + if($sim) { + system("cp -r $rbdir simdisk/ >/dev/null"); } else { system("$ziptool $output $rbdir $target >/dev/null"); diff --git a/tools/configure b/tools/configure index 72d0c79950..44ae3e524f 100755 --- a/tools/configure +++ b/tools/configure @@ -2526,7 +2526,6 @@ sed > Makefile \ -e "s,@LANGS@,${buildlangs},g" \ -e "s,@USE_ELF@,${USE_ELF},g" \ -e "s,@RBDIR@,${rbdir},g" \ - -e "s,@PREFIX@,$PREFIX,g" \ -e "s,@CMDLINE@,$cmdline,g" \ <