mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
15 lines
451 B
Makefile
15 lines
451 B
Makefile
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
|
|
nodist_pkgdata_DATA = stage1 stage1_lba
|
|
CLEANFILES = $(pkgdata_DATA)
|
|
|
|
# We can't use builtins or standard includes.
|
|
AM_CFLAGS = $(STAGE1_CFLAGS) -fno-builtin -nostdinc
|
|
LDFLAGS = -nostdlib -Wl,-N -Wl,-Ttext -Wl,7C00
|
|
|
|
noinst_PROGRAMS = stage1.exec stage1_lba.exec
|
|
stage1_exec_SOURCES = stage1.S stage1.h
|
|
stage1_lba_exec_SOURCES = stage1_lba.S stage1.h
|
|
|
|
%: %.exec
|
|
$(OBJCOPY) -O binary $< $@
|