--- qemu/pc-bios/Makefile 2018/04/24 16:37:52 1.1.1.1 +++ qemu/pc-bios/Makefile 2018/04/24 17:26:41 1.1.1.4 @@ -6,19 +6,14 @@ include ../config-host.mak DEFINES= TARGETS= -ifeq ($(ARCH),i386) -TARGETS+=linux_boot.bin -endif all: $(TARGETS) -linux_boot.bin: linux_boot.o - ld --oformat binary -Ttext 0 -o $@ $< - chmod a-x $@ - %.o: %.S $(CC) $(DEFINES) -c -o $@ $< +%.dtb: %.dts + dtc -I dts -O dtb -o $@ $< + clean: rm -f $(TARGETS) *.o *~ -