Skip to content

Commit

Permalink
build start code and install
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Mar 14, 2024
1 parent 122e07c commit 24b1c81
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,12 @@ if get_option('tools')

endif

########### remove symver ###########

########### build start code ###########
start_name = 'start-' +architecture + '.o'
run_command(compiler.get_id(), '-c', 'src/start/'+architecture+'.s',
'-nostdlib', '-static', '-o', meson.current_build_dir() / start_name ,
check:true)
install_data(meson.current_build_dir() / start_name, install_dir : get_option('libdir'),rename : start_name)

########### build test ###########
if get_option('test')
Expand Down

0 comments on commit 24b1c81

Please sign in to comment.