On Sep 19, 2013, at 10:22 AM, William Harrington wrote:
> On Sep 19, 2013, at 4:10 AM, William Harrington wrote:
>
>> Greetings,
>>
>> I added a pure 64 bit ppc book to CLFS a while back and we need to
>> change Config.in so users building the ppc target can select 64-bit.
>
> I described the changes above but this will be easier to track:
One additional change. I didn't set the target triplet for the new
addition when using DATA_64 and PPC.
This should take care of all of the changes for adding ppc64-64 target
book.
Index: Config.in
===================================================================
--- Config.in (revision 3720)
+++ Config.in (working copy)
@@ -44,9 +44,16 @@
#--- Book version
choice
prompt "Release"
- default relSVN
+ default relSVN if BOOK_LFS || BOOK_HLFS
+ default relGIT if BOOK_CLFS || BOOK_CLFS2 ||
BOOK_CLFS3
+
config relSVN
bool "SVN"
+ depends on BOOK_LFS || BOOK_HLFS
+
+ config relGIT
+ bool "GIT"
+ depends on BOOK_CLFS || BOOK_CLFS2 ||
BOOK_CLFS3
help
#-- Current development version as in
trunk
@@ -135,7 +142,7 @@
bool "32-bit"
config DATA_64
- bool "64-bit" if !ARCH_PPC
+ bool "64-bit"
config DATA_MULTI
bool "multilib" if !(BOOK_CLFS3 &&
ARCH_MIPS )
@@ -251,7 +258,7 @@
default "mips64-unknown-linux-uclibc" if
BOOK_CLFS3 && PROC_mips && DATA_64
default "powerpc-unknown-linux-gnu" if
ARCH_PPC && DATA_32
- default "powerpc64-unknown-linux-gnu" if ARCH_PPC
&& DATA_MULTI
+ default "powerpc64-unknown-linux-gnu" if ARCH_PPC
&& (DATA_MULTI || DATA_64)
default "sparc-unknown-linux-gnu" if
ARCH_SPARC && DATA_32
default "sparc64-unknown-linux-gnu" if
ARCH_SPARC && (DATA_64 || DATA_MULTI)
@@ -311,6 +318,7 @@
default "ppc" if ARCH_PPC && DATA_32
default "ppc64" if ARCH_PPC && DATA_MULTI
+ default "ppc64-64" if ARCH_PPC && DATA_64
default "sparc" if ARCH_SPARC && DATA_32
default "sparc64" if ARCH_SPARC && DATA_MULTI
Sincerely,
William Harrington
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page