soc_core: generate extra string-based config defines
authorMateusz Holenko <mholenko@antmicro.com>
Thu, 11 Jul 2019 08:13:54 +0000 (10:13 +0200)
committerMateusz Holenko <mholenko@antmicro.com>
Mon, 15 Jul 2019 13:58:54 +0000 (15:58 +0200)
commita19bdd0e6a0952ddaba0d6fa4c50f2fc489c7819
treeeb9b25de4741abee18f0bba7a99154546fe1ccb1
parent005c07769b317a64ce79b9cd903e882bb4183cdf
soc_core: generate extra string-based config defines

C preprocessor does not allow to compare strings, so
the current defines are not usable at the compile time.
This adds new defines that can be ifdefed.
litex/soc/integration/soc_core.py