summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-11-01 12:43:28 +0100
committerMichael Stahl <mstahl@redhat.com>2013-11-02 22:07:53 +0100
commit73f1b1967263d76ea1825b157059cd30ad73cb08 (patch)
treee0a1fb8dfe6e34443b59787309d8cc7135b4b6b9 /solenv
parent077c428cae6c09e464c0d1a547f169528b742a61 (diff)
gbuild: gb_LinkTarget__get_headers_check can signal error now
... since no external link targets not with gbuild should be used via gb_LinkTarget_use_library/static_library. Change-Id: I1c3188dbbe2eaa2f5acfb8944a79ad3b67a95998
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/LinkTarget.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index f646a8fa884a..66ba97359a80 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -485,14 +485,9 @@ endif
# target. When the rule for the headertarget is executed and SELF does not
# match the target name, we are depending on a linktarget that was never
# declared. In a full build exclusively in gbuild that should never happen.
-# However, partial gbuild build will not know about how to build lower level
-# linktargets, just as gbuild can not know about linktargets generated in the
-# old build.pl/dmake system. Once all is migrated, gbuild should error out
-# when is is told to depend on a linktarget it does not know about and not
-# only warn.
define gb_LinkTarget__get_headers_check
ifneq ($$(SELF),$$*)
-$$(eval $$(call gb_Output_info,LinkTarget $$* not defined: Assuming headers to be there!,ALL))
+$$(eval $$(call gb_Output_error,used LinkTarget $$* not defined))
endif
$$@ : COMMAND := $$(call gb_Helper_abbreviate_dirs, touch $$@)