diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-24 19:21:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-24 19:21:07 +0000 |
commit | f8d15456a251c7e3035e7197e989b4a23baabc36 (patch) | |
tree | 1f548bd81caae88c85dd8d17532aebb932d53674 /distrib/special | |
parent | c96a147535992caa2aba889c7d24ea03ca93befb (diff) |
Build machinery to build eeprom(8) for the installation media on arches where
it matters.
Diffstat (limited to 'distrib/special')
-rw-r--r-- | distrib/special/eeprom/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/distrib/special/eeprom/Makefile b/distrib/special/eeprom/Makefile new file mode 100644 index 00000000000..f256ac10cb3 --- /dev/null +++ b/distrib/special/eeprom/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1 2014/07/24 19:21:06 miod Exp $ + +.PATH: ${.CURDIR}/../../../usr.sbin/eeprom + +.if ${MACHINE} == "macppc" || ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" +PROG= eeprom + +SRCS= main.c +SRCS+= ophandlers.c optree.c + +. if ${MACHINE} == "sparc" +SRCS+= eehandlers.c +. endif + +CFLAGS+= -DSMALL +.else +NOPROG=yes +.endif + +.include <bsd.prog.mk> |