summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2021-06-15 13:50:48 +1200
committerAndrew Bartlett <abartlet@samba.org>2021-06-15 22:41:34 +0000
commitf810e9119f3862bf238297f82940420c5bd2df4a (patch)
tree4e3af724eb6f74acc51d7efb13dde0b5374f4e29
parent4be71c7a0594fd54fbf6949df49973cd4f9eabe8 (diff)
downloadsamba-f810e9119f3862bf238297f82940420c5bd2df4a.tar.gz
heimdal_build: Set up new build groups for the Heimdal hostcc components
This is based on various patches by Stefan Metzmacher in the patch set for the Heimdal upgrade. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--buildtools/wafsamba/wafsamba.py10
-rw-r--r--lib/replace/wscript2
-rw-r--r--source4/heimdal_build/wscript_build17
3 files changed, 14 insertions, 15 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 9c8aa36d61c..2dfd5e6e44b 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -717,13 +717,13 @@ def SETUP_BUILD_GROUPS(bld):
bld.p_ln = bld.srcnode # we do want to see all targets!
bld.env['USING_BUILD_GROUPS'] = True
bld.add_group('setup')
- bld.add_group('build_compiler_source')
+ bld.add_group('generators')
+ bld.add_group('hostcc_base_build_source')
+ bld.add_group('hostcc_base_build_main')
+ bld.add_group('hostcc_build_source')
+ bld.add_group('hostcc_build_main')
bld.add_group('vscripts')
bld.add_group('base_libraries')
- bld.add_group('generators')
- bld.add_group('compiler_prototypes')
- bld.add_group('compiler_libraries')
- bld.add_group('build_compilers')
bld.add_group('build_source')
bld.add_group('prototypes')
bld.add_group('headers')
diff --git a/lib/replace/wscript b/lib/replace/wscript
index dac3042bb65..5d6324ef619 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -870,7 +870,7 @@ def build(bld):
REPLACE_HOSTCC_SOURCE,
use_hostcc=True,
use_global_deps=False,
- group='compiler_libraries',
+ group='hostcc_base_build_main',
deps = extra_libs
)
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build
index b6403f33f35..8e94fc154ab 100644
--- a/source4/heimdal_build/wscript_build
+++ b/source4/heimdal_build/wscript_build
@@ -146,7 +146,7 @@ def HEIMDAL_ERRTABLE(name, source):
if not SET_TARGET_TYPE(bld, name, 'ET'):
return
- bld.set_group('build_source')
+ bld.set_group('hostcc_build_source')
out_files = []
out_files.append('%s.c' % bname)
@@ -354,7 +354,7 @@ if not bld.CONFIG_SET('USING_SYSTEM_ROKEN'):
if not bld.CONFIG_SET('HAVE_ERR_H'):
HEIMDAL_GENERATOR(
- group='build_compiler_source',
+ group='hostcc_base_build_source',
name="HEIMDAL_ERR_H",
rule="rm -f ${TGT} && ln ${SRC} ${TGT}",
source = '../heimdal/lib/roken/err.hin',
@@ -416,7 +416,7 @@ if not bld.CONFIG_SET('USING_SYSTEM_ROKEN'):
use_hostcc=True,
use_global_deps=False,
includes='../heimdal/lib/roken ../heimdal/include ../heimdal_build/include',
- group='compiler_libraries',
+ group='hostcc_base_build_main',
deps='LIBREPLACE_HOSTCC',
)
@@ -680,13 +680,13 @@ if not bld.CONFIG_SET("USING_SYSTEM_ASN1"):
HEIMDAL_AUTOPROTO('lib/asn1/der-protos.h',
HEIMDAL_HEIM_ASN1_DER_SOURCE,
- group = 'compiler_prototypes',
+ group='hostcc_build_source',
options="-q -P comment -o")
HEIMDAL_AUTOPROTO('lib/asn1/der-private.h',
HEIMDAL_HEIM_ASN1_DER_SOURCE,
- group = 'compiler_prototypes',
+ group='hostcc_build_source',
options="-q -P comment -p")
HEIMDAL_ERRTABLE('HEIMDAL_ASN1_ERR_ET', 'lib/asn1/asn1_err.et')
@@ -894,14 +894,13 @@ if not bld.CONFIG_SET('USING_SYSTEM_COM_ERR'):
HEIMDAL_SUBSYSTEM('HEIMDAL_VERS_HOSTCC',
'lib/vers/print_version.c ../heimdal_build/version.c',
- group='build_compilers',
+ group='hostcc_base_build_main',
deps='LIBREPLACE_HOSTCC ROKEN_HOSTCC',
use_global_deps=False,
use_hostcc=True)
HEIMDAL_SUBSYSTEM('HEIMDAL_VERS',
'lib/vers/print_version.c ../heimdal_build/version.c',
- group='build_compilers',
deps='roken replace')
@@ -916,7 +915,7 @@ if not bld.CONFIG_SET('USING_SYSTEM_ASN1_COMPILE'):
use_hostcc=True,
use_global_deps=False,
includes='../heimdal/lib/asn1',
- group='build_compilers',
+ group='hostcc_build_main',
deps='ROKEN_HOSTCC LIBREPLACE_HOSTCC HEIMDAL_VERS_HOSTCC',
install=False
)
@@ -929,7 +928,7 @@ if not bld.CONFIG_SET('USING_SYSTEM_COMPILE_ET'):
use_hostcc=True,
use_global_deps=False,
includes='../heimdal/lib/com_err',
- group='build_compilers',
+ group='hostcc_base_build_main',
deps='ROKEN_HOSTCC LIBREPLACE_HOSTCC HEIMDAL_VERS_HOSTCC',
install=False
)