]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
start a linker script helper file
authorMike Frysinger <vapier@gentoo.org>
Sun, 23 Aug 2009 06:47:59 +0000 (02:47 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 23 Aug 2009 20:33:33 +0000 (22:33 +0200)
commit6ac9f47977a9fc1876979871eeb14f26ba1bdbe6
tree49a04782109977087bb9adfea3feac51e073821e
parent2ed0869d30602eb660569eababb8fedff36bd23a
start a linker script helper file

Start a common header file for common linker script code (such as
workarounds for older linkers) rather than doing this in the build system.

As fallout, we no longer execute the linker every time config.mk is
included by a build file (which can easily be 70+ times), but rather only
execute it once.

This also fixes a bug in the major version checking by creating a macro to
easily compare versions and keep people from making the same common
mistake (forgetting to check major and minor together).

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Makefile
config.mk
include/u-boot/u-boot.lds.h [new file with mode: 0644]