summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/conf/Makefile.loongson
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/loongson/conf/Makefile.loongson')
-rw-r--r--sys/arch/loongson/conf/Makefile.loongson20
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/arch/loongson/conf/Makefile.loongson b/sys/arch/loongson/conf/Makefile.loongson
index 719b1c2e9ba..b22223b6f51 100644
--- a/sys/arch/loongson/conf/Makefile.loongson
+++ b/sys/arch/loongson/conf/Makefile.loongson
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.loongson,v 1.51 2016/10/27 20:44:20 natano Exp $
+# $OpenBSD: Makefile.loongson,v 1.52 2016/11/15 09:08:38 natano Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -124,29 +124,17 @@ vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
sh $S/conf/newvers.sh
${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
-clean::
- rm -f *bsd *bsd.gdb tags *.[dio] [a-z]*.s \
- [Ee]rrs linterrs assym.* ${DB_STRUCTINFO} param.c
+clean:
+ rm -f *bsd *bsd.gdb *.[dio] [a-z]*.s assym.* ${DB_STRUCTINFO} param.c
cleandir: clean
rm -f Makefile *.h ioconf.c options machine ${_mach} vers.c
-lint:
- @lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \
- ${CFILES} ioconf.c param.c | \
- grep -v 'static function .* unused'
-
symbols.sort: ${_machdir}/${_mach}/symbols.raw
grep -v '^#' ${_machdir}/${_mach}/symbols.raw \
| sed 's/^ //' | sort -u > symbols.sort
-obj:
-
-depend:
- @touch $@
-
-tags:
- @echo "see $S/kern/Makefile for tags"
+depend obj:
db_structinfo.h: $S/ddb/db_structinfo.c $S/ddb/parse_structinfo.pl
${CC} ${CFLAGS} ${CPPFLAGS} -MT $@ -gstabs -c $S/ddb/db_structinfo.c