summaryrefslogtreecommitdiff
path: root/scripts/prereq.sh
AgeCommit message (Collapse)Author
2024-04-01avoid xz where possibleWaldemar Brodkorb
2024-02-23pkg-config is not strictly requiredWaldemar Brodkorb
2024-01-17add zstd support for Linux kernel compressionWaldemar Brodkorb
2023-02-04avr32: allow to build toolchain with newer host gccWaldemar Brodkorb
2023-01-08new package firefox, obsolete python2Waldemar Brodkorb
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2022-02-03use egrep to fix an grep issue on OpenBSD 7.0Waldemar Brodkorb
2021-02-25prereq: Use check-lxdialog.sh to determine curses libraryPhil Sutter
Curses detection in adk/config/Makefile is a mess - pkg-config was designed to avoid exactly that, so make it a required tool on all host OSs and call check-lxdialog.sh from mconf sources which uses it to define the required curses LIBS and CFLAGS from prereq.sh. Since pkg-config output also contains the right arguments for libtinfo (which depends on the chosen curses variant), no mismatches between the two may happen anymore. While being at it, sync check-lxdialog.sh with current linux sources so it covers installations with widechar support as well. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-02-19wget: only try two times by defaultWaldemar Brodkorb
2020-06-07linux uses rsync nowadays to copy headersWaldemar Brodkorb
2020-06-07fix formattingWaldemar Brodkorb
2020-06-06Fix "program" spellingCarlos Santos
Signed-off-by: Carlos Santos <unixmania@gmail.com>
2019-10-09cpio: add missing elseWaldemar Brodkorb
2019-10-09require gnu cpio and build itWaldemar Brodkorb
2019-09-29fix prereq.sh on NetBSD 8.1Waldemar Brodkorb
2019-05-06prereq: check for bash 5, tooWaldemar Brodkorb
2018-09-21prereq: gnu make 4 required for latest glibcWaldemar Brodkorb
2018-03-17prereq: update make/bashWaldemar Brodkorb
2018-02-20use LC_ALL instead of LANG, reported by mahmudovWaldemar Brodkorb
2017-12-27better use LANG=C as discussed on the mailinglist, cleanup relocate errorsWaldemar Brodkorb
2017-11-24scripts: Bugfix compile error on chinese system.Guo Ren
The command "bash --version" output "Version 4.x", but in a chinese locale system will display as "版本 4.x". Signed-off-by: Guo Ren <ren_guo@c-sky.com>
2017-07-04GNU tr is required for Linux kernel compilationWaldemar Brodkorb
2017-04-23add line endings to printfWaldemar Brodkorb
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2017-03-19darwin: brew users must install pkg-config, so that make kerneloconfig worksWaldemar Brodkorb
2017-03-19prereq: fix issue on DarwinWaldemar Brodkorb
2017-02-19more h8300 work, add u-bootWaldemar Brodkorb
2016-12-25use GNU cpio instead of heirloom cpioWaldemar Brodkorb
On newer hardware heirloom cpio triggers a segfault in memcpy from glibc (ssse3 optimized version). Just use default GNU cpio and provide it via host package.
2016-11-22fix libxml2-host compile, pkgconf is mandatoryWaldemar Brodkorb
2016-11-22variable is not used, remove itWaldemar Brodkorb
2016-11-21always use ccache from OpenADK, problem reported by DiezWaldemar Brodkorb
2016-11-05more verbose precheck messagesWaldemar Brodkorb
2016-10-08add specific compiler order for DarwinWaldemar Brodkorb
2016-10-08more verbose git cloneWaldemar Brodkorb
2016-10-06add liberation truetype font package and add mkfontscale check, complete the ↵Waldemar Brodkorb
other font checks
2016-09-26prefer gcc over clang for hostcompiler, finetune zlib testsWaldemar Brodkorb
2016-06-20show dltool (curl/wget) errors when make package=foo clean package ↵Waldemar Brodkorb
ADK_VERBOSE=1 is used
2016-03-02build host u-boot when mkimage is not installedWaldemar Brodkorb
2016-02-29add new PKG_GIT variableWaldemar Brodkorb
We can now clone git tags and branches in a more performant way. No change for specific hashes, other then PKG_GIT is required now. Do not remove .git dirs, as the downloaded code might be used to add a patch and send upstream. Add git as requirement for downloading. Remove unmaintained u-boot-git package.
2016-02-27prereq: add gzip/zlib checksWaldemar Brodkorb
2016-02-27add new lines for package dependent requirement messagesWaldemar Brodkorb
2016-02-26prereq: allow verbose download messages from fetchcmd when make v is usedWaldemar Brodkorb
2016-02-26prereq: fatal error when no C/C++ compiler foundWaldemar Brodkorb
2015-12-22add missing HOST_CFLAGS/HOSTCXX_FLAGSWaldemar Brodkorb
2015-12-21use grep -iWaldemar Brodkorb
2015-12-20use strings instead of modinfo for a portable wayWaldemar Brodkorb
Idea from Phil to have a portable method to find the kernel module dependencies. make-module-ipkgs.sh uses associative arrays, so check for bash version 4.
2015-12-15add message when c/c++ compiler not foundWaldemar Brodkorb
2015-12-15BCM28XX uses mkknlimg which need GNU tr, check for it otherwise compile ↵Waldemar Brodkorb
coreutils on host
2015-12-15recognize clang befoe gcc, so that we set the right optionsWaldemar Brodkorb
2015-12-13allow to fetch on redirectsWaldemar Brodkorb
2015-12-13special case for defconfig used by embedded-test.shWaldemar Brodkorb
2015-12-13rework prereq checkWaldemar Brodkorb
The new prereq check is completely implemented in POSIX shell in scripts/prereq.sh. It combines the old features from Makefile, scan-tools.sh, scan-pkgs.sh, reloc.sh and some wrappers for tools. The big benefit is to have all portability stuff in one place. Furthermore we can compile GNU make and bash on the fly, for systems lacking the required tools. All changes on the host are detected on the fly, no make prereq required anymore. The build process is separated in following three phases: 1. small wrapper Makefile is used for BSD make or GNU make 2. prereq.sh is called, doing all checking, calling Makefile.adk 3. old logic in Makefile.adk or mk/build.mk is used Tested successfully on Linux, MacOS X, Cygwin, FreeBSD, OpenBSD and NetBSD. An old depmaker bug was fixed, only optional host tools are compiled. For example, even when a host provides xz, a local xz was compiled in the past, because other packages had a build dependency on it. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>