summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-11-27 20:50:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-11-27 20:50:36 +0000
commit3920f11fde11b66e4399864204910fc91fa83e65 (patch)
tree10ed21062e1a03bda4757129ff1356f8bde27a88 /sys
parent9f40edd8a7f4ae3356a04fd6e4ac4494ff0343ac (diff)
Give the tags target a chance to work.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/gumstix/Makefile29
-rw-r--r--sys/arch/moko/Makefile13
2 files changed, 22 insertions, 20 deletions
diff --git a/sys/arch/gumstix/Makefile b/sys/arch/gumstix/Makefile
index 22a37329f94..e4d70a5f041 100644
--- a/sys/arch/gumstix/Makefile
+++ b/sys/arch/gumstix/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.1 2008/11/26 14:18:11 drahn Exp $
+# $OpenBSD: Makefile,v 1.2 2008/11/27 20:50:34 miod Exp $
# $NetBSD: Makefile,v 1.1 2001/06/12 08:32:46 chris Exp $
-# Makefile for zaurus tags file and boot blocks
+# Makefile for gumstix tags file and boot blocks
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
@@ -11,28 +11,29 @@ SUBDIR= stand
NOPROG= noprog
NOMAN= noman
-TZAURUS= $S/arch/zaurus/tags
+TGUMSTIX= $S/arch/gumstix/tags
-SZAURUS= $S/arch/zaurus/dev/*.[ch] $S/arch/zaurus/include/*.h \
- $S/arch/zaurus/zaurus/*.[ch] $S/arch/arm/arm/*.[ch] \
+SGUMSTIX= $S/arch/gumstix/include/*.h \
+ $S/arch/gumstix/gumstix/*.[ch] $S/arch/arm/arm/*.[ch] \
$S/arch/arm/include/*.h $S/arch/arm/mainbus/*.[ch] \
- $S/arch/arm/sa11x0/*.[ch] $S/arch/arm/xscale/*.[ch]
-AZAURUS= $S/arch/zaurus/zaurus/*.S $S/arch/arm/arm/*.S \
+ $S/arch/arm/sa11x0/*.[ch] $S/arch/arm/xscale/*.[ch] \
+ $S/arch/arm/s3c2xx0/*.[ch]
+AGUMSTIX= $S/arch/gumstix/gumstix/*.S $S/arch/arm/arm/*.S \
$S/arch/arm/mainbus/*.S $S/arch/arm/xscale/*.S
# Directories in which to place tags links
-DZAURUS= dev include zaurus
+DGUMSTIX= include gumstix
tags:
- -ctags -wdtf ${TZAURUS} ${SZAURUS} ${COMM}
- egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AZAURUS} | \
+ -ctags -wdtf ${TGUMSTIX} ${SGUMSTIX} ${COMM}
+ egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AGUMSTIX} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
- >> ${TZAURUS}
- sort -o ${TZAURUS} ${TZAURUS}
+ >> ${TGUMSTIX}
+ sort -o ${TGUMSTIX} ${TGUMSTIX}
links:
- -for i in ${DZAURUS}; do \
- (cd $$i && { rm -f tags; ln -s ${TZAURUS} tags; }) done
+ -for i in ${DGUMSTIX}; do \
+ (cd $$i && { rm -f tags; ln -s ${TGUMSTIX} tags; }) done
obj: _SUBDIRUSE
diff --git a/sys/arch/moko/Makefile b/sys/arch/moko/Makefile
index d9ff48db4cc..7b72f4313d1 100644
--- a/sys/arch/moko/Makefile
+++ b/sys/arch/moko/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2008/11/26 14:47:50 drahn Exp $
+# $OpenBSD: Makefile,v 1.2 2008/11/27 20:50:35 miod Exp $
# $NetBSD: Makefile,v 1.1 2001/06/12 08:32:46 chris Exp $
# Makefile for moko tags file and boot blocks
@@ -13,14 +13,15 @@ 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] \
+SMOKO= $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] \
+ $S/arch/arm/s3c2xx0/*.h $S/arch/arm/xscale/*.[ch]
AMOKO= $S/arch/moko/moko/*.S $S/arch/arm/arm/*.S \
- $S/arch/arm/mainbus/*.S
+ $S/arch/arm/mainbus/*.S
# Directories in which to place tags links
-DMOKO= dev include moko
+DMOKO= include moko
tags:
-ctags -wdtf ${TMOKO} ${SMOKO} ${COMM}