Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] how to install package ltp-testsuite outside of target directory
@ 2017-05-16  2:23 YUAN Linyu
  2017-05-17  8:41 ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: YUAN Linyu @ 2017-05-16  2:23 UTC (permalink / raw)
  To: buildroot

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?

thanks

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-17  9:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox