summaryrefslogtreecommitdiff
path: root/rules.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-12-11Revert "rework prereq check"Waldemar Brodkorb
This reverts commit fba2ff31928b18364c1934654169806f5c800e23.
2015-12-11rework prereq checkwbx
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2015-12-09quirks needed globallyWaldemar Brodkorb
2015-09-12allow to use a defconfig, enable always experimental support in kernelWaldemar Brodkorb
2015-08-31prefix VERSION symbols, otherwise they will get into kernel .configWaldemar Brodkorb
2015-07-27add some basic support for emcraft kinetisWaldemar Brodkorb
2015-07-13add basic toolchain support for or1k arch with musl libcWaldemar Brodkorb
2015-05-01add cpu type for different toolchains with the same architectureWaldemar Brodkorb
2015-03-02add version string, will be used laterWaldemar Brodkorb
2015-02-25strip variableWaldemar Brodkorb
2015-02-23rework gcc optimization flagsWaldemar Brodkorb
gcc uses for some architectures --with-cpu, with others --with-arch. Add two different symbols for that.
2015-02-22rework CFLAGS and default gcc --with-cpu usageWaldemar Brodkorb
For better maintenance, rework hardware model specific CFLAGS. Work in progress, needs moe testing.
2015-02-19add some basic infrastructure for hppa/parisc toolchain buildingWaldemar Brodkorb
2015-02-09add basic support for raspberry pi2Waldemar Brodkorb
Introduce new board symbols for embedded systems, which use the similar board as basis. As for example raspberry pi and raspberry pi2. And some more updates: Update binutils to 2.25, set gcc 4.9.2 as default. Update glibc to 2.21, set as default. Update gdb to 7.8.2. Update kodi to latest release.
2015-02-06rework CMDLINE generation regarding serial/vgaWaldemar Brodkorb
Use one place and not hard coded for each device. There exist use cases where on a specific device like raspberry pi, not the default 115200 baud rate is used.
2014-12-19use ADK_VERBOSE to be more consistent.Waldemar Brodkorb
2014-08-31add support for bfin toolchain creationWaldemar Brodkorb
2014-08-12add support for xtensa dc233c variant. use uImage, which works with a ↵Waldemar Brodkorb
patched Qemu. Thanks to Max Filippov for fixes and ideas.
2014-08-05translate aarch64 to arm64 for kernelWaldemar Brodkorb
2014-08-01allow to use git version for C library.Waldemar 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-13fix ppc64/mips64 ADK_TARGET_KARCH varWaldemar Brodkorb
2014-06-08use ADK_TARGET_KARCH for kernel stuff, fix ppc buildWaldemar 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-23environment vars not usedWaldemar Brodkorb
2014-03-23make optimiztion compiler flags configurable, default -Os -pipeWaldemar Brodkorb
2014-03-20add fpu settings, fix symlinksWaldemar Brodkorb
2014-03-19add ADK_RUNTIME_CONSOLE_SERIAL_DEVICE, minor cleanups while thereWaldemar Brodkorb
2014-03-08rename DISTDIR, make it configurable in the menuWaldemar Brodkorb
2014-03-04try to add support for graphical qemuWaldemar 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-26rework arm support, add qemu arm model vexpress for cortex-a9 emulation ↵Waldemar Brodkorb
(hard float)
2014-02-03make wget timeout configurableWaldemar Brodkorb
2013-12-28convert microblaze to miniconfig kernel config generation, add support for ↵Waldemar Brodkorb
squashfs and jffs2 rootfs for qemu-microblaze, add support for both machine emulations
2013-11-08enable variable kernel target name, qemu-mips targets use vmlinuzWaldemar Brodkorb
2013-09-29bring qemu-sh and aranym-m68k in shapeWaldemar Brodkorb
2012-10-10fix 32 Bit multilib buildsWaldemar Brodkorb
2012-10-05make libgcc static for busybox, make librt separate package, remove ↵Waldemar Brodkorb
dependency to libtirpc, disable inetd, add preliminary multilib support (not working right now),enable 32/64 bit kernel support for x86_64
2012-08-18add netconsole supportWaldemar Brodkorb
2012-03-20allconfig fixes for lemote yeelongWaldemar Brodkorb
2011-08-01different make bulkallmod fixesWaldemar Brodkorb
2011-05-05allow package based overwrite of DEBUG and STATIC buildsWaldemar Brodkorb
2011-04-26make arm/mips architectures more configurable in a simpler wayWaldemar Brodkorb
2011-01-22activate GCC cflags check, cleanup FLAGS stuff in OpenADK.Waldemar Brodkorb
* remove TCFLAGS/TLDFLAGS/TCPPFLAGS and only use TARGET_CFLAGS/TARGET_LDFLAGS/TARGET_CPPFLAGS, ... * activate GCC_HONOUR_COPTS and fix all packages to honour CFLAGS * use CC_FOR_BUILD, CFLAGS_FOR_BUILD, ... for all build compilation, remove HOST* variants * introduce KERNEL_MODULE_FLAGS for external kernel modules * mark rpm package as broken, mark syslinux for native builds only, mark libhugetlb for eglibc/glibc only usage
2011-01-19add XX_FOR_BUILD variables, they are more standard compliant and used by ↵Waldemar Brodkorb
autotools
2011-01-08variable name cleanupWaldemar Brodkorb
2011-01-07add varios patches...Waldemar Brodkorb
eglibc should install nsswitch.conf and others. add -fhonour-copts to TARGET_CFLAGS.
2011-01-02add an example interfaces file, make tmpfs configurable via menuWaldemar Brodkorb
2010-12-30rework architecture / embedded systems conceptWaldemar Brodkorb
Make configuration of new targets cheap. Just add a new file in target/arch/sys-enabled/foo. See other files for syntax. While doing runtime tests with the new infrastructure I've updated a lot of other stuff: - gcc 4.5.2 - uClibc 0.9.32-rc1 (NPTL) - strongswan, php, miredo, parted, util-linux-ng, e2fsprogs I promise, this is the last big fat commit this year ;)