From 27fc8b56c4d7e737becc5144384848ab2a86a693 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 1 May 2012 12:12:17 +0200 Subject: utilize the tail_build concept for cross-compilation There is a new module cross_tail_build that serves the same purpose for the build side of cross-compilation (started from cross_toolset) as tail_build for the host side. Change-Id: Ic16bae9a7197a1f31cc2dcf31b16bbac68c3300f --- cross_tail_build/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ cross_tail_build/README | 4 ++++ cross_tail_build/prj/build.lst | 2 ++ cross_tail_build/prj/d.lst | 0 4 files changed, 44 insertions(+) create mode 100644 cross_tail_build/Makefile create mode 100644 cross_tail_build/README create mode 100644 cross_tail_build/prj/build.lst create mode 100644 cross_tail_build/prj/d.lst (limited to 'cross_tail_build') diff --git a/cross_tail_build/Makefile b/cross_tail_build/Makefile new file mode 100644 index 000000000000..5fe88caf29c1 --- /dev/null +++ b/cross_tail_build/Makefile @@ -0,0 +1,38 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +gb_PARTIALBUILD := T +ifeq ($(strip $(SOLARENV)),) +include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../config_build.mk +endif + +include $(SOLARENV)/gbuild/gbuild.mk + +$(eval $(call gb_Module_make_global_targets,$(SRCDIR)/Module_cross_tail_build.mk)) + +# vim: set noet sw=4 ts=4: diff --git a/cross_tail_build/README b/cross_tail_build/README new file mode 100644 index 000000000000..fe1adddc54c4 --- /dev/null +++ b/cross_tail_build/README @@ -0,0 +1,4 @@ +This is "tail build" for the build side of cross-compilation + +See [git:tail_build/README] for details what it is good for and how to +add a module to it. diff --git a/cross_tail_build/prj/build.lst b/cross_tail_build/prj/build.lst new file mode 100644 index 000000000000..84ee550fcb53 --- /dev/null +++ b/cross_tail_build/prj/build.lst @@ -0,0 +1,2 @@ +ctb cross_tail_build :: BERKELEYDB:berkeleydb DESKTOP:codemaker comphelper cppuhelper javaunohelper DESKTOP:l10ntools LIBXSLT:libxslt offapi solenv tools ucbhelper unoil NULL +ctb tail_build\prj nmake - all ctb_prj NULL diff --git a/cross_tail_build/prj/d.lst b/cross_tail_build/prj/d.lst new file mode 100644 index 000000000000..e69de29bb2d1 -- cgit