2016-08-20 19:55:07 +00:00
|
|
|
all: loader.bin mtgos.firm
|
2016-08-02 19:27:44 +00:00
|
|
|
$(MAKE) -C modules
|
2016-08-01 16:04:09 +00:00
|
|
|
loader.bin:
|
|
|
|
$(MAKE) -C boot
|
|
|
|
mv boot/loader.bin .
|
2016-08-20 19:55:07 +00:00
|
|
|
mtgos.firm:
|
2016-08-01 16:04:09 +00:00
|
|
|
$(MAKE) -C kernel
|
|
|
|
mv kernel/mtgos.elf .
|
|
|
|
objcopy -O binary mtgos.elf mtgos.bin
|
|
|
|
./firmlink mtgos
|
|
|
|
rm -rf mtgos.bin
|
|
|
|
clean:
|
2016-08-20 19:55:07 +00:00
|
|
|
find . -name '*.o' -delete
|