diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index e90a884602..e543919ca6 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -321,6 +321,9 @@ whichadvanced () { | |||
321 | if [ "$memory" = "2" ]; then | 321 | if [ "$memory" = "2" ]; then |
322 | printf ", (8)MB MOD" | 322 | printf ", (8)MB MOD" |
323 | fi | 323 | fi |
324 | if [ "$modelname" = "player" ]; then | ||
325 | printf ", Use (A)TA poweroff" | ||
326 | fi | ||
324 | if [ "$t_model" = "ondio" ]; then | 327 | if [ "$t_model" = "ondio" ]; then |
325 | printf ", (B)acklight MOD" | 328 | printf ", (B)acklight MOD" |
326 | fi | 329 | fi |
@@ -375,6 +378,14 @@ whichadvanced () { | |||
375 | cont=0 | 378 | cont=0 |
376 | fi | 379 | fi |
377 | ;; | 380 | ;; |
381 | [Aa]) | ||
382 | if [ "$modelname" = "player" ]; then | ||
383 | have_ata_poweroff="#define HAVE_ATA_POWEROFF" | ||
384 | echo "ATA poweroff enabled" | ||
385 | else | ||
386 | cont=0 | ||
387 | fi | ||
388 | ;; | ||
378 | [Bb]) | 389 | [Bb]) |
379 | if [ "$t_model" = "ondio" ]; then | 390 | if [ "$t_model" = "ondio" ]; then |
380 | have_backlight="#define HAVE_BACKLIGHT" | 391 | have_backlight="#define HAVE_BACKLIGHT" |
@@ -2551,6 +2562,7 @@ sed > autoconf.h \ | |||
2551 | -e "s,@RBDIR@,${rbdir},g" \ | 2562 | -e "s,@RBDIR@,${rbdir},g" \ |
2552 | -e "s,@have_backlight@,$have_backlight,g" \ | 2563 | -e "s,@have_backlight@,$have_backlight,g" \ |
2553 | -e "s,@have_fmradio_in@,$have_fmradio_in,g" \ | 2564 | -e "s,@have_fmradio_in@,$have_fmradio_in,g" \ |
2565 | -e "s,@have_ata_poweroff@,$have_ata_poweroff,g" \ | ||
2554 | <<EOF | 2566 | <<EOF |
2555 | /* This header was made by configure */ | 2567 | /* This header was made by configure */ |
2556 | #ifndef __BUILD_AUTOCONF_H | 2568 | #ifndef __BUILD_AUTOCONF_H |
@@ -2568,6 +2580,9 @@ sed > autoconf.h \ | |||
2568 | /* optional define for FM radio mod for iAudio M5 */ | 2580 | /* optional define for FM radio mod for iAudio M5 */ |
2569 | @have_fmradio_in@ | 2581 | @have_fmradio_in@ |
2570 | 2582 | ||
2583 | /* optional define for ATA poweroff on Player */ | ||
2584 | @have_ata_poweroff@ | ||
2585 | |||
2571 | /* optional defines for RTC mod for h1x0 */ | 2586 | /* optional defines for RTC mod for h1x0 */ |
2572 | @config_rtc@ | 2587 | @config_rtc@ |
2573 | @have_rtc_alarm@ | 2588 | @have_rtc_alarm@ |