nxdk icon indicating copy to clipboard operation
nxdk copied to clipboard

Makefile provides no way to set cxbe `-MODE` option

Open GXTX opened this issue 3 years ago • 2 comments

DEBUG = y should imply building for debug entry and thunk imo

GXTX avatar Feb 19 '22 03:02 GXTX

Makefile provides no way to set cxbe -MODE option

We have been in the process of slowly transitioning away from using one Makefile for everything for a while now (hence the introduction of the wrapper scripts). If you need more control over the build process, you should use your own build system - this will eventually become the only supported way anyway.

DEBUG = y should imply building for debug entry and thunk imo

This variable is intended for adding debug info (DWARF 4 in our case), not for building debug XBEs. Building a debug XBE is of limited use without being able to sign it for use on a stock debug kit, but can still be done by using your own build system.

thrimbor avatar Feb 19 '22 07:02 thrimbor

This issue and the response by thrimbor should probably be migrated into a help article, so this issue can be closed.

JayFoxRox avatar Feb 19 '22 11:02 JayFoxRox