Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 21:02:15 GMT
From:      vwe@FreeBSD.org
To:        vwe@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-embedded@FreeBSD.org
Subject:   Re: misc/135588: [nanobsd] simple patch for adding amd64 support
Message-ID:  <200906162102.n5GL2F9W097937@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: [nanobsd] simple patch for adding amd64 support

Responsible-Changed-From-To: freebsd-bugs->freebsd-embedded
Responsible-Changed-By: vwe
Responsible-Changed-When: Tue Jun 16 21:00:32 UTC 2009
Responsible-Changed-Why: 
I hate code duplication. If it's really the same code, there's no need to
copy'n paste. It's much simpler to maintain something like the following
patch.
Over to maintainer(s).

sample replacement patch may look like:

--- nanobsd.sh.orig	2009-06-16 22:56:29.000000000 +0200
+++ nanobsd.sh	2009-06-16 23:00:09.000000000 +0200
@@ -490,6 +490,10 @@
 	) > ${MAKEOBJDIRPREFIX}/_.di 2>&1
 )
 
+create_amd64_diskimage ( ) (
+	create_i386_diskimage $@
+)
+
 last_orders () (
 	# Redefine this function with any last orders you may have
 	# after the build completed, for instance to copy the finished


http://www.freebsd.org/cgi/query-pr.cgi?pr=135588



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906162102.n5GL2F9W097937>