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 add
On Sun, Feb 9, 2014 at 4:10 PM, Jack Smith wrote:
>
>
> 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
>
On Sun, Feb 9, 2014 at 1:39 PM, David Cole 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 && ./configure
On Sat, Feb 8, 2014 at 2:55 PM, Stefan Eilemann wrote:
>
> On 8. Feb 2014, at 14:28, David Cole 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 since update re-ran.
>
> We
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)
s
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 th
Hello,
I'm confused by an issue that I am having with a project I have recently
joined.
We are cross compiling for ARM on linux.
I have the cross compiler toolchain installed at /CC_TOOLCHAIN
I set CMAKE_SYSROOT_PATH appropriately, then do this in my toolchain file:
set(CMAKE_FIND_ROOT_PATH "$