Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #1723

Category None
Changed by Paul Spooren <mailohnoyoudont@aparcar.org>
Changed at Thu 13 Feb 2020 16:45:46
Repository https://git.openwrt.org/openwrt/openwrt.git
Branch master
Revision 73f3ad1df2e1d33d3d5aae4fd2093aa80406cc4a


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>

Changed files