From 8c0bacb71bee1ba1a169af8ebda59567a87ef88f Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Wed, 26 Nov 2008 14:47:51 +0000 Subject: Start at the port of OpenBSD to the OpenMoko hardware. Work in progress. --- sys/arch/moko/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 sys/arch/moko/Makefile (limited to 'sys/arch/moko/Makefile') diff --git a/sys/arch/moko/Makefile b/sys/arch/moko/Makefile new file mode 100644 index 00000000000..d9ff48db4cc --- /dev/null +++ b/sys/arch/moko/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.1 2008/11/26 14:47:50 drahn Exp $ +# $NetBSD: Makefile,v 1.1 2001/06/12 08:32:46 chris Exp $ + +# Makefile for moko tags file and boot blocks + +S=${.CURDIR}/../.. +.include "$S/kern/Make.tags.inc" + +SUBDIR= stand + +NOPROG= noprog +NOMAN= noman + +TMOKO= $S/arch/moko/tags + +SMOKO= $S/arch/moko/dev/*.[ch] $S/arch/moko/include/*.h \ + $S/arch/moko/moko/*.[ch] $S/arch/arm/arm/*.[ch] \ + $S/arch/arm/include/*.h $S/arch/arm/mainbus/*.[ch] \ +AMOKO= $S/arch/moko/moko/*.S $S/arch/arm/arm/*.S \ + $S/arch/arm/mainbus/*.S + +# Directories in which to place tags links +DMOKO= dev include moko + +tags: + -ctags -wdtf ${TMOKO} ${SMOKO} ${COMM} + egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMOKO} | \ + sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ + >> ${TMOKO} + sort -o ${TMOKO} ${TMOKO} + +links: + -for i in ${DMOKO}; do \ + (cd $$i && { rm -f tags; ln -s ${TMOKO} tags; }) done + +obj: _SUBDIRUSE + +.include -- cgit v1.2.3