package/mtd: make fixtrx available on ar71xx as well
authorGabor Juhos <juhosg@openwrt.org>
Wed, 5 Jan 2011 19:27:55 +0000 (19:27 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 5 Jan 2011 19:27:55 +0000 (19:27 +0000)
SVN-Revision: 24911

package/mtd/Makefile
package/mtd/src/Makefile
package/mtd/src/mtd.c

index 3b4dd5523d61ccaba12902cf08ffd0b75758aa0d..dd8b24a276e6b6ec2635878f737fa2c1ec9eddf3 100644 (file)
@@ -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)
index fa2e486f92a6362725473645c8eb0b5aae1f1c8d..ca03f27a9e70dafd04d3c12b469c03d51edda399 100644 (file)
@@ -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
index 8b87bada3f4ee7db1b4fb0f3d8690091b2229d42..7f5816539b2c14c7e9fd6d2c566aca193ba7ad9a 100644 (file)
@@ -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;