#17710: fstools does compile on brcm47xx.mips74k
----------------------+----------------------------------
Reporter: dave@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Keywords: |
----------------------+----------------------------------
fstools does not compile under brcm47xx.mips74k, it gives the following
error messages:
[ 60%] Building C object CMakeFiles/fstools.dir/libfstools/mtd.c.o
{standard input}: Assembler messages:
{standard input}:1137: Error: unrecognized opcode `wsbh'
{standard input}:1138: Error: unrecognized opcode `rotr'
{standard input}:1181: Error: unrecognized opcode `wsbh'
make[5]: *** [CMakeFiles/fstools.dir/libfstools/mtd.c.o] Error 1
It seems that the following fixes this (not sure if this is the correct
fix):
diff --git a/package/system/fstools/Makefile
b/package/system/fstools/Makefile
index 18098dd..41ca44c 100644
--- a/package/system/fstools/Makefile
+++ b/package/system/fstools/Makefile
@@ -19,6 +19,7 @@
PKG_SOURCE_VERSION:=e0430f5c62f367e5a8e02755412977b02c3fc45e
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
CMAKE_INSTALL:=1
PKG_CHECK_FORMAT_SECURITY:=0
+PKG_USE_MIPS16:=0
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=
--
Ticket URL: <https://dev.openwrt.org/ticket/17710>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets