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

Felix Fietkau nbd at nbd.name
Sun Jan 1 04:26:30 PST 2017

On 2016-12-31 19:06, Yousong Zhou wrote:
> 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_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?
Correct, but I'd prefer having a default profile to make it easier for

- Felix

More information about the Lede-dev mailing list