source: EcnlProtoTool/trunk/mruby-1.3.0/src/mruby_core.rake@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby;charset=UTF-8
File size: 685 bytes
Line 
1MRuby.each_target do
2 current_dir = File.dirname(__FILE__).relative_path_from(Dir.pwd)
3 relative_from_root = File.dirname(__FILE__).relative_path_from(MRUBY_ROOT)
4 current_build_dir = "#{build_dir}/#{relative_from_root}"
5
6 objs = Dir.glob("#{current_dir}/*.c").map { |f|
7 next nil if cxx_exception_enabled? and f =~ /(error|vm).c$/
8 objfile(f.pathmap("#{current_build_dir}/%n"))
9 }.compact
10
11 if cxx_exception_enabled?
12 objs += %w(vm error).map { |v| compile_as_cxx "#{current_dir}/#{v}.c", "#{current_build_dir}/#{v}.cxx" }
13 end
14 self.libmruby << objs
15
16 file libfile("#{build_dir}/lib/libmruby_core") => objs do |t|
17 archiver.run t.name, t.prerequisites
18 end
19end
Note: See TracBrowser for help on using the repository browser.