diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-31 00:02:20 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-31 00:02:20 +0000 |
commit | e04a71f382d8686b2bb03ebf46bb21d78c86fbba (patch) | |
tree | ef0e4f302ce171424216013df0c543b16ec49f46 | |
parent | cdc42458a264636ebd6cfac08749e96b5fde24bd (diff) | |
download | rockbox-e04a71f382d8686b2bb03ebf46bb21d78c86fbba.tar.gz rockbox-e04a71f382d8686b2bb03ebf46bb21d78c86fbba.zip |
Only build firmware_flash plugin on archos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26424 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/SOURCES | 7 | ||||
-rw-r--r-- | apps/plugins/firmware_flash.c | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index dbb5843940..b062343058 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES | |||
@@ -101,6 +101,12 @@ video.c | |||
101 | alpine_cdc.c | 101 | alpine_cdc.c |
102 | #endif | 102 | #endif |
103 | 103 | ||
104 | #if defined(ARCHOS_PLAYER) || defined(ARCHOS_RECORDER) || \ | ||
105 | defined(ARCHOS_FMRECORDER) || defined(ARCHOS_RECORDERV2) || \ | ||
106 | defined(ARCHOS_ONDIOFM) || defined(ARCHOS_ONDIOSP) | ||
107 | firmware_flash.c | ||
108 | #endif | ||
109 | |||
104 | #if defined(IRIVER_H100_SERIES) | 110 | #if defined(IRIVER_H100_SERIES) |
105 | iriver_flash.c | 111 | iriver_flash.c |
106 | #endif | 112 | #endif |
@@ -110,7 +116,6 @@ rockbox_flash.c | |||
110 | #endif /* CONFIG_CPU */ | 116 | #endif /* CONFIG_CPU */ |
111 | 117 | ||
112 | battery_bench.c | 118 | battery_bench.c |
113 | firmware_flash.c | ||
114 | 119 | ||
115 | #if defined(IPOD_NANO2G) | 120 | #if defined(IPOD_NANO2G) |
116 | crypt_firmware.c | 121 | crypt_firmware.c |
diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c index 43ed7a87d9..317bc92f04 100644 --- a/apps/plugins/firmware_flash.c +++ b/apps/plugins/firmware_flash.c | |||
@@ -74,11 +74,9 @@ | |||
74 | #define KEEP MASK_ADR /* keep the mask value */ | 74 | #define KEEP MASK_ADR /* keep the mask value */ |
75 | #define PLATFORM_ID ID_ONDIO_SP | 75 | #define PLATFORM_ID ID_ONDIO_SP |
76 | #else | 76 | #else |
77 | #undef PLATFORM_ID /* this platform is not (yet) flashable */ | 77 | #error this platform is not (yet) flashable |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #ifdef PLATFORM_ID | ||
81 | |||
82 | PLUGIN_HEADER | 80 | PLUGIN_HEADER |
83 | 81 | ||
84 | #if CONFIG_KEYPAD == ONDIO_PAD /* limited keypad */ | 82 | #if CONFIG_KEYPAD == ONDIO_PAD /* limited keypad */ |
@@ -1040,5 +1038,3 @@ enum plugin_status plugin_start(const void* parameter) | |||
1040 | 1038 | ||
1041 | return PLUGIN_OK; | 1039 | return PLUGIN_OK; |
1042 | } | 1040 | } |
1043 | |||
1044 | #endif /* ifdef PLATFORM_ID */ | ||