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" \ <