Skip to content
Snippets Groups Projects
Commit 73f3ad1d authored by Paul Spooren's avatar Paul Spooren Committed by Petr Štetiar
Browse files

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: default avatarPaul Spooren <mail@aparcar.org>
parent cd5dbba9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment