blob: 901ca65e603f942b6acbfe033b829de00cacfcde [file] [log] [blame] [raw]
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
nodist_pkgdata_DATA = stage1
CLEANFILES = $(pkgdata_DATA)
# We can't use builtins or standard includes.
AM_CFLAGS = -fno-builtin -nostdinc
noinst_PROGRAMS = stage1.exec
stage1_exec_SOURCES = stage1.S
stage1.exec: stage1.o
$(LD) -N -Ttext 7C00 -o $@ $<
stage1: stage1.exec
$(OBJCOPY) -O binary $< $@