I think I've have an epiphany.
I've been really struggling to understand how to get my build to work, and
it seems the problem is with the configure step of cmake.
I would like to see some mechanism whereby I can delay the completion of
the configure step of a target until the build (and install
I understand the cross-compile process reasonably well. I also have a
fairly good feel for ExternalProject_Add, What I'm trying to do is combine
these ideas but, I am confused about one general issue.
While I am cross-compiling the Linux kernel, I discover that the kernel
requires zlib. So, I
On Sat, Feb 8, 2014 at 2:55 PM, Stefan Eilemann eilem...@gmail.com wrote:
On 8. Feb 2014, at 14:28, David Cole dlrd...@aol.com wrote:
When you give a git repo for ExternalProject, it will *always* execute
the UPDATE_COMMAND by default. And then, all the steps after update will
re-execute
On Sun, Feb 9, 2014 at 1:39 PM, David Cole dlrd...@aol.com wrote:
What does your call to ExternalProject_Add look like now?
ExternalProject_Add(
grub
GIT_REPOSITORY git://git.savannah.gnu.org/grub.git
GIT_TAG grub-2.02-beta2
UPDATE_COMMAND
CONFIGURE_COMMAND ./autogen.sh
On Sun, Feb 9, 2014 at 4:10 PM, Jack Smith smith.jack.sid...@gmail.comwrote:
ExternalProject_Add(
grub
GIT_REPOSITORY git://git.savannah.gnu.org/grub.git
GIT_TAG grub-2.02-beta2
UPDATE_COMMAND
CONFIGURE_COMMAND ./autogen.sh ./configure
BUILD_COMMAND make -j 2
Is there something that I am missing that will prevent make from *always*
calling autogen and configure even though the target has been built and has
not been changed ?
Here is the offending project.
## Grub boot loader
set(PROJECT_NAME grub)
set(PROJECT_URL git://git.savannah.gnu.org/grub.git)
Stephen Kelly wrote
You might consider trying my cross-compiling-toolchain-variables branch in
the git repo.
Thanks but I really want to understand what I can do to get my version
(2.8.0) to work.
Is there some CMAKE_ variable I should be setting in my toolchain file to
point the linker at the