File tree Expand file tree Collapse file tree
tools/scripts/modules/rt/private/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 local packagedeps = {}
5252 os .setenv (" PATH" , info .toolchainsdir .. " :" .. os.getenv (" PATH" ))
5353
54- if host == " aarch64-linux-musleabi" then
55- arch = " aarch64"
56- cpu = " armv8-a"
57- end
58-
5954 table.insert (configs , " --cross-prefix=" .. host .. " -" )
6055 table.insert (configs , " --enable-cross-compile" )
6156 table.insert (configs , " --target-os=none" )
6459 table.insert (configs , " --arch=" .. arch )
6560 table.insert (configs , " --cpu=" .. cpu )
6661
62+ if arch == " x86_64" then
63+ table.insert (configs ," --disable-x86asm" )
64+ end
65+
6766 if package :config (" shared" ) then
6867 table.insert (configs , " --enable-shared" )
6968 end
Original file line number Diff line number Diff line change @@ -129,6 +129,10 @@ function get_package_info(package)
129129
130130 if rtn .arch == " aarch64" then
131131 rtn .cpu = " armv8-a"
132+ elseif rtn .arch == " arm" then
133+ rtn .cpu = " armv7-a"
134+ elseif rtn .arch == " x86_64" then
135+ rtn .cpu = " generic64"
132136 else
133137 rtn .cpu = " "
134138 end
You can’t perform that action at this time.
0 commit comments