blob: 90f5566a8aa010c23f37f29ed6a289ead4779105 [file] [log] [blame] [raw]
pkglibdir = $(libdir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
nodist_pkglib_DATA = stage1
CLEANFILES = $(nodist_pkglib_DATA)
# We can't use builtins or standard includes.
AM_CCASFLAGS = $(STAGE1_CFLAGS) -fno-builtin -nostdinc
LDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00 $(BIN_LDFLAGS)
noinst_PROGRAMS = stage1.exec
stage1_exec_SOURCES = stage1.S stage1.h
SUFFIXES = .exec
%: %.exec$(EXEEXT)
$(OBJCOPY) -O binary $< $@