2016-08-01 16:04:09 +00:00
|
|
|
all: loader.bin firm.bin
|
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 .
|
|
|
|
firm.bin:
|
|
|
|
$(MAKE) -C kernel
|
|
|
|
mv kernel/mtgos.elf .
|
|
|
|
objcopy -O binary mtgos.elf mtgos.bin
|
|
|
|
./firmlink mtgos
|
|
|
|
rm -rf mtgos.bin
|
|
|
|
clean:
|
2016-08-09 14:18:58 +00:00
|
|
|
find . -name '*.o' -delete
|