From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] Custom package using buildroot-linux-uclibc-g++
Date: Tue, 13 Feb 2018 16:51:47 +0100 [thread overview]
Message-ID: <20180213165147.4e6d97e6@windsurf.lan> (raw)
In-Reply-To: <08c05d6899a793abe8e5b0bb14d84033@email.freenet.de>
Hello,
Please keep the Buildroot mailing list in Cc. I've re-added it.
On Tue, 13 Feb 2018 16:32:50 +0100, earthquake.de at freenet.de wrote:
> Hello,
> thanks for your help.
> With CXX the link works! I use my own makefile and call CXX.
>
> mk-file:
> CUSTOM_LIB_VERSION = 1.4.3
> CUSTOM_LIB_SITE = $(BR2_EXTERNAL_CUSTOM_PATH)/package/custom_lib
> CUSTOM_LIB_SITE_METHOD = local
> CUSTOM_LIB_STAGING = YES
This should be:
CUSTOM_LIB_INSTALL_STAGING = YES
> define CUSTOM_LIB_BUILD_CMDS
> $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile-custom_lib all
> $(INSTALL) -D -m 0755 $(@D)/libcustom.so* $(STAGING_DIR)/usr/lib/
> endef
>
> A further issue is that the CUSTOM_LIB_INSTALL_STAGING_CMDS will not be called so i do the staging action in the build action (you see above) .
Which will solve this problem.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
next parent reply other threads:[~2018-02-13 15:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <08c05d6899a793abe8e5b0bb14d84033@email.freenet.de>
2018-02-13 15:51 ` Thomas Petazzoni [this message]
2018-02-13 19:29 ` [Buildroot] Custom package using buildroot-linux-uclibc-g++ AAlex_
2018-02-12 10:47 AAlex_
2018-02-12 15:53 ` Thomas Petazzoni
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=20180213165147.4e6d97e6@windsurf.lan \
--to=thomas.petazzoni@bootlin.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 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.