XboxDev / nxdk

The cross-platform, open-source SDK to develop for original Xbox: *new* xdk
445 stars 68 forks source link

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

Open GXTX opened 2 years ago

GXTX commented 2 years ago

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

thrimbor commented 2 years ago

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.

JayFoxRox commented 2 years ago

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