view Makefile.am @ 1715:868c3fa9315f

* src/flash.c: Make the flock lock/unlock code compile without warnings. * src/flashiodev.c (flashiodev_lookup): Only initialize the device if we have not already been initialized via cyg_set_config(). This stopped redboots mount -f working. * src/flashiodev.c (flashiodev_lookup): Moved most of the flashiodev_init into this new function. This fixed the ordering issue with redboot startup. When doing a FIS name lookup in flashiodev_init, redboot was not yet nitialised so lookup failed. Moving this into flashiodev_lookup solves this problem. Its now possible for redboot to mount the jffs2 filesystem with -d /dev/flash1.
author asl
date Mon, 16 Aug 2004 08:33:41 +0000
parents f58bc1b2c2bc
children
line wrap: on
line source

## Process this file with automake to produce Makefile.in
## =====================================================================
##
##     Makefile.am
##
##     eCos host-side software toplevel makefile
##
## =====================================================================
#######ECOSHOSTGPLCOPYRIGHTBEGIN####
## -------------------------------------------                              
# Copyright (C) 2002 Bart Veer
# Copyright (C) 1998, 1999, 2000, 2001 Red Hat, Inc.
#
# This file is part of the eCos host tools.
#
# This program is free software; you can redistribute it and/or modify it 
# under the terms of the GNU General Public License as published by the Free 
# Software Foundation; either version 2 of the License, or (at your option) 
# any later version.
# 
# This program is distributed in the hope that it will be useful, but WITHOUT 
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for 
# more details.
# 
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 
# 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
## -------------------------------------------                              
#######ECOSHOSTGPLCOPYRIGHTEND####
## =====================================================================
#######DESCRIPTIONBEGIN####
##
## Author(s):	bartv
## Contact(s):	bartv
## Date:	1998/12/17
## Version:	0.01
##
######DESCRIPTIONEND####
## =====================================================================

AUTOMAKE_OPTIONS = 1.3 foreign
SUBDIRS          = @SUBDIRS@