[PATCH v2 3/3] apm821xx: set DEVICE_TYPE to "nas" for sata subtarget

Linus Walleij linus.walleij at linaro.org
Thu Aug 6 10:57:19 EDT 2020


Hi Adrian,

I got back to trying to fix the NAS packages for the Gemini.

On Sat, May 30, 2020 at 11:29 AM Adrian Schmutzler
<freifunk at adrianschmutzler.de> wrote:

> Since DEVICE_TYPE cannot be set per device, just set DEVICE_TYPE
> to "nas" for the entire subtarget, which only contains this single
> device.
>
> Note that while this looks like a cosmetic change in combination
> with the previous patches, this particular patch actually changes
> the packages for the device.
>
> Suggested-by: Christian Lamparter <chunkeey at gmail.com>
> Cc: Christian Lamparter <chunkeey at gmail.com>
> Cc: Sungbo Eo <mans0n at gorani.run>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>

So if I understand correctly, what I need to do it to split
Gemini into subtargets (such as "boots from flash" and "boots from harddisk")
like the APM does, so I can establish two profiles, and then
that means I can also split the Makefile for the images
like the APM does?

Yours,
Linus Walleij



More information about the openwrt-devel mailing list