I'm worried about tool chain problems, so I wanted to be able to build with a cross compiler.  This patch adds that functionality to Kconfig.<br><br>This is most of the way there, but doesn't work when CONFIG_CROSS_COMPILE is set.<br>
<br>+ifeq ($(CONFIG_CROSS_COMPILE),y)<br>+CC=$(CONFIG_CROSS_COMPILER)<br>+CCSTRING="XCC"<br>+endif<br><br>If I change it to <br><br>ifneq ($(CONFIG_CROSS_COMPILE),n)<br>...<br>endif<br><br>It always uses the cross compiler.<br>
<br>Can someone spot what I did wrong, please?<br><br>xgcc_debug.diff just prints out the compiler information when you do make clean.  It was a faster way for me to try things, but I still didn't find the correct way to do it.<br>
<br>Signed-off-by: Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>><br><br>Thanks,<br>Myles<br>