Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re[2]: use MEM variable in source - how?

Re[2]: use MEM variable in source - how?

From: Uwe Freese <mail_at_uwe-freese.de>
Date: Mon, 3 Mar 2003 14:26:48 +0100

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/app.lds.

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

Bye, Uwe.
Received on 2003-03-03

Page was last modified "Sat May 23 08:12:40 2020" The Rockbox Crew