Commit Graph

92 Commits

Author SHA1 Message Date
Michael Lange
c683091369 scripts/checkdeps: fix gentoo "/usr/inculde/stdio.h" 2021-02-07 14:46:41 +01:00
Ian Leonard
5c909e21f1 checkdeps: fixup and changes for Fedora 33
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-02-03 05:06:15 +00:00
Ian Leonard
4f800deb2c checkdeps: add qemu-user as req for native aarch64 Amlogic builds
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-23 21:42:05 +00:00
Ian Leonard
7472a164e1 checkdeps: add debug toggle
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-16 19:20:54 +00:00
Ian Leonard
75489fd17c checkdeps: remove option to add extra depends in project or distro options
Broken since November 2019 without complaint. Remove.

Revert this commit and add '. config/options ""' to scripts/checkdeps to restore
or look at having checkdeps source a function or call a script in the
distro/project/device directory to check for additional dependencies.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-16 19:19:47 +00:00
Ian Leonard
d655a20025 checkdeps: overhaul
Convert from using the indices of two arrays to establish a relationship
to using associative arrays to make the relationship direct in a
[key]=value pairing.

Move the qemu-binfmt-dep, et all, for native Rockchip builds out to the
project options file.

Don't recalculate needed deps if sudo isn't installed to add new packages;
just exit.

Rename Gentoo's python3 package to python. Specifying a slot would be how to
state a specific version of python on Gentoo. Regardless, python is a hard dep
of Gentoo's package manager so this will never come up in practice.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-16 18:26:21 +00:00
Catalin Toda
7ec5ec3f93 Add linaro gcc for compiling on host on aarch64 2020-05-02 10:18:54 -07:00
MilhouseVH
ab05c17cca scripts/checkdeps: perl Yapp module required by samba-4.12.0
https://bugzilla.samba.org/show_bug.cgi?id=14284
2020-03-03 12:20:26 +00:00
MilhouseVH
a58fc6d645 scripts/checkdeps: add file 2019-11-10 02:36:25 +00:00
MilhouseVH
7d47eded56 scripts/checkdeps: add xz 2019-11-10 02:26:04 +00:00
MilhouseVH
97711c9185 scripts/checkdeps: add make 2019-11-08 00:18:44 +00:00
MilhouseVH
db6d111ecf scripts/checkdeps: can't install gcc if gcc not installed. Duh. 2019-11-08 00:09:26 +00:00
MilhouseVH
a7cf257127 scripts/checkdeps: replace python2 with python3 2019-10-29 12:19:07 +00:00
Mark Schmale
3f9fa1df56 adding a few dependencies for arch, fedora and gentoo
- perls XML::Parser package is call perl-XML-Parser in fedora
   Uppercase P according to my local install and https://apps.fedoraproject.org/packages/perl-XML-Parser.
 - fedora (and maybe gentoo) need perls Thread::Queue since its not provided by the default packages. In gentoo its a virutal package, so its certainly provided already but depending on it should not cause any problems
 - rpcgen is required by samba and not provided by all current glibc packages
 - add perl as a generic dependency for distris that bundle Thread::Queue in the central perl package ot balance out the dep-list
2019-07-06 15:23:44 +02:00
MilhouseVH
90be11322a buildsystem: consistently use braces 2019-06-16 03:35:56 +01:00
Ian Leonard
ef93ecf54b scripts/checkdeps: cleanup
Replace "which" with "command -v", which is part of POSIX.

Make offering to install packages contingent on having the sudo command.
Not every distro uses sudo. It is optional in Gentoo, for example.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-05 15:03:54 +00:00
Lucian Muresan
2fc46de348 host distro support: added sabayon, quite straightforward, as a flavour of gentoo 2018-09-23 22:16:33 +02:00
CvH
843051d0f7 spdx: scripts/ 2018-07-17 23:58:49 +02:00
MilhouseVH
eefa6ebee4 buildsystem: use single = for consistency 2018-04-02 10:09:11 +01:00
MilhouseVH
1c7b4786a3 Merge pull request #2318 from christophgysin/checkdeps
refactoring checkdeps
2018-02-25 14:15:09 +00:00
MilhouseVH
4e77097d23 buildsystem: set PKG_NAME and default PKG_*DESC only when sourcing a package 2017-12-20 06:24:59 +00:00
Christoph Gysin
6306c6a654 scripts/checkdeps: use bash native lowercase 2017-12-12 17:08:19 +02:00
Christoph Gysin
8268aa4928 scripts/checkdeps: expand short-circuits 2017-12-12 17:08:19 +02:00
Christoph Gysin
4d9c373906 scripts/checkdeps: replace all backticks 2017-11-23 08:52:33 +02:00
Christoph Gysin
26817d5880 scripts/checkdeps: add missing dependency
perl module XML::Parser is needed to build intltool
2017-11-23 00:37:21 +02:00