pkgsrc/sysutils/fix4SA110rev2/Makefile
abs c1549aab5c fix4SA110rev2 modifies arm32 binaries in an attempt to work around
StrongARM rev2 problems

It attempts to identify the instructions that will cause problems
and moves them to a safe location.  The "safe" location is final
page of the text (code) segment of the executable, which normally
has some spare bytes before the start of the data segment.  Having
moved the instruction, it then puts a branch to the new location
where the old instruction used to be so that things will continue
to work.
2000-10-17 16:47:23 +00:00

23 lines
687 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2000/10/17 16:47:23 abs Exp $
#
DISTNAME= fix4SA110rev2-1.0
NO_WRKSUBDIR= yes
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/arch/arm32/misc/
DISTFILES= fix4SA110rev2.c fix4SA110rev2.README
MAINTAINER= abs@netbsd.org
HOMEPAGE= ftp://ftp.netbsd.org/pub/NetBSD/arch/arm32/misc/fix4SA110rev2.README
ONLY_FOR_PLATFORM= NetBSD-*-arm32
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/fix4SA110rev2 ${WRKSRC}/fix4SA110rev2.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fix4SA110rev2 ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/fix4SA110rev2.README ${PREFIX}/share/doc
.include "../../mk/bsd.pkg.mk"