Hello,

I'm looking for some ideas on how to sensibly go about setting up a PTXdist 
project that requires the kernel to be build using a different toolchain. 
Specifically, the userland component needs to be 32-bit x86 running on a 64-bit 
kernel. I can achieve this via a roundabout route of building the kernel 
outside of PTXdist completely, then having a dedicated package which copies 
across the modules onto the rootfs. As an approach that's fine & is probably 
the path of least resistance however ideally, I'd like to then prevent PTXdist 
from building the kernel itself (currently does it for 32-bit) because that's 
just a bit pointless. Initially tried just de-selecting the Linux kernel from 
the platformconfig menu however that throws an error immediately:

ptxdist: error: ptxdist-2022.11.0/rules/pre/kernel.make: PTXCONF_KERNEL_VERSION 
is undefined or empty
ptxdist: error: ptxdist-2022.11.0/rules/kernel-checks.make: 
PTXCONF_KERNEL_VERSION is empty
ptxdist: error: ptxdist-2022.11.0/rules/kernel-checks.make: please run ptxdist 
platformconfig and activate the kernel

The other option of course is whether there is any means of specifying a 
different toolchain for the kernel build, I note there is a "compiler prefix 
(kernel)" option in the platformconfig but that just yields the first part of 
the compiler executable, rather than a complete path to where the 64-bit 
toolchain lives.

Thanks,

Jon.

This message and/or attachments may include information subject to General 
Dynamics Corporate and General Dynamics Mission Systems Security and/or IT 
policies and is intended to be accessed only by authorized recipients. Use, 
storage and transmission are governed by General Dynamics and its policies. 
Contractual restrictions apply to third parties. Recipients should refer to the 
applicable policies or contract to determine proper handling. Unauthorized 
review, use, disclosure or distribution is prohibited. If you are not an 
intended recipient, please contact the sender and destroy all copies of the 
original message.

Reply via email to