mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
14 lines
312 B
Makefile
14 lines
312 B
Makefile
|
|
ARCH = i386
|
|
|
|
CC = gcc
|
|
|
|
CFLAGS = -I ../include -I ../include/$(ARCH) -O2 -DZKERNEL_START=0xfff00000
|
|
|
|
DEPS = ../lib/_main.o bootselect.o rom_fill_inbuf.o chooser.o ../lib/baremetal.a
|
|
|
|
bootselect.elf: $(DEPS)
|
|
ld -defsym HEAPSIZE=0x8000 -T elfImage.lds $(DEPS) -o bootselect.elf
|
|
|
|
clean:
|
|
rm bootselect.elf *.o
|