[OpenWrt-Devel] [PATCH] mtd: mark as nonshared to fix FS#484

Mirko Parthey mirko.parthey at web.de
Thu May 31 09:24:31 EDT 2018


The mtd tool is built with different configurations depending on the
target. For example, brcm47xx adds the fixtrx subcommand, without which
an image fails when booting the second time.

Mark the mtd package as nonshared to really fix FS#484.

Signed-off-by: Mirko Parthey <mirko.parthey at web.de>
---
 package/system/mtd/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/system/mtd/Makefile b/package/system/mtd/Makefile
index 01277d9..9ae03a7 100644
--- a/package/system/mtd/Makefile
+++ b/package/system/mtd/Makefile
@@ -17,6 +17,8 @@ STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS)
 PKG_LICENSE:=GPL-2.0+
 PKG_LICENSE_FILES:=
 
+PKG_FLAGS:=nonshared
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/mtd
-- 
2.1.4


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel



More information about the openwrt-devel mailing list