From: gmane <goweol@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [patch] u-boot powerpc build error
Date: Wed, 12 Jan 2011 13:47:08 +0900 [thread overview]
Message-ID: <4D2D324C.3010607@gmail.com> (raw)
Hello,
I met this error (use GNU make 3.80).
$ make MPC885ADS_config
$ make
/home/namsh/work/u-boot/arch/powerpc/config.mk:35: Extraneous text after
`else' directive
/home/namsh/work/u-boot/arch/powerpc/config.mk:37: *** only one `else'
per conditional. Stop.
Regards,
namsh
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk
index 2912604..5eeba9a 100644
--- a/arch/powerpc/config.mk
+++ b/arch/powerpc/config.mk
@@ -32,13 +32,15 @@ PLATFORM_LDFLAGS += -n --gc-sections
ifdef CONFIG_SYS_LDSCRIPT
# need to strip off double quotes
LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT))
-else ifdef CONFIG_NAND_SPL
+else
+ifdef CONFIG_NAND_SPL
LDSCRIPT := $(SRCTREE)/$(CONFIG_BOARDDIR)/u-boot-nand.lds
else
ifneq ($(wildcard $(SRCTREE)/arch/powerpc/cpu/$(CPU)/u-boot.lds),)
LDSCRIPT := $(SRCTREE)/arch/powerpc/cpu/$(CPU)/u-boot.lds
endif
endif
+endif
#
# When cross-compiling on NetBSD, we have to define __PPC__ or else we
next reply other threads:[~2011-01-12 4:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-12 4:47 gmane [this message]
2011-01-12 7:33 ` [U-Boot] [patch] u-boot powerpc build error Wolfgang Denk
2011-01-13 0:16 ` SungHyun Nam
2011-01-13 0:20 ` Scott Wood
2011-01-13 7:19 ` Aggrwal Poonam-B10812
2011-01-13 7:59 ` [U-Boot] U-Boot 12.2010 on Tx25 Doninelli Davide
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=4D2D324C.3010607@gmail.com \
--to=goweol@gmail.com \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.