Commit Graph

7 Commits

Author SHA1 Message Date
Karl Palsson 13d430268a genlink: stop silencing errors
The $() form only captures stdout anyway, so explicitly silencing stderr
simply meant we lost useful debug information when things went wrong.
2016-08-18 22:08:59 +00:00
Karl Palsson e2dbcd7653 genlink: use a "generated" prefix on files made
This makes it easier to gitignore them, and clean them
2016-08-18 22:07:36 +00:00
Jonas Meyer 6aeb55c5d7 mk rules: Improve behaviour when DEVICE is set to family. Improved Warning
The warning now uses family instead of subfamily, which is available
sooner.
2016-08-18 22:07:36 +00:00
Jonas Meyer c025dc0327 mk/genlink: change devices.data format to remove gcc specific options
As discussed with karlp on irc the devices.data file should not contain
gcc specific command line options.

For that reason the command line options for gcc are now generated from
the variables CPU and FPU by the rules in the mk directory.

This breaks the genlink tests.

genlink: simplified devices.data

devices.data already had the information about the family name.
By using the first field (by the pattern used to match it) as family name information that data doesn't
have to be provided explicitly. The same data is used to generate the
CPPFLAGS, such as -DSTM32F1

The architectures block of the devices.data file was redundant.

genlink-config.mk uses family and subfamily to figure out which libopencm3
variant actually exists.
2016-08-18 22:07:36 +00:00
Anatol Pomozov ae41782e1a Fix misspellings using codespell tool 2016-03-08 08:52:54 -08:00
Frantisek Burian cac25258e1 * [BUILD] Add build system module GENLINK, update README how to use it. 2014-02-07 07:47:54 +01:00
Frantisek Burian 78eff1210e [BUILD] Add build system module makefiles, add README how to use it. 2014-02-07 07:47:54 +01:00