Created
May 9, 2019 12:30
-
-
Save qichunren/13f07e79c7cc5d294a1cfaca949b9661 to your computer and use it in GitHub Desktop.
Build root on arm with buildroot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################# | |
# | |
# ruby | |
# | |
############################################################# | |
RUBY_VERSION = 1.9.2-p0 | |
RUBY_SITE = ftp://ftp.ruby-lang.org/pub/ruby/1.9 | |
RUBY_AUTORECONF = YES | |
HOST_RUBY_AUTORECONF = YES | |
RUBY_DEPENDENCIES = host-ruby | |
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV) | |
RUBY_CONF_OPT = --disable-install-doc | |
HOST_RUBY_CONF_OPT = --disable-install-doc | |
# Force optionals to build before we do | |
ifeq ($(BR2_PACKAGE_BERKELEYDB),y) | |
RUBY_DEPENDENCIES += berkeleydb | |
endif | |
ifeq ($(BR2_PACKAGE_NCURSES),y) | |
RUBY_DEPENDENCIES += ncurses | |
endif | |
ifeq ($(BR2_PACKAGE_OPENSSL),y) | |
RUBY_DEPENDENCIES += openssl | |
endif | |
ifeq ($(BR2_PACKAGE_READLINE),y) | |
RUBY_DEPENDENCIES += readline | |
endif | |
ifeq ($(BR2_PACKAGE_ZLIB),y) | |
RUBY_DEPENDENCIES += zlib | |
endif | |
$(eval $(call AUTOTARGETS,package,ruby)) | |
$(eval $(call AUTOTARGETS,package,ruby,host)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment