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

working on things

This commit is contained in:
Bas Wijnen
2009-06-10 22:54:12 +02:00
parent 1bb67efc75
commit 8445be58dd
11 changed files with 160 additions and 360 deletions

View File

@@ -21,7 +21,6 @@ CPPFLAGS = -O5 -fno-inline $(ARCH_CPPFLAGS)
CC = $(CROSS)gcc
LD = $(CROSS)ld
OBJCOPY = $(CROSS)objcopy
STRIP = : $(CROSS)strip
headers = kernel.hh iris.h $(arch_headers)
kernel_sources = panic.cc data.cc alloc.cc invoke.cc schedule.cc $(arch_kernel_sources)
@@ -44,9 +43,8 @@ PYPP = /usr/bin/pypp
$(CC) $(CPPFLAGS) $(TARGET_FLAGS) $(CXXFLAGS) -c $< -o $@
%: boot-programs/init.o boot-programs/%.o
$(LD) $^ -o $@
$(STRIP) $@
$(OBJCOPY) -S $(OBJCOPYFLAGS) $@
$(LD) $(filter %.o,$^) -o $@
#$(OBJCOPY) -S $(OBJCOPYFLAGS) $@
clean:
rm -f *.o boot-programs/*.o kernel kernel.raw kernel.raw.gz $(BUILT_SOURCES) $(ARCH_CLEAN_FILES)