summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/conf
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-11-15 09:08:39 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-11-15 09:08:39 +0000
commitb63cb4199d1c437d88df69a500882996bca31d11 (patch)
treefc71fecb39ab56497f7806eee5a119e5cdfed2ab /sys/arch/loongson/conf
parent1fd9dbac863c4dc36525588bfe4d58db74b25dfe (diff)
Clean up the kernel Makefile's:
- Remove the 'lint' target. lint has been removed with OpenBSD 5.2. - Remove the 'tags' target. It does nothing of value. - Replace 'clean::' with 'clean:', as requested by espie and millert, and remove files from the 'clean' target, that are never generated. - Don't create a file called 'depend' in 'make depend', but just do nothing instead. ok mpi tb
Diffstat (limited to 'sys/arch/loongson/conf')
-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