mirror of
git://projects.qi-hardware.com/iris.git
synced 2025-04-21 12:27:27 +03:00
fix build process, thanks to Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
4
Makefile
4
Makefile
@@ -47,15 +47,17 @@ PYPP = /usr/bin/pypp
|
||||
$(LD) $(LDFLAGS) $(filter %.o,$^) -o $@
|
||||
$(OBJCOPY) -S $(OBJCOPYFLAGS) $@
|
||||
|
||||
fs/%.elf: source/crt0.o source/%.o
|
||||
fs/%.elf: source/crt0.o source/%.o fs/init.config
|
||||
$(LD) $(LDFLAGS) $(filter %.o,$^) -o $@
|
||||
$(OBJCOPY) -S $(OBJCOPYFLAGS) $@
|
||||
|
||||
fs/%: %
|
||||
test -d fs || mkdir fs
|
||||
ln -s ../$< $@
|
||||
|
||||
clean:
|
||||
rm -f *.o boot-programs/*.o $(BUILT_SOURCES) $(ARCH_CLEAN_FILES)
|
||||
rm -rf fs/
|
||||
|
||||
debug:
|
||||
stty -F $(SERIAL) raw 9600
|
||||
|
||||
Reference in New Issue
Block a user