what do we need to do to update the toolchain?

@cschol : the instructions for the toolchain say that when the sdk changes, we should run:

make rack-sdk-clean
make rack-sdk-all

I did that, but I think I need to re-build the toolchain? but when I run

make toolchain-all

it says it’s all up to date…

What should we do to maintain our rack toolchains when the SDK updates?

The toolchain makefile will need an update. It’s still on 241

Sorry pressed send too soon

So if that said 250 and presumably version 15 it should then update

haha - but that was enough for my dumb brain. need to git pull in the toolchain folder. Doh!

1 Like

Yes. The version of the SDK in the toolchain will be updated once Rack 2.5.0 is released.

For now, just update the RACK_SDK_VERSION manually to 2.5.0 and run make rack-sdk-clean and make rack-sdk-all. You should not have to rebuild the toolchain itself.

Note, that I haven’t tested this myself, but will do so tonight.

1 Like

Hi @cschol. I didn’t know about these, so I was curious to read how the Makefile interprets these commands. I’m looking through all the files $RACK_DIR/*.mk, which on my system expands to:

/home/don/rack_sdk_2.4.1/arch.mk
/home/don/rack_sdk_2.4.1/compile.mk
/home/don/rack_sdk_2.4.1/dep.mk
/home/don/rack_sdk_2.4.1/plugin.mk

So far I don’t see where rack-sdk-clean and rack-sdk-all are defined. I’m not an expert at reading Makefiles but I sort-of understand how they work. Thanks for any help!

Surely you’re looking at the SDK makefile not the toolchain one…

FYI:

3 Likes

Yes, that was it, thank you!