Commit 12dea54e authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Use the specific init directly, not by CMake defines

parent 06262e42
......@@ -2,18 +2,16 @@ require toki-amp-instance.inc
inherit cmake
S = "${WORKDIR}/git}"
S = "${WORKDIR}/git/${MACHINE}/${TOKI_OS}"
inherit toki-system
inherit toki-externalsrc
EXTERNALSRC = "${@relative_externalsrc(d, "init")}"
EXTERNALSRC = "${@relative_externalsrc(d, "init/${MACHINE}/${TOKI_OS}")}"
EXTRA_OECMAKE = "-DAMP_USE_CORE=${TOKI_AMP_CORE} \
-DAMP_SLAVE_MASK=${TOKI_SLAVE_MASK} \
-DAMP_CORE_MASK=${TOKI_CORE_MASK} \
-DAMP_NUM_CORES=${@get_toki_num_cores(d)} \
-DTOKI_MACHINE=${MACHINE} \
-DTOKI_OS=${TOKI_OS} \
"
TARGET_CFLAGS_append = " -ffreestanding -Og"
......
Markdown is supported
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