<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 22, 2015 at 4:05 PM, Matthias Schiffer <span dir="ltr"><<a href="mailto:mschiffer@universe-factory.net" target="_blank">mschiffer@universe-factory.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 09/22/2015 06:25 PM, Alexandru Ardelean wrote:<br>
> From: Alexandru Ardelean <<a href="mailto:aa@ocedo.com">aa@ocedo.com</a>><br>
><br>
> Signed-off-by: Alexandru Ardelean <<a href="mailto:ardeleanalex@gmail.com">ardeleanalex@gmail.com</a>><br>
> ---<br>
>  target/linux/mpc85xx/Makefile | 5 ++++-<br>
>  1 file changed, 4 insertions(+), 1 deletion(-)<br>
><br>
> diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile<br>
> index e43327a..bfc2c8d 100644<br>
> --- a/target/linux/mpc85xx/Makefile<br>
> +++ b/target/linux/mpc85xx/Makefile<br>
> @@ -16,7 +16,10 @@ SUBTARGETS=generic p1020<br>
><br>
>  KERNEL_PATCHVER:=3.18<br>
><br>
> -KERNEL_IMAGES := zImage cuImage.tl-wdr4900-v1<br>
> +KERNEL_IMAGES := zImage<br>
> +ifeq ($(CONFIG_TL_WDR4900_V1),y)<br>
> +KERNEL_IMAGES += cuImage.tl-wdr4900-v1<br>
> +endif<br>
><br>
>  include $(INCLUDE_DIR)/<a href="http://target.mk" rel="noreferrer" target="_blank">target.mk</a><br>
><br>
><br>
<br>
This doesn't work, CONFIG_TL_WDR4900_V1 is a kernel .config option, not<br>
a OpenWrt .config option, and thus isn't available in OpenWrt Makefiles.<br>
What is this supposed to fix?<br>
</blockquote></div><br></div><div class="gmail_extra">Seems I'm confused here with the makefiles.<br><br></div><div class="gmail_extra">For our case, removing that kernel image file is needed, because we build our own mpc85xx image that is different from wdr4900-v1 ; so no file named cuImage.tl-wdr4900-v1.<br></div><div class="gmail_extra">Ideally, I'd like to put it under a config option that disables/enables this ; I will admit that I haven't tried the case where this is on.<br><br></div><div class="gmail_extra">I'll try to find another option that disables this, that can also enable it.<br></div><div class="gmail_extra">Any suggestions ?<br></div><div class="gmail_extra"><br></div></div>