Cross Reference: Makefile
xref
: /
illumos-gate
/
usr
/
src
/
boot
/
sys
/
boot
/
arm
/
at91
/
boot2
/
Makefile
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
# $FreeBSD$
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
.
PATH
: ${.
CURDIR
}/../
libat91
${.
CURDIR
}/../
bootspi
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
P=
boot2
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
FILES
=${P}
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
SRCS
=
arm_init.S
boot2.c
${
BOOT_FLAVOR
:
tl
}
_board.c
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
MAN
=
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
LDFLAGS
=-e
0
-T ${.
CURDIR
}/../
linker.cfg
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
OBJS
+= ${
SRCS
:N*.h:R:S/$/.o/g}
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
.
include
<
bsd.prog.mk
>
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
.
if
${
BOOT_FLAVOR
} ==
"kb920x"
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
CFLAGS
+=-
DBOOT_IIC
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
.
endif
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
CFLAGS
+= \
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
-I${.
CURDIR
}/../
bootspi
\
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
-I${.
CURDIR
}/../../../
common
\
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
-I${.
CURDIR
}/../../../.. \
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
-
D_KERNEL
\
199767f8919635c4928607450d9e0abb932109ce
Toomas Soome
-
DUFS1_ONLY