changeset 1598:d177755187d3

Fix configuration check so -f XXX works again.
author gthomas
date Mon, 19 Apr 2004 21:26:52 +0000
parents 8d53540e9a4e
children bf994e1a516c
files packages/redboot/current/ChangeLog packages/redboot/current/src/fs/fileio.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/redboot/current/ChangeLog
+++ b/packages/redboot/current/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-19  Gary Thomas  <gary@mlbassoc.com>
+
+	* src/fs/fileio.c: Can't test for CYGPKG_IO_FLASH_BLOCK_DEVICE without
+	first testing for CYGPKG_IO_FLASH and including it's pkgconf file.
+
 2004-04-19  John Dallaway  <jld@ecoscentric.com>
 
 	* doc/makefile, doc/redboot_main.sgml: New files to build the RedBoot
--- a/packages/redboot/current/src/fs/fileio.c
+++ b/packages/redboot/current/src/fs/fileio.c
@@ -63,7 +63,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <string.h>
-#ifdef CYGPKG_IO_FLASH_BLOCK_DEVICE
+#ifdef CYGPKG_IO_FLASH
 #include <cyg/io/io.h>
 #include <cyg/io/flash.h>
 #include <cyg/io/config_keys.h>