2b3fc45d25
There are several modules in tail_build now that are depended on by other modules from postprocess (e.g., pyuno depends on 18npool). That means that build.pl actually schedules i18npool (and its parents) for build. This is fine for build.pl -P1, but it could be a problem for build.pl -P2. It is also wasteful, because we are not actually using tail_build to the full extent. This gross hack schedules all modules that depend on any tail_build module _after_ tail_build, so all modules that are in tail_build are only build in tail_build. Change-Id: I39840c1cbbfc5024f0009296416c628be028657a
48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
|
#
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
# the License or as specified alternatively below. You may obtain a copy of
|
|
# the License at http://www.mozilla.org/MPL/
|
|
#
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
# for the specific language governing rights and limitations under the
|
|
# License.
|
|
#
|
|
# Major Contributor(s):
|
|
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
|
|
# (initial developer)
|
|
#
|
|
# All Rights Reserved.
|
|
#
|
|
# For minor contributions see the git repository.
|
|
#
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
|
# instead of those above.
|
|
|
|
TAIL_BUILD_MODULES :=
|
|
|
|
gb_Module_Module :=
|
|
|
|
define gb_Module_add_moduledirs
|
|
TAIL_BUILD_MODULES += $(2)
|
|
|
|
endef
|
|
|
|
ifneq ($(value TAIL_BUILD_MK),)
|
|
include $(TAIL_BUILD_MK)
|
|
else
|
|
$(error TAIL_BUILD_MK must be set to path to Module_tail_build.mk)
|
|
endif
|
|
|
|
.PHONY : get_modules
|
|
|
|
get_modules :
|
|
@echo $(TAIL_BUILD_MODULES)
|
|
|
|
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
|