Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7708403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:36:13+00:00 2026-06-01T00:36:13+00:00

We have an underlying .h file in our platform code that needs built differently

  • 0

We have an underlying .h file in our platform code that needs built differently depending on if we are building the kernel or the EBOOT. I am trying to script this to avoid the surefire errors that will occur if we leave it up to manually changing the file each time we do the EBOOT build.

Here is the part of the code that needs to change

// To disable debug port messages altogether, define DEBUG_PORT to 0
#ifdef DEBUG
#define DEBUG_PORT              DBG_UART1
#pragma message ( "DEBUG defined" )
#elsif ITT_EBOOT
#define DEBUG_PORT              DBG_UART1
#pragma message ( "DEBUG defined" )
#else
#define DEBUG_PORT              0
#pragma message ( "DEBUG disabled" )
#endif

Here is the build scrip that I have. It works and builds the needed files but the build logs are always coming back with the DEBUG disabled message

REM Build the EBOOT with the changes needed for the UART 
REM Change into the directory
REM Rebuild the BSPCMN subproject
PUSHD .
CD C:\WINCE600\PLATFORM\iMX25-3DS-PDK1_7\src\COMMON\BSPCMN\
SET ITT_EBOOT_SWITCH=1
SET WINCEREL=1&&build -c&&makeimg
POPD

REM Change into the directory
REM Rebuild the EBOOT subproject
PUSHD .
CD C:\WINCE600\PLATFORM\iMX25-3DS-PDK1_7\src\BOOTLOADER\EBOOT\
SET WINCEREL=1&&build -c&&makeimg
POPD

The sources file of the affected project is here:

!if 0
Copyright (C) 2007-2008, Freescale Semiconductor, Inc. All Rights Reserved.
THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT
!endif

!IF "$(ITT_EBOOT_SWITCH)" == "1"
CDEFINES=$(CDEFINES) -DITT_EBOOT
!ENDIF

TARGETNAME=bspcmn
TARGETTYPE=LIBRARY

NOMIPS16CODE=1

SOURCES=\
    bspargs.c \
    debugserial.c
FILE_VIEW_INCLUDES_FOLDER= \
    ..\..\INC\bsp_cfg.h \

Any help would be hugely welcome, I have been working for most of the last couple days to try to get the intended build behavior

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T00:36:15+00:00Added an answer on June 1, 2026 at 12:36 am

    I was able to get this to work by adding the SET before a clean sysgen. The calling the rebuild of the BSPCMN.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a data file in INI file like format that needs to be
I have an underlying ruby game-engine code and I want to use the web
I have an entity class that has a property with an underlying db column
I have a webpage that I don't have the ability to change the underlying
We have a simple binary file format for caching data in our application (C#
I have a file that contains some amount of plain text at the start
I have a Zip archive with a large (important) file that will not extract.
I have two functions whose underlying logic is the same but in one case
The underlying problem - let's say my documents have categories and timestamps . If
I have a report in MS Access where the underlying data in the tables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.