Verified Commit e318b389 authored by Rahix's avatar Rahix
Browse files

build: Explicitly & individually include startup code



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent cf297371
......@@ -3,7 +3,7 @@ name = 'bmatest'
executable(
name + '.elf',
'main.c',
dependencies: [libcard10],
dependencies: [libcard10, max32665_startup],
link_args: [
'-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
],
......
......@@ -3,7 +3,7 @@ name = 'bmetest'
executable(
name + '.elf',
'main.c',
dependencies: [libcard10],
dependencies: [libcard10, max32665_startup],
link_args: [
'-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
],
......
......@@ -3,7 +3,7 @@ name = 'ecgtest'
executable(
name + '.elf',
'main.c',
dependencies: [libcard10],
dependencies: [libcard10, max32665_startup],
link_args: [
'-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
],
......
......@@ -20,7 +20,7 @@ executable(
name + '.elf',
sources,
include_directories: freertos_sdk_includes,
dependencies: [libcard10],
dependencies: [libcard10, max32665_startup],
link_with: freertos,
link_args: [
'-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
......
......@@ -3,7 +3,7 @@ name = 'hello-world'
executable(
name + '.elf',
'main.c',
dependencies: [libcard10],
dependencies: [libcard10, max32665_startup],
link_args: [
'-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
],
......
......@@ -3,7 +3,7 @@ name = 'imutest'
executable(
name + '.elf',
'main.c',
dependencies: [libcard10],
dependencies: [libcard10, max32665_startup],
link_args: [
'-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
],
......
......@@ -5,7 +5,7 @@ executable(
'main.c',
'image/image.c',
'image/image2.c',
dependencies: [libcard10],
dependencies: [libcard10, max32665_startup],
link_args: [
'-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
],
......
......@@ -29,5 +29,5 @@ lib = static_library(
libcard10 = declare_dependency(
include_directories: includes,
link_with: lib,
dependencies: [deps, max32665_startup],
dependencies: deps,
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment