From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] mjpgstreamer build error with ccache and J=0
Date: Thu, 5 Mar 2015 14:58:30 +0100 [thread overview]
Message-ID: <20150305145830.67207a96@free-electrons.com> (raw)
In-Reply-To: <10AA8E3F675B42669EDF6C02D65AAE63@JohanW7>
Dear Sagaert Johan,
On Thu, 5 Mar 2015 14:44:38 +0100, Sagaert Johan wrote:
> mjpgstreamer seems to fail bilding when I have ccache on and number of jobs=0
>
> I cleaned the ccache before building.
>
> This is the output of make V=1
Can you try the below patch?
diff --git a/package/mjpg-streamer/mjpg-streamer.mk b/package/mjpg-streamer/mjpg-streamer.mk
index 2385429..2a0c717 100644
--- a/package/mjpg-streamer/mjpg-streamer.mk
+++ b/package/mjpg-streamer/mjpg-streamer.mk
@@ -15,7 +15,7 @@ MJPG_STREAMER_LICENSE_FILES = LICENSE
MJPG_STREAMER_DEPENDENCIES = jpeg
define MJPG_STREAMER_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) CC=$(TARGET_CC) -C $(@D)
+ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define MJPG_STREAMER_INSTALL_TARGET_CMDS
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-03-05 13:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-05 13:44 [Buildroot] mjpgstreamer build error with ccache and J=0 Sagaert Johan
2015-03-05 13:58 ` Thomas Petazzoni [this message]
2015-03-05 16:43 ` Sagaert Johan
2015-03-05 16:46 ` Thomas Petazzoni
2015-03-05 21:48 ` Arnout Vandecappelle
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=20150305145830.67207a96@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--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