Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/nand Include the flash_mtd_parts in the nand mod...



details:   https://anonhg.NetBSD.org/src/rev/a0743b891094
branches:  trunk
changeset: 828357:a0743b891094
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Dec 09 22:42:17 2017 +0000

description:
Include the flash_mtd_parts in the nand module.  Without this, the module
fails to load because of undefined linker symbol flash_attach_mtdparts

XXX pullup to netbsd-8

diffstat:

 sys/modules/nand/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 375d91471f61 -r a0743b891094 sys/modules/nand/Makefile
--- a/sys/modules/nand/Makefile Sat Dec 09 16:00:19 2017 +0000
+++ b/sys/modules/nand/Makefile Sat Dec 09 22:42:17 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2017/11/15 00:48:42 jmcneill Exp $
+# $NetBSD: Makefile,v 1.6 2017/12/09 22:42:17 pgoyette Exp $
 
 .include "../Makefile.inc"
 
@@ -14,4 +14,8 @@
 SRCS+= nand_samsung.c
 SRCS+= nand_toshiba.c
 
+.PATH: ${S}/dev/flash
+
+SRCS+= flash_mtdparts.c
+
 .include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index