From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 26 Jan 2011 00:25:16 +0100 Subject: [Buildroot] [PATCH v2 2/4] Add CMAKETARGETS infrastructure for CMake packages In-Reply-To: <1295124808-5649-3-git-send-email-bjorn.forsman@gmail.com> References: <1295124808-5649-1-git-send-email-bjorn.forsman@gmail.com> <1295124808-5649-3-git-send-email-bjorn.forsman@gmail.com> Message-ID: <20110126002516.662ad0c5@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Sat, 15 Jan 2011 21:53:26 +0100 Bj?rn Forsman wrote: > +$(2)_INSTALL_HOST_OPT ?= DESTDIR=$$(HOST_DIR) install $(2)_INSTALL_HOST_OPT ?= install should be sufficient if: > + -DCMAKE_INSTALL_PREFIX="/usr" \ is replaced by: > + -DCMAKE_INSTALL_PREFIX="$(HOST_DIR)/usr" \ for host packages. I think, like for autotools packages, it is more technically correct to set the installation prefix to $(HOST_DIR)/usr rather than /usr. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com