Change Details
| Makefile |
| 47 | 47 | $(LD) $(LDFLAGS) $(filter %.o,$^) -o $@ |
| 48 | 48 | $(OBJCOPY) -S $(OBJCOPYFLAGS) $@ |
| 49 | 49 | |
| 50 | | fs/%.elf: source/crt0.o source/%.o |
| 50 | fs/%.elf: source/crt0.o source/%.o fs/init.config |
| 51 | 51 | $(LD) $(LDFLAGS) $(filter %.o,$^) -o $@ |
| 52 | 52 | $(OBJCOPY) -S $(OBJCOPYFLAGS) $@ |
| 53 | 53 | |
| 54 | 54 | fs/%: % |
| 55 | test -d fs || mkdir fs |
| 55 | 56 | ln -s ../$< $@ |
| 56 | 57 | |
| 57 | 58 | clean: |
| 58 | 59 | rm -f *.o boot-programs/*.o $(BUILT_SOURCES) $(ARCH_CLEAN_FILES) |
| 60 | rm -rf fs/ |
| 59 | 61 | |
| 60 | 62 | debug: |
| 61 | 63 | stty -F $(SERIAL) raw 9600 |
| mips/nanonote/Makefile.arch |
| 44 | 44 | threadlist = mips/nanonote/threadlist-sd |
| 45 | 45 | ARCH_CXXFLAGS = -DNUM_THREADS=4 |
| 46 | 46 | all: iris-sd.tar |
| 47 | | iris-sd.tar: $(addprefix fs/,$(addsuffix .elf,$(programs))) iris.raw init.config |
| 47 | iris-sd.tar: $(addprefix fs/,$(addsuffix .elf,$(programs))) iris.raw fs/init.config |
| 48 | 48 | mkimage -A mips -T kernel -a $(load) -e a$(shell /bin/sh -c '$(OBJDUMP) -t iris.elf | grep __start$$ | cut -b2-8') -n Iris -d iris.raw fs/uimage | sed -e 's/:/;/g' |
| 49 | 49 | cd fs && tar cvf ../$@ uimage init.config $(addsuffix .elf,$(programs)) --dereference |
| 50 | 50 | endif |
Download the corresponding diff file