aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd
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
commit71894cf47a0dd63c4f9efb0089fe4934815c0b35 (patch)
tree33d1e979f4ddf957d3d5b5590d962b8ff16e927c /package/mtd
parent3802480ff6e526cec65e31b2c82d135039e34766 (diff)
downloadmaster-187ad058-71894cf47a0dd63c4f9efb0089fe4934815c0b35.tar.gz
master-187ad058-71894cf47a0dd63c4f9efb0089fe4934815c0b35.tar.bz2
master-187ad058-71894cf47a0dd63c4f9efb0089fe4934815c0b35.zip
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')
-rw-r--r--package/mtd/Makefile2
-rw-r--r--package/mtd/src/Makefile1
-rw-r--r--package/mtd/src/mtd.c4
3 files changed, 4 insertions, 3 deletions
diff --git a/package/mtd/Makefile b/package/mtd/Makefile
index 3b4dd5523d..dd8b24a276 100644
--- a/package/mtd/Makefile
+++ b/package/mtd/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mtd
-PKG_RELEASE:=14
+PKG_RELEASE:=15
PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME)
STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS)
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;