NetBSD Problem Report #31911
From firstname.lastname@example.org Tue Oct 25 00:08:00 2005
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 47EA263B8EE; Tue, 25 Oct 2005 00:08:00 +0000 (UTC)
Date: Tue, 25 Oct 2005 00:08:00 +0000 (UTC)
Subject: desire move of yamon from evbmips to master mips
>Synopsis: desire move of yamon from evbmips to master mips
>Arrival-Date: Tue Oct 25 00:08:00 +0000 2005
>Originator: Garrett D'Amore
>Release: -current (3.99.10)
Tadpole Computer, Inc.
NetBSD cabernet 3.99.10 NetBSD 3.99.10 (PB1000) #17: Mon Oct 24 14:32:47 PDT 2005 garrett@zippy:/home/garrett/work/meteor/netbsd/src/sys/arch/evbmips/compile/obj/PB1000 evbmips
Right now the yamon support is localized in the evbmips port. However, other ports might like to use this, since the yamon code is basically just generic MIPS code. I have a port called "aumips" (updated port for the Alchemy SoCs) that needs it.
It is much more convenient for other ports which use yamon if the yamon code is centralized.
I'm not sure how to represent file moves using cvs diff, so here are the changes:
mv src/sys/arch/evbmips/evbmips/yamon.c src/sys/arch/mips/yamon
mv src/sys/arch/evbmips/include/yamon.h src/sys/arch/mips/include
<cvs add/remove steps omitted>
You then have to replace evbmips/include/yamon.h with a file like this:
---> start <----
/* $NetBSD$ */
----> fini <----
I seem to recall that pretty much everything that needs to include yamon.h does it by <machine/yamon.h>, so this takes care of it.
The final step are diffs to the files.pb1000 and files.malta files in the src/sys/arch/evbmips/conf directories: the yamon.c file has moved, so they should each be changed to read:
(Hmm... perhaps there should be a files.yamon file that gets included, it might be "cleaner". I leave that decision to the port maintainer.)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.