summaryrefslogtreecommitdiff
path: root/silo/silo_1.4.8.oe
blob: 21e426375903448f25bd19210510d7a541a7b2b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DEPENDS = "elftoaout-native"

SRC_URI = "http://www.sparc-boot.org/pub/silo/silo-${PV}.tar.bz2 \
	file://cross.patch;patch=1"

do_compile() {
	oe_runmake CC="${CC} -m32" LD="${LD}" HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" OECFLAGS="${CFLAGS}" OELDFLAGS="-L${STAGING_LIBDIR} -rpath-link ${STAGING_LIBDIR}" NM="${TARGET_SYS}-nm"
}

do_stage() {
	install tilo/maketilo ${STAGING_BINDIR}
	install tilo/tilo.sh ${STAGING_BINDIR}
}