From: Alexander Egorenkov <egorenar-dev@posteo.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] package/makedumpfile: fix build for powerpc target
Date: Thu, 10 Sep 2020 09:09:05 +0200 [thread overview]
Message-ID: <20200910070905.11891-1-egorenar-dev@posteo.net> (raw)
Fixes:
- http://autobuild.buildroot.net/results/e480858d63285e9bf79a4a96dae802ef2ce605c2
Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
---
package/makedumpfile/makedumpfile.mk | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/package/makedumpfile/makedumpfile.mk b/package/makedumpfile/makedumpfile.mk
index 1876e1158a..8077664892 100644
--- a/package/makedumpfile/makedumpfile.mk
+++ b/package/makedumpfile/makedumpfile.mk
@@ -15,9 +15,16 @@ MAKEDUMPFILE_DEPENDENCIES += lzo
MAKEDUMPFILE_MAKE_OPTS += USELZO=on
endif
+ifeq ($(BR2_powerpc),y)
+MAKEDUMPFILE_TARGET = powerpc32
+else
+MAKEDUMPFILE_TARGET = $(BR2_ARCH)
+endif
+
+
define MAKEDUMPFILE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
- TARGET=$(BR2_ARCH) LINKTYPE=dynamic
+ TARGET=$(MAKEDUMPFILE_TARGET) LINKTYPE=dynamic
endef
define MAKEDUMPFILE_INSTALL_TARGET_CMDS
--
2.28.0
next reply other threads:[~2020-09-10 7:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-10 7:09 Alexander Egorenkov [this message]
2020-09-19 7:07 ` [Buildroot] [PATCH v2 1/1] package/makedumpfile: fix build for powerpc target Yann E. MORIN
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=20200910070905.11891-1-egorenar-dev@posteo.net \
--to=egorenar-dev@posteo.net \
--cc=buildroot@busybox.net \
/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