diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-05 19:27:55 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-05 19:27:55 +0000 |
commit | a4cf24d38a15dec9dbc1970b53049af4823ea476 (patch) | |
tree | 33d1e979f4ddf957d3d5b5590d962b8ff16e927c /package/mtd/src | |
parent | 5ceda5f233e5d6d0c21f40c5d75e5a785bb45cb6 (diff) |
package/mtd: make fixtrx available on ar71xx as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24911 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mtd/src')
-rw-r--r-- | package/mtd/src/Makefile | 1 | ||||
-rw-r--r-- | package/mtd/src/mtd.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/package/mtd/src/Makefile b/package/mtd/src/Makefile index fa2e486f9..ca03f27a9 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 8b87bada3..7f5816539 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; |