Rockbox mail archiveSubject: Re: How to build firmware and other issues
From: Daniel Stenberg (daniel_at_haxx.se)
On Fri, 21 Jun 2002, Alex Gitelman wrote:
> I checked out apps, firmware and tools. A changed all makefiles in apps and
This is really not the best way to do it. Instead do like this:
1. [check out the modules as above]
2. mkdir build-dir
3. cd build-dir
[answer to which target you want to build]
It takes away the need of all manual editing of makefiles etc.
> I switched to tools and run configure, specifying recorder as target.
It is not a good idea to run the configure script in the actual tools
The reason why this is bad is that there already is a Makefile in that
> Then I run make. I get ajbrec.ajz and copy it to recorder. However it does
Tough question. I'm not really sure.
> Are there any instructions on how actually do the build?
This is the instruction linked to from the daily-build page:
> 2. _memcmp could not be resolved so I had to add -lc to linker options in
Oh? What uses memcmp()? We should not rely on any external libc-like library
> 3. I had to manually compile scramble.
It was because you had configure overwrite the makefile in the tools
> 4. Size of firmware I download is 78K while my compiled version is only
I think you're seeing the improvments by Eric Linenberg, the Sokoban map
-- Daniel Stenberg -- Rocking the box => http://bjorn.haxx.se/rockbox/
Page was last modified "Jan 10 2012" The Rockbox Crew