[LEDE-DEV] [PATCH 04/11] build: image.mk: don't install-images for devices not selected

Yousong Zhou yszhou4tech at gmail.com
Sat Dec 31 10:06:35 PST 2016


On 1 January 2017 at 01:11, Felix Fietkau <nbd at nbd.name> wrote:
> On 2016-12-31 18:06, Yousong Zhou wrote:
>> This commit tries to fix the following situation
>>
>>  - CONFIG_TARGET_MULTIPLE_PROFILE is not set
>>  - CONFIG_TARGET_sunxi_DEVICE_sun7i-a20-cubieboard2=y
>>  - All other devices are not selected
>>
>> The build system will still try to install-images for those other
>> devices as PROFILES and PROFILE has value DEVICE_sun7i-a20-cubieboard2
>>
>> Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
> This is wrong and breaks using generic profiles. Please just set
> PROFILES:= <name of generic profile> in Device/Default in the sunxi
> image makefile.
>
> - Felix
>

Am I right that if there is no such generic profile for a target,
PROFILES should be set to a non-existent value in Device/Default, just
to override what's set in Device/InitProfile?

                yousong



More information about the Lede-dev mailing list