summaryrefslogtreecommitdiff
path: root/mk/package.mk
AgeCommit message (Collapse)Author
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-10-11remove already disabled uClibc support, fix wrong PKG_LIBC_DEPENDSWaldemar Brodkorb
2015-02-28mk/package.mk: fix for cleaning packagesPhil Sutter
Due to using the wrong name, the packages stamp file was not removed and therefore it was not rebuilt at all.
2015-02-20use MALLOC with GLIBC_COMPAT for all archsWaldemar Brodkorb
Use MALLOC for uClibc/uClibc-ng 1.0. Choice will be removed in uClibc-ng git.
2015-02-12calloc returns nonnull, tooWaldemar Brodkorb
2014-12-28bring coldfire support in shapeWaldemar Brodkorb
Binutils 2.24 is required to get a working kernel. Ethernet in Qemu is still broken. Qemu Patch is still rquired in 2.2.0. Only kernel+initramfs is working. It seems the signal handler problem is gone with sash and simpleinit.
2014-08-04add some debug related optimizationWaldemar Brodkorb
2014-07-30remove la file mangling. packages should use pkg-config to find options for ↵Waldemar Brodkorb
static linking
2014-07-05add support for uClibc-ng in parallel to uClibc.Waldemar Brodkorb
This helps to find any regressions made in uClibc-ng.
2014-06-27rework service startup, do not hardcode into postinst scriptsWaldemar Brodkorb
2014-06-21s/TOPDIR/ADK_TOPDIR/Waldemar Brodkorb
to avoid namespace collisions in some packages, rename TOPDIR. Sorry you need to make cleandir && make prereq && make
2014-06-18fix iw package compileWaldemar Brodkorb
2014-06-16optimize environment variables, reduce duplicate stuffWaldemar Brodkorb
2014-06-15cleanup HOST_STYLE, use SYSROOT feature for pkgconfWaldemar Brodkorb
there are three HOST_STYLE's, not set mean fully automatic installation. auto means prefix is set to /usr and DESTDIR is set to STAGING_HOST_DIR. When using manual, you need to provide your own targets. Instead of using sed to modify *.pc files, use PKG_SYSROOT feature, which does work better and avoids pathcing some pc files. Idea from sh4rm via #musl.
2014-06-13reduce rebuild time, remove non-performant rebuild targetsWaldemar Brodkorb
2014-06-05fix missing kernel-version in libc-dev packages, add PKG_OPTS nostaging for ↵Waldemar Brodkorb
libc packages, to avoid cpio errors
2014-06-04fix devonly packagesWaldemar Brodkorb
2014-06-02refactor CPU_ARCH/ARCH variablesWaldemar Brodkorb
After Joerg asked me about the difference between ADK_TARGET_ARCH and ADK_TARGET_CPU_ARCH I recognized many duplication of variables for this information. These patch fixes this up. Use make cleandir && make menuconfig && make
2014-05-31rework static linking support, works with musl/glibc, fails to boot with ↵Waldemar Brodkorb
uclibc (qemu-x86)
2014-05-13use static-libgc not only for base, simplifies dependencies, just a few ↵Waldemar Brodkorb
bytes bigger for a xbmc build
2014-04-07allow to enable daemons on startup via menuconfigWaldemar Brodkorb
2014-03-29install ipkg stuff only when choosen, be quit for rstrip, do not execute ↵Waldemar Brodkorb
make prereq
2014-03-20convert to HOST_STYLE auto, add hostclean targetWaldemar Brodkorb
2014-03-10rename STAGING_DIR to STAGING_TARGET_DIR, since ADK_NATIVE is gone, there is ↵Waldemar Brodkorb
no difference
2014-03-06get rid of ADK_NATIVE mode, it is not regulary tested and the results where ↵Waldemar Brodkorb
not satisfying.
2014-03-02fix extra endif..Waldemar Brodkorb
2014-03-02goodbye eglibc, see my blog http://blog.waldemar-brodkorb.de/Waldemar Brodkorb
2014-03-01move target/tools to tools, use ADK_HOST_NEED variable to build a tool, when ↵Waldemar Brodkorb
required. Add archivers to tools, remove prereq checks for them. Rename host_ dir in preparation for shared openadk source via nfs/smb from different host systems. Make some abi cleanup
2014-02-26use separate stamp dir, enable openjdk for hudsonWaldemar Brodkorb
2014-02-18use bin directory for host binaries only, use new firmware directory for the ↵Waldemar Brodkorb
resulting firmware
2014-01-16fix krb5 cross-compile, bison use M4 envWaldemar Brodkorb
2014-01-14fix xbmc buildWaldemar Brodkorb
2013-11-08accidently removed ALL_IPKGSWaldemar Brodkorb
2013-11-07update valgrind to latest upstream version, strlen is not a function in ↵Waldemar Brodkorb
ld.so in latest glibc/eglibc setups, just remove the redirect for now. enable automatic building of debug subpackages. update TODO
2013-10-31quieten build a bitWaldemar Brodkorb
2013-10-28fix host build stuff and update-patches, convert cifs-utils and libaudiofile ↵Waldemar Brodkorb
to new autotool infrastructure
2013-10-25fix non-verbose buildWaldemar Brodkorb
2013-10-24fix commentWaldemar Brodkorb
2013-10-23disable installing of dev subpackages, if not enabled bz the userWaldemar Brodkorb
2013-10-21automatically create development subpackages, without user interaction, ↵Waldemar Brodkorb
depend on gcc for the target, simplifies a lot of library packages
2013-09-16ignore musl packageWaldemar Brodkorb
2013-08-22add back DEVELOPER=1 featureWaldemar Brodkorb
2012-03-21remove DEVELOPER=1Waldemar Brodkorb
2012-01-15Allow leaving /etc as untouched as possiblePhil Sutter
For customized setups, it's hard to control what files get installed into /etc since in addition to the base-files package, any other package may install a sample config. When two packages provide the same file, which one of them makes it into the image depends on the order of them being installed. Solving this problem is not as trivial, as there are packages which must be allowed to install stuff into /etc. Best examples are base-files and ca-certificates. This patch solves the problem by adding another PKG_template flag "force_etc", which one can define in order to override the as well new Config.in symbol "ADK_LEAVE_ETC_ALONE".
2011-10-12add basic support for avr32 -> ngw100Waldemar Brodkorb
2011-04-13remove debug stuffwbx
2011-04-07update some packages after libpng15 update, misc stuffWaldemar Brodkorb
2011-03-04when flex fails, it seems to need M4 environment setWaldemar Brodkorb
2011-03-01misc patches needed for allmodconfig for ibm-x40-eglibc on Darwin OSWaldemar Brodkorb
* fix *.pc / *-config file handling.
2011-02-24allow native build of a lot of packagesWaldemar Brodkorb
STAGING_TARGET_DIR is used for package Makefile's for include and library search path's. STAGING_DIR is used for common code in mk/ or Makefile/rules.mk. STAGING_TARGET_DIR is /usr when native builds are used.