summaryrefslogtreecommitdiff
path: root/tools/Makefile
Commit message (Collapse)AuthorAgeLines
* at91: add support for the PM9263 board of Ronetix GmbHIlko Iliev2009-04-16-0/+3
| | | | | | | | | | The PM9263 board is based on the AT91SAM9263-EK board. Here is the page on Ronetix website: http://www.ronetix.at/starter_kit_9263.html Signed-off-by: Ilko Iliev <iliev@ronetix.at> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* One more fix for building env_embedded.oWolfgang Denk2009-04-05-0/+2
| | | | | | | | In addition to the changes for CONFIG_ENV_IS_IN_FLASH as done in commit afcbce07, we also need to do the same for CONFIG_ENV_IS_IN_EEPROM and CONFIG_ENV_IS_IN_NVRAM. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix building of env_embedded.oWolfgang Denk2009-04-04-1/+2
| | | | | | | | | | | Since commit a706bfc7 common/env_embedded.o and tools/envcrc were only built when CONFIG_ENV_IS_EMBEDDED was set, but this breaks building for many boards. We always have to build these files when CONFIG_ENV_IS_IN_FLASH is set. Signed-off-by: Wolfgang Denk <wd@denx.de>
* tools/Makefile: fix image.c dependancy locationJean-Christophe PLAGNIOL-VILLARD2009-04-04-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add support for building native win32 toolsPeter Tyser2009-04-04-7/+16
| | | | | | | | | | | | | Add support for compiling the host tools in the tools directory using the MinGW toolchain. This produces executables which can be used on standard Windows computers without requiring cygwin. One must specify the MinGW compiler and strip utilities as if they were the host toolchain in order to build win32 executables, eg: make HOSTCC=i586-mingw32msvc-gcc HOSTSTRIP=i586-mingw32msvc-strip tools Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generationPeter Tyser2009-04-04-12/+5
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Create generic build rulesPeter Tyser2009-04-04-46/+9
| | | | | | | Create a few generic build rules to replace the current method which has 1 build target for each file Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Use auto-generated object file dependenciesPeter Tyser2009-04-04-12/+12
| | | | | | | Files in the SRCS variable have their dependencies automatically generated so remove duplicate explicit dependencies Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Remove symlinks for remaining source filesPeter Tyser2009-04-04-31/+13
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Dynamically generate libfdt object dependenciesPeter Tyser2009-04-04-7/+6
| | | | | | | Add the libfdt files to the SRCS variable so that they have their dependencies automatically generated Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Remove symlinks for fdt targetsPeter Tyser2009-04-04-25/+7
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Add libfdt/ to the include search pathPeter Tyser2009-04-04-9/+6
| | | | | | | This change makes the process of symlinking libfdt_internal.h unnecessary Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools: Remove unecessary symlinking of zlib.hPeter Tyser2009-04-04-5/+1
| | | | | | | | crc32.c uses the zlib.h header in include/u-boot/zlib.h. The symlink was previously necessary to give U-Boot's version of zlib.h precedence over the host computer's version of zlib.h. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Add tools/ to the include search pathPeter Tyser2009-04-04-6/+1
| | | | | | | This change makes the process of symlinking mkimage.h and fdt_host.h unnecessary Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Compile ncb when CONFIG_NETCONSOLEPeter Tyser2009-04-04-0/+2
| | | | | | Also conditionally add ncb.o to OBJ_FILES list Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Make gen_eth_addr dependent upon CONFIG_CMD_NETPeter Tyser2009-04-04-2/+2
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Make envcrc dependent upon CONFIG_ENV_IS_EMBEDDEDPeter Tyser2009-04-04-2/+2
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Make inca-swap-bytes dependent on CONFIG_INCA_IPPeter Tyser2009-04-04-5/+2
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Make ubsha1 dependent upon CONFIG_SHA1_CHECK_UB_IMGPeter Tyser2009-04-04-2/+2
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Make img2srec dependent upon CONFIG_CMD_LOADSPeter Tyser2009-04-04-2/+2
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Build bmp_logo only when LCD or VIDEO logos are enabledPeter Tyser2009-04-04-3/+8
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Split variable declarations into multiple linesPeter Tyser2009-04-04-33/+53
| | | | | | | | | | | | Split variable declarations into multiple lines and use the standard VAR-y convention. Also move object and binary variable declarations to after config.mk has been included to allow for these lists to utilize the CONFIG_XXX variables. These changes lay the groundwork for conditional compilation of files in the tools directory. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Remove inappropriate double-tabsPeter Tyser2009-04-04-76/+77
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Remove HOSTARCH HOSTOS definesPeter Tyser2009-04-04-12/+0
| | | | | | | The values of HOSTARCH and HOSTOS which are exported from the top-level Makefile should be used Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* rename environment.c in env_embedded.c to reflect is functionalityJean-Christophe PLAGNIOL-VILLARD2008-09-10-6/+6
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Add 'license' command to U-Boot command lineHarald Welte2008-08-18-0/+4
| | | | | | | | | | | | | | | The 'license' command includes the U-Boot license (GPLv2) into the actual bootloader binary. The license text can be shown interactively at the U-Boot commandline. For products where the commandline can actually be accessed by the end user, this helps to prevent inadvertent GPL violations, since the GPLv2 license text can no longer be 'forgotten' to be included into the product. The 'license' command can be enabled by CONFIG_CMD_LICENSE. Signed-off-by: Harald Welte <laforge@openmoko.org>
* Merging Stelian Pop AT91 patchesJean-Christophe PLAGNIOL-VILLARD2008-05-24-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'testing-V2' Conflicts: board/atmel/at91cap9adk/Makefile Fixing copyright board/atmel/at91sam9260ek/Makefile Fixing copyright board/atmel/at91sam9260ek/u-boot.lds Delete no more needed ld script Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Use custom logo for Atmel boardsStelian Pop2008-05-10-0/+4
| | | | | | | | | | | | | | This patch adds a custom vendor logo for the Atmel AT91 boards. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Big white-space cleanup.Wolfgang Denk2008-05-21-1/+1
|/ | | | | | | | | | | This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
* crc32: use uint32_t rather than unsigned longMike Frysinger2008-04-24-1/+5
| | | | | | | | | | | | | The envcrc.c does sizeof(unsigned long) when calculating the crc, but this is done with the build toolchain instead of the target tool chain, so if the build is a 64bit system but the target is 32bits, the size will obviously be wrong. This converts all unsigned long stuff related to crc32 to uint32_t types. Compile tested only: output of ./tools/envcrc when run on a 32bit build system matches that of a 64bit build system. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix out of tree building issueAnatolij Gustschin2008-03-27-7/+13
| | | | | | | Currently U-Boot building in some external directory doesn't work. This patch tries to fix the problem. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Add MD5 support to the new uImage formatBartlomiej Sieka2008-03-14-2/+9
| | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* [new uImage] Add libfdt support to mkimageBartlomiej Sieka2008-02-29-3/+48
| | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* [new uImage] Add sha1.o object to mkimage binary buildBartlomiej Sieka2008-02-29-1/+1
| | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* [new uImage] Define a API for image handling operationsMarian Balakowicz2008-02-07-2/+9
| | | | | | | | | - Add inline helper macros for basic header processing - Move common non inline code common/image.c - Replace direct header access with the API routines - Rename IH_CPU_* to IH_ARCH_* Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* Do not reference sha1.c when building mkimage.Mike Frysinger2008-01-09-1/+1
| | | | | | remove sha1.o from mkimage linking since it isn't actually used. Signed-Off-By: Mike Frysinger <vapier@gentoo.org>
* Fix build problems under Cygwinraptorbrino@aim.com2008-01-09-0/+1
| | | | | | | | | | | This patch allows u-boot to build without error in a cygwin environment. Cygwin does not define __u64 in it's include/asm/types.h file. The -idirafter flag in the u-boot build causes the inclusion of the cygwin types.h file as opposed to u-bot/include/asm/types.h file which does define __u64. Subsequently, sha1.c compile fails due to unknown symbol. Signed-off-by: Brian Miller <raptorbrino@netscape.net>
* Merge with /home/hs/Atronic/u-bootWolfgang Denk2007-07-09-5/+18
|\
| * [PCS440EP] upgrade the PCS440EP board:Heiko Schocher2007-06-22-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | - Show on the Status LEDs, some States of the board. - Get the MAC addresses from the EEProm - use PREBOOT - use the CF on the board. - check the U-Boot image in the Flash with a SHA1 checksum. - use dynamic TLB entries generation for the SDRAM Signed-off-by: Heiko Schocher <hs@denx.de>
* | Fix compilation issues on MACOSXAubrey.Li2007-05-15-1/+1
|/ | | | | Singed-off-by: Marc Hoffman <Marc.Hoffman@analog.com> Signed-off-by: Aubrey Li <aubrey.adi@gmail.com>
* Coding style cleanupWolfgang Denk2006-10-09-1/+1
|
* Add support for a saving build objects in a separate directory.Marian Balakowicz2006-09-01-45/+53
| | | | | | | | | | | | | | | | | | | | | Modifications are based on the linux kernel approach and support two use cases: 1) Add O= to the make command line 'make O=/tmp/build all' 2) Set environement variable BUILD_DIR to point to the desired location 'export BUILD_DIR=/tmp/build' 'make' The second approach can also be used with a MAKEALL script 'export BUILD_DIR=/tmp/build' './MAKEALL' Command line 'O=' setting overrides BUILD_DIR environent variable. When none of the above methods is used the local build is performed and the object files are placed in the source directory.
* * Patch by Yuli Barcohen, 19 Jul 2004:wdenk2004-09-28-3/+1
| | | | | | | | - Fix host tools building in Cygwin environment - Fix header files search order for host tools * Patch by Tom Armistead, 19 Jul 2004: Fix kgdb.S support for 74xx_75x cpu
* * Patch by Detlev Zundel, 08 Sep 2004:wdenk2004-09-08-0/+7
| | | | | | | | | | | Update etags build target * Improve NetConsole support: add support for broadcast destination address and buffered input. * Cleanup compiler warnings for GCC 3.3.x and later * Fix problem in cmd_jffs2.c introduced by CFG_JFFS_SINGLE_PART patch
* * Patch by Gleb Natapov, 19 Sep 2003:wdenk2003-12-06-0/+2
| | | | | | | | Move most of the timer interrupt related PPC code to ppc_lib/interrupts.c * Patch by Anders Larsen, 17 Sep 2003: Bring ARM memory layout in sync with the documentation: stack and malloc-heap are now located _below_ the U-Boot code
* * Fix parameter passing to standalone images with bootm commandwdenk2003-10-30-0/+1
| | | | | | | | | | * Patch by Kyle Harris, 30 Oct 2003: Fix build errors for ixdp425 board * Patch by David M. Horn, 29 Oct 2003: Fixes to build under CYGWIN * Get IceCube MGT5100 working (again)
* * Patch by Anders Larsen, 18 Sep 2003:wdenk2003-10-08-0/+13
| | | | | | | | | | | allow mkimage to build and run on Cygwin-hosted systems * Patch by Frank Müller, 18 Sep 2003: use bi_intfreq instead of bi_busfreq to compute fec_mii_speed in cpu/mpc8xx/fec.c * Patch by Pantelis Antoniou, 16 Sep 2003: add tool to compute fileds in the PLPRCR register for MPC86x
* * Make Ethernet autonegotiation on INCA-IP work for all clock rates;wdenk2003-08-17-0/+5
| | | | | | | | | | | | | allow selection of clock frequency as "make" target * Implement memory autosizing code for IceCube boards * Configure network port on INCA-IP for autonegotiation * Fix overflow problem in network timeout code * Patch by Richard Woodruff, 8 Aug 2003: Allow crc32 to be used at address 0x000 (crc32_no_comp, too).
* Removed tools/gdb from "make all" target. Added make target "gdbtools"dzu2003-08-07-7/+1
| | | | | in toplevel directory instead. Removed astest.c from tools/gdb because it is no longer relevant.
* * Code cleanup:wdenk2003-06-27-1/+0
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)