summaryrefslogtreecommitdiff
path: root/scripts/prereq.sh
AgeCommit message (Collapse)Author
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>
2015-12-11Revert "rework prereq check"Waldemar Brodkorb
This reverts commit fba2ff31928b18364c1934654169806f5c800e23.
2015-12-11rework prereq checkwbx
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>