diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-14 09:33:00 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-14 22:44:24 +0200 |
commit | 5ec5529b82f314ca2cf9c262cdfc985d5fc468a0 (patch) | |
tree | 1ae2f6bcf6155887f2a007ba25bd542d890f587e /cpu | |
parent | 92afd368bba7d98b2b7bfb51082c3639bb2119b3 (diff) | |
download | u-boot-imx-5ec5529b82f314ca2cf9c262cdfc985d5fc468a0.zip u-boot-imx-5ec5529b82f314ca2cf9c262cdfc985d5fc468a0.tar.gz u-boot-imx-5ec5529b82f314ca2cf9c262cdfc985d5fc468a0.tar.bz2 |
allow boards to customize compiler options on a per-file/dir basis
With our Blackfin boards, we like to build the compression routines with
-O2 as our tests show a pretty good size/speed tradeoff. For the rest of
U-Boot though, we want to stick with the default -Os as that is mostly
control code. So in our case, we would add a line like so to the board
specific config.mk file:
CFLAGS_lib_generic += -O2
Now all files under lib_generic/ will have -O2 appended to their build.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions