diff options
author | Bernhard Walle <bwalle@suse.de> | 2008-07-14 16:33:32 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-07-15 08:31:24 +1000 |
commit | 29939bb87cfd135dd4500f9498cc82cc72486887 (patch) | |
tree | 823902520d3e33ff8629483dd670d764b30bcf54 /util | |
parent | 5c22d3a21a7dfc08c717e097f4c4b7e346507ffb (diff) |
Use CFLAGS for compiling bin2hex
This is a minor correction in the Makefile to use the CFLAGS (from configure)
also for bin2hex.
Signed-off-by: Bernhard Walle <bwalle@suse.de>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'util')
-rw-r--r-- | util/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/Makefile b/util/Makefile index 11d82fd..a1a78ac 100644 --- a/util/Makefile +++ b/util/Makefile @@ -2,10 +2,10 @@ BIN_TO_HEX:= bin/bin-to-hex $(BIN_TO_HEX): $(srcdir)/util/bin-to-hex.c @$(MKDIR) -p $(@D) - $(LINK.o) -o $@ $^ + $(LINK.o) $(CFLAGS) -o $@ $^ $(BIN_TO_HEX): CC=$(BUILD_CC) -$(BIN_TO_HEX): CFLAGS=$(BUILD_CFLAGS) +$(BIN_TO_HEX): CFLAGS+=$(BUILD_CFLAGS) $(BIN_TO_HEX): LDFLAGS= dist += util/Makefile util/bin-to-hex.c |