mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
rtems-libbsd: Do not handle rtems_waf source when released.
The release libbsd tar file contains the rtems_waf submodule.
This commit is contained in:
parent
14c5cb7713
commit
3dd974990e
@ -33,14 +33,18 @@ URL: https://git.rtems.org/rtems-libbsd.git/
|
||||
#
|
||||
# LibBSD Source.
|
||||
#
|
||||
# Collect and install rtems_waf as cgit snapshots to not caputre submodules,
|
||||
# which is a good thing because we would collect the entire FreeBSD source
|
||||
|
||||
# If not a release collect and install rtems_waf as cgit snapshots to not
|
||||
# capture submodules, which is a good thing because we would collect the entire
|
||||
# FreeBSD source.
|
||||
#
|
||||
# Releases package submodules in the top level tarfile.
|
||||
#
|
||||
%source set rtems_libbsd \
|
||||
https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}
|
||||
%if !%{rsb_released}
|
||||
%source set rtems_waf \
|
||||
https://git.rtems.org/rtems_waf/snapshot/rtems_waf-%{rtems_waf_version}.tar.%{rtems_libbsd_ext}
|
||||
%endif
|
||||
|
||||
#
|
||||
# Prepare the source code.
|
||||
@ -50,8 +54,9 @@ URL: https://git.rtems.org/rtems-libbsd.git/
|
||||
|
||||
source_dir_libbsd="rtems-libbsd-%{rtems_libbsd_version}"
|
||||
%source setup rtems_libbsd -q -n rtems-libbsd-%{rtems_libbsd_version}
|
||||
%if !%{rsb_released}
|
||||
%source setup rtems_waf -q -s 1 -c -a -n rtems-libbsd-%{rtems_libbsd_version}/rtems_waf
|
||||
|
||||
%endif
|
||||
cd ${build_top}
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user