diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2010-04-12 22:28:03 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-04-13 09:13:00 +0200 |
commit | 89f39e177e7b0152aa1d3152baa25d986e36cdcf (patch) | |
tree | 038889f28a7a52528dbf1d73c5394b98e6773709 /board/cm-bf533 | |
parent | 03b7004ddafc70d83904d790abaa50843868130e (diff) | |
download | bootable_bootloader_goldelico_gta04-89f39e177e7b0152aa1d3152baa25d986e36cdcf.zip bootable_bootloader_goldelico_gta04-89f39e177e7b0152aa1d3152baa25d986e36cdcf.tar.gz bootable_bootloader_goldelico_gta04-89f39e177e7b0152aa1d3152baa25d986e36cdcf.tar.bz2 |
Change directory-specific CFLAGS to use full path
Previously, a specific file or directory could be compiled with custom
CFLAGS by adding a Makefile variable such as:
CFLAGS_dlmalloc.o = <custom flags for common/dlmalloc.c>
or
CFLAGS_lib = <custom flags for lib directory>
This method breaks down once multiple files or directories share the
same path. Eg FLAGS_fileA = <custom flags> would incorrectly result in
both dir1/fileA.c and dir2/fileA.c being compiled with <custom flags>.
This change allows finer grained control which we need once we move
lib_$ARCH to arch/$ARCH/lib/ and lib_generic/ to lib/. Without this
change all lib/ directories would share the same custom CFLAGS.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'board/cm-bf533')
-rw-r--r-- | board/cm-bf533/config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cm-bf533/config.mk b/board/cm-bf533/config.mk index 3c0b46f..b50e1f2 100644 --- a/board/cm-bf533/config.mk +++ b/board/cm-bf533/config.mk @@ -27,7 +27,7 @@ #TEXT_BASE = do-not-use-me CFLAGS_lib_generic += -O2 -CFLAGS_lzma += -O2 +CFLAGS_lib_generic/lzma += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 |