diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-04 11:55:22 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-04 11:55:22 +1000 |
commit | 963184515b4e6feb6c4ffef24ff9ea34337226c0 (patch) | |
tree | aa12884d5841461e2e729c3ffb7771e8a549e66a /Makefile.rules | |
parent | 081e07b278302c6f1c14b355a720a232026624a1 (diff) | |
download | skiboot-963184515b4e6feb6c4ffef24ff9ea34337226c0.zip skiboot-963184515b4e6feb6c4ffef24ff9ea34337226c0.tar.gz skiboot-963184515b4e6feb6c4ffef24ff9ea34337226c0.tar.bz2 |
Fix build with GNU Make 4.0
It expands our % on the right hand of the built-in.o rule into
the directory name extracted from the prefix of the left hand
and that makes ld puke.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index bfaa1a1..200abcb 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -46,7 +46,7 @@ endef %.i : %.c $(call Q,CC, $(CC) $(call cook_cflags,$@) -E -c $< -o $@, $@) -%built-in.o : % +%built-in.o : $(call Q,LD, $(LD) $(LDRFLAGS) -r $^ -o $@, $@) %.lds : %.lds.S |