Discussion:
svn commit: r217054 - head/sys/powerpc/conf
(too old to reply)
Nathan Whitehorn
2011-01-06 14:12:24 UTC
Permalink
Author: nwhitehorn
Date: Thu Jan 6 14:12:24 2011
New Revision: 217054
URL: http://svn.freebsd.org/changeset/base/217054

Log:
Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is
built for both architectures. We need a better solution here.

Modified:
head/sys/powerpc/conf/NOTES

Modified: head/sys/powerpc/conf/NOTES
==============================================================================
--- head/sys/powerpc/conf/NOTES Thu Jan 6 13:21:38 2011 (r217053)
+++ head/sys/powerpc/conf/NOTES Thu Jan 6 14:12:24 2011 (r217054)
@@ -20,7 +20,7 @@ options FPU_EMU

#options MPC85XX
options POWERMAC #NewWorld Apple PowerMacs
-options PS3 #Sony Playstation 3
+#options PS3 #Sony Playstation 3
options PSIM #GDB PSIM ppc simulator
options MAMBO #IBM Mambo Full System Simulator
John Baldwin
2011-01-06 15:07:02 UTC
Permalink
Post by Nathan Whitehorn
Author: nwhitehorn
Date: Thu Jan 6 14:12:24 2011
New Revision: 217054
URL: http://svn.freebsd.org/changeset/base/217054
Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is
built for both architectures. We need a better solution here.
NOTES64? (At some point it almost seems that a sys/powerpc64/conf/ with
GENERIC and NOTES would be simpler even if that is all the sys/powerpc64
directory contained).
Post by Nathan Whitehorn
head/sys/powerpc/conf/NOTES
Modified: head/sys/powerpc/conf/NOTES
==============================================================================
Post by Nathan Whitehorn
--- head/sys/powerpc/conf/NOTES Thu Jan 6 13:21:38 2011 (r217053)
+++ head/sys/powerpc/conf/NOTES Thu Jan 6 14:12:24 2011 (r217054)
@@ -20,7 +20,7 @@ options FPU_EMU
#options MPC85XX
options POWERMAC #NewWorld Apple PowerMacs
-options PS3 #Sony Playstation 3
+#options PS3 #Sony Playstation 3
options PSIM #GDB PSIM ppc simulator
options MAMBO #IBM Mambo Full System Simulator
--
John Baldwin
Nathan Whitehorn
2011-01-06 15:24:14 UTC
Permalink
Post by John Baldwin
Post by Nathan Whitehorn
Author: nwhitehorn
Date: Thu Jan 6 14:12:24 2011
New Revision: 217054
URL: http://svn.freebsd.org/changeset/base/217054
Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is
built for both architectures. We need a better solution here.
NOTES64? (At some point it almost seems that a sys/powerpc64/conf/ with
GENERIC and NOTES would be simpler even if that is all the sys/powerpc64
directory contained).
Adding a /sys/powerpc64/conf makes all kinds of things harder, since it
implies MACHINE=powerpc64. You then have to duplicate all the stuff in
/sys/conf, special-case things in /sys/boot, add tons of stub headers,
etc., etc. I had this while developing, and it was much worse to deal
with than the current setup -- and while developing, I could use
symlinks in the tree.

A NOTES64, or conditional logic in config(8), are better solutions, I think.
-Nathan

Loading...