aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/src
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-01-05 19:27:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-01-05 19:27:55 +0000
commit9abe5cf11047a9590417f6baf2226e86a3a12f54 (patch)
tree434080388bc32e586bc0e54232bc5e8cfdf0623d /package/mtd/src
parente8cee6c8501989f560887851e2319ef8ec571043 (diff)
downloadupstream-9abe5cf11047a9590417f6baf2226e86a3a12f54.tar.gz
upstream-9abe5cf11047a9590417f6baf2226e86a3a12f54.tar.bz2
upstream-9abe5cf11047a9590417f6baf2226e86a3a12f54.zip
package/mtd: make fixtrx available on ar71xx as well
SVN-Revision: 24911
Diffstat (limited to 'package/mtd/src')
-rw-r--r--package/mtd/src/Makefile1
-rw-r--r--package/mtd/src/mtd.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/package/mtd/src/Makefile b/package/mtd/src/Makefile
index fa2e486f92..ca03f27a9e 100644
--- a/package/mtd/src/Makefile
+++ b/package/mtd/src/Makefile
@@ -2,6 +2,7 @@ CC = gcc
CFLAGS += -Wall
obj = mtd.o jffs2.o crc32.o
+obj.ar71xx = trx.o
obj.brcm = trx.o
obj.brcm47xx = $(obj.brcm)
obj.brcm63xx = imagetag.o
diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c
index 8b87bada3f..7f5816539b 100644
--- a/package/mtd/src/mtd.c
+++ b/package/mtd/src/mtd.c
@@ -597,8 +597,8 @@ int main (int argc, char **argv)
jffs2dir = optarg;
break;
case 'o':
- if (!mtd_fixtrx) {
- fprintf(stderr, "-o: Only for brcm47xx/brcm63xx\n");
+ if (!mtd_fixtrx) {
+ fprintf(stderr, "-o: is not available on this platform\n");
usage();
}
errno = 0;