-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: partially revert e6c98fdf54425e6382f226e33bccca6f3875aad3a
This partially reverts commit e6c98fd, swig is needed for u-boot. Signed-off-by: Noel Georgi <git@frezbo.dev>
- Loading branch information
Showing
4 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: pcre | ||
dependencies: | ||
- stage: base | ||
- stage: zlib | ||
- stage: bzip2 | ||
steps: | ||
- sources: | ||
- url: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-{{ .pcre2_version }}/pcre2-{{ .pcre2_version }}.tar.bz2 | ||
destination: pcre.tar.bz2 | ||
sha256: "{{ .pcre2_sha256 }}" | ||
sha512: "{{ .pcre2_sha512 }}" | ||
prepare: | ||
- | | ||
tar -xjf pcre.tar.bz2 --strip-components=1 | ||
mkdir build | ||
cd build | ||
../configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
--enable-unicode-properties \ | ||
--enable-pcre216 \ | ||
--enable-pcre232 \ | ||
--enable-pcre2grep-libz \ | ||
--enable-pcre2grep-libbz2 \ | ||
--disable-static | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
rm -rf /rootfs/toolchain/share | ||
finalize: | ||
- from: /rootfs | ||
to: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: swig | ||
dependencies: | ||
- stage: base | ||
- stage: zlib | ||
- stage: pcre | ||
steps: | ||
- sources: | ||
- url: https://src.fedoraproject.org/lookaside/extras/swig/swig-{{ .swig_version }}.tar.gz/sha512/1cea1918455a75ebc9b2653dd1715bd5dcd974554955f324295c6a6f14c0a715651b221b85fad4a8af5197e0c75bfe7b590bc6ba7178c26245fbbd9a7e110100/swig-{{ .swig_version }}.tar.gz | ||
destination: swig.tar.gz | ||
sha256: "{{ .swig_sha256 }}" | ||
sha512: "{{ .swig_sha512 }}" | ||
prepare: | ||
- | | ||
tar -xzf swig.tar.gz --strip-components=1 | ||
mkdir build | ||
cd build | ||
../configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
--without-maximum-compile-warnings \ | ||
LDFLAGS="-Wl,-rpath=${TOOLCHAIN}/lib" | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
finalize: | ||
- from: /rootfs | ||
to: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters