dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re[2]: use MEM variable in source - how?
From: Uwe Freese (
Date: 2003-03-03

Hello Daniel,

Daniel Stenberg wrote on Monday, March 3, 2003, 12:23:30 PM:

>> #if MEM=8
>> How should this preprocessor line look like?

DS> You need to fiddle with the firmware as well? Ok, yes then you need to fix
DS> how the main Makefile is generated.

DS> You'll also need to edit both the firmware/Makefile and apps/Makefile and set
DS> MEMORYSIZE=$(MEM) in the CFLAGS variable so that you can do conditions in the
DS> style currently used in firmware/

Thanks, it worked. If it seems strange to you, feel free to
rename/change things (I'm not so familiar with Makefiles).

Bye, Uwe.

Page was last modified "Jan 10 2012" The Rockbox Crew