1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2025-04-21 12:27:27 +03:00

mass storage sort of working, but not nice

This commit is contained in:
Bas Wijnen
2010-10-07 09:52:04 +02:00
parent 87acc47fd9
commit 5f9fd7cc0f
9 changed files with 264 additions and 115 deletions

View File

@@ -27,6 +27,8 @@ headers = kernel.hh iris.hh devices.hh ui.hh keys.hh $(arch_headers)
iris_sources = panic.cc data.cc alloc.cc memory.cc invoke.cc schedule.cc $(arch_iris_sources)
BUILT_SOURCES = $(iris_sources) $(boot_sources)
STRIPFLAG = -S
# Include arch-specific rules.
include Makefile.arch
@@ -45,11 +47,11 @@ PYPP = /usr/bin/pypp
%.elf: boot-programs/crt0.o boot-programs/%.o
$(LD) $(LDFLAGS) $(filter %.o,$^) -o $@
$(OBJCOPY) -S $(OBJCOPYFLAGS) $@
$(OBJCOPY) $(STRIPFLAG) $(OBJCOPYFLAGS) $@
fs/%.elf: source/crt0.o source/%.o fs/init.config
$(LD) $(LDFLAGS) $(filter %.o,$^) -o $@
$(OBJCOPY) -S $(OBJCOPYFLAGS) $@
$(OBJCOPY) $(STRIPFLAG) $(OBJCOPYFLAGS) $@
fs/%: %
test -d fs || mkdir fs