Sign in

gwj / at91sam9263 · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Snippets
  • at91sam9263
  • pc-bios
  • Makefile
  • added precompiled linux boot sector ...
    a735aa31
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@652 c046a42c-6fe2-441c-8c8c-71466251a162
    bellard authored
    2004-02-25 23:54:25 +0000  
    Browse Code ยป
Makefile 328 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#
# NOTE: only compilable with x86 cross compile tools
#
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 $@ $<

clean:
	rm -f $(TARGETS) *.o *~