From: Manuel Lauss <manuel.lauss@gmail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Cc: Paul Burton <paul.burton@imgtec.com>,
Ralf Baechle <ralf@linux-mips.org>,
Manuel Lauss <manuel.lauss@gmail.com>
Subject: [PATCH] MIPS: fix build with multiple PLATFORM strings
Date: Tue, 25 Oct 2016 16:12:05 +0200 [thread overview]
Message-ID: <20161025141205.244177-1-manuel.lauss@gmail.com> (raw)
Commit cf2a5e0bb (MIPS: Support generating Flattened Image Trees (.itb))
broke my alchemy devboard build, because it uses more than one entry
in the PLATFORM variable:
make -f kernel/linux/scripts/Makefile.build obj=arch/mips/boot/compressed \
VMLINUX_LOAD_ADDRESS=[..] PLATFORM=alchemy/common/ alchemy/devboards/ [..] vmlinuz
make[2]: *** No rule to make target 'alchemy/devboards/'. Stop.
make[1]: *** [arch/mips/Makefile:371: vmlinuz] Error 2
Fix this by wrapping the platform-y expansion in quotes.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
---
arch/mips/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index fbf40d3..1a6bac7 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -263,7 +263,7 @@ KBUILD_CPPFLAGS += -DDATAOFFSET=$(if $(dataoffset-y),$(dataoffset-y),0)
bootvars-y = VMLINUX_LOAD_ADDRESS=$(load-y) \
VMLINUX_ENTRY_ADDRESS=$(entry-y) \
- PLATFORM=$(platform-y)
+ PLATFORM="$(platform-y)"
ifdef CONFIG_32BIT
bootvars-y += ADDR_BITS=32
endif
--
2.10.1
next reply other threads:[~2016-10-25 14:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-25 14:12 Manuel Lauss [this message]
2016-10-25 14:29 ` [PATCH] MIPS: fix build with multiple PLATFORM strings Paul Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161025141205.244177-1-manuel.lauss@gmail.com \
--to=manuel.lauss@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=paul.burton@imgtec.com \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).