|
|
1.1 root 1: all: build-all
2: # Dummy command so that make thinks it has done something
3: @true
4:
5: include ../../config-host.mak
1.1.1.2 ! root 6: include $(SRC_PATH)/rules.mak
1.1 root 7:
8: VPATH=$(SRC_PATH)/pc-bios/optionrom
1.1.1.2 ! root 9: .PHONY : all clean build-all
1.1 root 10:
1.1.1.2 ! root 11: CFLAGS := -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin
1.1 root 12: CFLAGS += -I$(SRC_PATH)
1.1.1.2 ! root 13: CFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector)
! 14: QEMU_CFLAGS = $(CFLAGS)
1.1 root 15:
1.1.1.2 ! root 16: build-all: multiboot.bin linuxboot.bin
1.1 root 17:
18: %.img: %.o
1.1.1.2 ! root 19: $(call quiet-command,$(LD) -Ttext 0 -e _start -s -o $@ $<," Building $(TARGET_DIR)$@")
1.1 root 20:
21: %.raw: %.img
1.1.1.2 ! root 22: $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@," Building $(TARGET_DIR)$@")
1.1 root 23:
24: %.bin: %.raw
1.1.1.2 ! root 25: $(call quiet-command,$(SHELL) $(SRC_PATH)/pc-bios/optionrom/signrom.sh $< $@," Signing $(TARGET_DIR)$@")
1.1 root 26:
27: clean:
1.1.1.2 ! root 28: rm -f *.o *.d *.raw *.img *.bin *~
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.