Paul Spooren 73f3ad1df2 build: fix empty SUBTARGET in json files
Some targets like kirkwood or omap don't use a subtarget which results
in a malformed JSON info file.

Instead of having a valid value like `"target": "ath79/tiny"` for these
targets the value is `"target": "kirkwood/"`.

This patch uses the same if condition to use `generic` if the subtarget
is empty.

Tested for the kirkwood target.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-02-13 17:45:46 +01:00
..
2019-08-12 12:27:06 +02:00
2015-03-29 07:29:18 +00:00
2020-01-26 19:20:08 +01:00
2019-08-12 12:27:06 +02:00
2019-01-30 13:20:14 +01:00
2018-08-05 00:06:27 +02:00
2019-12-23 00:22:07 +01:00