diff options
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/Manifest.gz | bin | 8872 -> 8876 bytes | |||
-rw-r--r-- | dev-embedded/avra/Manifest | 2 | ||||
-rw-r--r-- | dev-embedded/avra/metadata.xml | 10 | ||||
-rw-r--r-- | dev-embedded/u-boot-tools/Manifest | 4 | ||||
-rw-r--r-- | dev-embedded/u-boot-tools/metadata.xml | 11 | ||||
-rw-r--r-- | dev-embedded/u-boot-tools/u-boot-tools-2021.07.ebuild | 79 |
6 files changed, 93 insertions, 13 deletions
diff --git a/dev-embedded/Manifest.gz b/dev-embedded/Manifest.gz Binary files differindex ddd3a81e9965..16a919435257 100644 --- a/dev-embedded/Manifest.gz +++ b/dev-embedded/Manifest.gz diff --git a/dev-embedded/avra/Manifest b/dev-embedded/avra/Manifest index b85afb1924a2..a4131d798034 100644 --- a/dev-embedded/avra/Manifest +++ b/dev-embedded/avra/Manifest @@ -1,3 +1,3 @@ DIST avra-1.4.2.tar.gz 392445 BLAKE2B 6b556583838e0e5bef0207f7291da7c5e6dad01e695d9592b3de8f528bc7a5dafc3015f75934bcc8f9e0b6baca39ff0ae13c88ee290e657868bbb522d27da068 SHA512 f51a43b1b28102d6180ce27e74b50642de8f3d18fa35a82904fddaac993e87e1096667f2245bebfad92e4ba3283330f6ac4b6083e486be5af9edca7b7e90e56f EBUILD avra-1.4.2.ebuild 567 BLAKE2B 6c374a5ec439e71a58f8bbaf0ce135fd66717e04fe4e03a8a6804bf3abb66964e8f41c8d63442ed9e30caa82a71edbdd16ecec5d730a455b4226725add80a588 SHA512 1903e839232c6b83e401ab24207921b1aa5da561aa2f986ae534840c346738daf326b9dcd631c03f96f0cf69b2001961a7ad93ef7c68a7e64588806257b8cd74 -MISC metadata.xml 473 BLAKE2B b04afa72e5b0c58d81828afeb3045a83c5ea57149575da4822ccd85df2f957dcec214012b673385075e270a23af07491ac6d85be591b9a99ab6cf883fa9bb1fd SHA512 ebbc0be8a1f6abc1c9095282d7ea2b0428dc741858eb7cace8d92a13554516fcbfc578ce9a5ce710c1dabe1791fda9fc6efdec69abec441c35f4c6683a6911bd +MISC metadata.xml 322 BLAKE2B ed8b519090415fe6feea660a54774fe65746c24891e5f31ced246bf42178d47e2c381301438fae6163cf2fa0bad1ec2e026574b65de20c5590ee0269c1f6a97c SHA512 e6a7be2ef4ef43348a774f6bdf0bd422b3b38436c265046a4ff4a941333b6b7577f70130fad21f164a0fcbe3a8d0a49ce21639feaa4701b2f599c108a0958e54 diff --git a/dev-embedded/avra/metadata.xml b/dev-embedded/avra/metadata.xml index cdb75a2d8c77..7ecadc0b2e41 100644 --- a/dev-embedded/avra/metadata.xml +++ b/dev-embedded/avra/metadata.xml @@ -1,13 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>jakov.smolic@sartura.hr</email> - <name>Jakov Smolic</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> + <maintainer type="person"> + <email>jsmolic@gentoo.org</email> + <name>Jakov Smolić</name> </maintainer> <upstream> <remote-id type="github">hsoft/avra</remote-id> diff --git a/dev-embedded/u-boot-tools/Manifest b/dev-embedded/u-boot-tools/Manifest index 01f30c3f3864..28c55f8bac3e 100644 --- a/dev-embedded/u-boot-tools/Manifest +++ b/dev-embedded/u-boot-tools/Manifest @@ -1,3 +1,5 @@ DIST u-boot-2021.04-rc2.tar.bz2 16620315 BLAKE2B e16c167346ef3999443855b9a702bf28faacf51b7887c84096f7a372a0c820d6ed9f06c1dd209b4070adf8000853b58b7b9b81c5b32a973d37558acf1da2edfa SHA512 7bf07f15e0c5f5e63ef8cb9568278ea7c209e484bbb599c47b22a8d2e5c007cc204eec365e5328dea3e7b016cd6ba0cb4c917330cc76163b1016f7c7762ad1bf +DIST u-boot-2021.07.tar.bz2 17275746 BLAKE2B 1a209a604e0f30264781a14ca855bbb777e8f1c031de60d28de397084fc9bfc4a3771ad00ec22f5cdcfa721f22707a533b9b59004ac0b107df927f23dc5ab0a6 SHA512 210b206a4626feb0985580d9448a97b499b09bf9b9313ca847a66624785e9e9b0fae8f2e329acd344f5f75cb722d2093dd0ee394311ddd1fde05e400ee71a24d EBUILD u-boot-tools-2021.04_rc2.ebuild 1523 BLAKE2B a79fce96dc4d4749b49b05dff7175e32441e77e47c99293d89f38ccbcd73b09bd39c4184b8bbea02842c1447adeb2d2d6771d68cf48b24cb7246b93a3b5aa6ab SHA512 1e0e465905e6d399cada39542003187ed06cdc6b3efefb1d3a0fb4c7b481fb24e5db6cbc4a90845874bf39240f92a1fa7d36f2dded0115841f8af6e738416c94 -MISC metadata.xml 247 BLAKE2B e46b8f2d053251af5cb591bb2ee5e35089c4e8174ee2e7a3c504db23f844b65083d4a3e5198da3977ad3e98b67cab2e0de686a3c62009b487c1e64785a8ff65d SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e +EBUILD u-boot-tools-2021.07.ebuild 1512 BLAKE2B 82bad02e96a4b0418b160a869cc13527b12ef1ef1450e0854f67d13ea7c42826423ea46a8cbeb62a3e34462322ba039f24857186ac771ddf166fd29d1aac0410 SHA512 e07ac8937f6e2f2f7871597323278ea76b2cec541f647f3578b1ae1580ace851315a5e1668af801c7d95226eae29a578435c52af9ddcb177e874a5f6b2fb7315 +MISC metadata.xml 342 BLAKE2B b82e91797fbf2f2337f565d8bf03c6399d63a69a0c095ddd9cec4fb3699d6553e64388bf3049608b9fb1e5420250f2c8759a08e5232860d0379abc818885663c SHA512 7072645e103253788b6bf864326d64fc9c75acfa9ee8351033f837a04af1cde07dcf71b10bfc094be1ed6b3b36d5746f61fa32f0679e84cde9e9aaaa063b29a9 diff --git a/dev-embedded/u-boot-tools/metadata.xml b/dev-embedded/u-boot-tools/metadata.xml index 71b1461e1146..899a677d0cde 100644 --- a/dev-embedded/u-boot-tools/metadata.xml +++ b/dev-embedded/u-boot-tools/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>embedded@gentoo.org</email> - <name>Embedded Gentoo</name> -</maintainer> + <maintainer type="project"> + <email>embedded@gentoo.org</email> + <name>Embedded Gentoo</name> + </maintainer> + <use> + <flag name="envtools">Build only the target-side environment tools</flag> + </use> </pkgmetadata> diff --git a/dev-embedded/u-boot-tools/u-boot-tools-2021.07.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-2021.07.ebuild new file mode 100644 index 000000000000..8511d1c55044 --- /dev/null +++ b/dev-embedded/u-boot-tools/u-boot-tools-2021.07.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_P="u-boot-${PV/_/-}" +DESCRIPTION="utilities for working with Das U-Boot" +HOMEPAGE="https://www.denx.de/wiki/U-Boot/WebHome" +SRC_URI="https://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="envtools" + +RDEPEND="dev-libs/openssl:=" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex + virtual/pkgconfig +" + +src_prepare() { + default + sed -i 's:\bpkg-config\b:${PKG_CONFIG}:g' \ + scripts/kconfig/{g,m,n,q}conf-cfg.sh \ + scripts/kconfig/Makefile \ + tools/Makefile || die +} + +src_configure() { + tc-export AR BUILD_CC CC PKG_CONFIG +} + +src_compile() { + # Unset a few KBUILD variables. Bug #540476 + unset KBUILD_OUTPUT KBUILD_SRC + + local myemakeargs=( + V=1 + AR="${AR}" + CC="${CC}" + HOSTCC="${BUILD_CC}" + HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' + HOSTLDFLAGS="${LDFLAGS}" + ) + + emake "${myemakeargs[@]}" tools-only_defconfig + + emake "${myemakeargs[@]}" \ + NO_SDL=1 \ + HOSTSTRIP=: \ + STRIP=: \ + CONFIG_ENV_OVERWRITE=y \ + $(usex envtools envtools tools-all) +} + +src_test() { :; } + +src_install() { + cd tools || die + + if ! use envtools; then + dobin bmp_logo dumpimage fdtgrep gen_eth_addr img2srec mkenvimage mkimage + fi + + dobin env/fw_printenv + + dosym fw_printenv /usr/bin/fw_setenv + + insinto /etc + doins env/fw_env.config + + doman ../doc/mkimage.1 +} |