|
Rockbox mail archiveSubject: use MEM variable in source - how?use MEM variable in source - how?
From: Uwe Freese <mail_at_uwe-freese.de>
Date: Mon, 3 Mar 2003 12:08:21 +0100 Hello, I want to consider having 8MB or not for the battery runtime estimation. That means some sort of #if MEM=8 ... #endif How should this preprocessor line look like? Since powermgmt.c is in /firmware, do I have to add " MEM=$(MEMORYSIZE)" to the firmware line in the Makefile? Now it looks like: firmware: $(MAKE) -C $(FIRMDIR) TARGET=$(TARGET) $(DEBUG) OBJDIR=$(THISDIR) EXTRA_DEFINES="$(EXTRA_DEFINES)" apps: $(MAKE) -C $(APPSDIR) TARGET=$(TARGET) $(DEBUG) OBJDIR=$(THISDIR) VERSION=$(VERSION) LANGUAGE=$(LANGUAGE) EXTRA_DEFINES="$(EXTRA_DEFINES)" MEM=$(MEMORYSIZE) Bye, Uwe. Received on 2003-03-03 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |