From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] how to install package ltp-testsuite outside of target directory
Date: Wed, 17 May 2017 10:41:05 +0200 [thread overview]
Message-ID: <8760gz7u5a.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <8729016553E3654398EA69218DA29EEF15B99E23@cnshjmbx02> (YUAN Linyu's message of "Tue, 16 May 2017 02:23:33 +0000")
>>>>> "YUAN" == YUAN Linyu <Linyu.Yuan@alcatel-sbell.com.cn> writes:
> Hi,
> When I build ltp-testsuite into a ARM initramfs image, it's very big,
> so system can't load module which can load without ltp-testsuite built.
> section 3 reloc 1 sym 'vmalloc_to_page': relocation 28 out of range
> (0xbf000034 -> 0xc1a18f1c)
> I try to build ltp-testsuite outside the target rootfs.,
> for example, $(BASE_DIR)/ ltp-testsuite,
> it need change below configuration in pkg-autotools.mk,
> and add one configuration item to enable user define a directory for install.
> $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install
> ==>
> $(2)_TARGET_DIR ?= $$(TARGET_DIR)
> $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$($(2)_TARGET_DIR) install
> anyone have a better solution?
An alternative is to write a post-build script to remove these files
from the rootfs and instead create a seperate filesystem with the ltp
files.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2017-05-17 8:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 2:23 [Buildroot] how to install package ltp-testsuite outside of target directory YUAN Linyu
2017-05-17 8:41 ` Peter Korsgaard [this message]
2017-05-17 8:48 ` YUAN Linyu
2017-05-17 9:03 ` Peter Korsgaard
2017-05-17 9:17 ` YUAN Linyu
2017-05-17 9:51 ` Peter Korsgaard
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=8760gz7u5a.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.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