artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fdad17
)
Build machinery to build eeprom(8) for the installation media on arches where
author
miod
<miod@openbsd.org>
Thu, 24 Jul 2014 19:21:06 +0000
(19:21 +0000)
committer
miod
<miod@openbsd.org>
Thu, 24 Jul 2014 19:21:06 +0000
(19:21 +0000)
it matters.
distrib/special/eeprom/Makefile
[new file with mode: 0644]
patch
|
blob
diff --git a/distrib/special/eeprom/Makefile
b/distrib/special/eeprom/Makefile
new file mode 100644
(file)
index 0000000..
f256ac1
--- /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>