How to create different makefile for different toolchain?

Hi All,

Our device, during development stage, we would like to use two different toolchains to build firmwares for same devices. But one toolchain support DES natively, another is not.

So, for example, during build up ppp daemon, we can not apply 600-Revert-pppd-Use-openssl-for-the-DES-instead-of-the-l.patch for one toolchain, but another need it.

I'm looking for a good way to identify the different during building firmware.
Please share some experiences if you have. Thanks for your time.

Check out ./scripts/env

Set one up for each.. Same target, different toolchains (or rather, one build with the patch, one without)

1 Like

Hi Grommish,

Thanks. I will check it now.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.