summaryrefslogtreecommitdiff
path: root/classes/rubyextension.bbclass
blob: 628ebdb7c72d8210ddc0d8012cd33bfe239245f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DEPENDS  += "ruby-native"
RDEPENDS += "ruby"

rubyextension_do_configure() {
	${STAGING_BINDIR_NATIVE}/ruby setup.rb config || \
	oefatal "ruby setup.rb config stage failed."
}

rubyextension_do_compile() {
	${STAGING_BINDIR_NATIVE}/ruby setup.rb setup || \
	oefatal "ruby setup.rb setup stage failed."
}

rubyextension_do_install() {
	${STAGING_BINDIR_NATIVE}/ruby setup.rb install || \
	oefatal "ruby setup.rb install stage failed."
}

EXPORT_FUNCTIONS do_configure do_compile do_install
ed a while ago and musl works much better. Start to remove the various overrides and patches related to uclibc which are no longer needed. uclibc support in a layer would still be possible. I have strong reasons to believe nobody is still using uclibc since patches are missing and I doubt the metadata even parses anymore. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>