misc/135588: [nanobsd] simple patch for adding amd64 support

vwe at FreeBSD.org vwe at FreeBSD.org
Tue Jun 16 21:02:16 UTC 2009


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


More information about the freebsd-bugs mailing list