mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:23:09 +02:00
package/mtd: make fixtrx available on ar71xx as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24911 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5ceda5f233
commit
a4cf24d38a
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=mtd
|
PKG_NAME:=mtd
|
||||||
PKG_RELEASE:=14
|
PKG_RELEASE:=15
|
||||||
|
|
||||||
PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME)
|
||||||
STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS)
|
STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS)
|
||||||
|
@ -2,6 +2,7 @@ CC = gcc
|
|||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
|
|
||||||
obj = mtd.o jffs2.o crc32.o
|
obj = mtd.o jffs2.o crc32.o
|
||||||
|
obj.ar71xx = trx.o
|
||||||
obj.brcm = trx.o
|
obj.brcm = trx.o
|
||||||
obj.brcm47xx = $(obj.brcm)
|
obj.brcm47xx = $(obj.brcm)
|
||||||
obj.brcm63xx = imagetag.o
|
obj.brcm63xx = imagetag.o
|
||||||
|
@ -597,8 +597,8 @@ int main (int argc, char **argv)
|
|||||||
jffs2dir = optarg;
|
jffs2dir = optarg;
|
||||||
break;
|
break;
|
||||||
case 'o':
|
case 'o':
|
||||||
if (!mtd_fixtrx) {
|
if (!mtd_fixtrx) {
|
||||||
fprintf(stderr, "-o: Only for brcm47xx/brcm63xx\n");
|
fprintf(stderr, "-o: is not available on this platform\n");
|
||||||
usage();
|
usage();
|
||||||
}
|
}
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user