mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Added open/close/read. read() only works on whole sectors right now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@498 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
44b1a21f17
commit
4bd870360a
6 changed files with 229 additions and 50 deletions
|
|
@ -5,7 +5,7 @@ CFLAGS = -g -Wall -DTEST_FAT -I$(DRIVERS) -I$(FIRMWARE)/common -I$(FIRMWARE) -I.
|
|||
|
||||
TARGET = fat
|
||||
|
||||
$(TARGET): fat.o ata-sim.o main.o disk.o debug.o dir.o
|
||||
$(TARGET): fat.o ata-sim.o main.o disk.o debug.o dir.o file.o
|
||||
gcc -g -o fat $+ -lfl
|
||||
|
||||
fat.o: $(DRIVERS)/fat.c $(DRIVERS)/fat.h $(DRIVERS)/ata.h
|
||||
|
|
@ -17,6 +17,9 @@ disk.o: $(FIRMWARE)/common/disk.c
|
|||
dir.o: $(FIRMWARE)/common/dir.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
file.o: $(FIRMWARE)/common/file.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
debug.o: $(FIRMWARE)/debug.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue