[OpenWrt-Devel] [PATCH 1/5] image.mk: add Build step combined-image

Yaroslav Syrytsia me at ys.lc
Sun Jun 7 08:50:45 EDT 2015


Hi,

I think, you can replace the following line:
> "$(word 1,$^)"

By:
$<

07.06.2015, 15:29, "Alexander Couzens" <lynxis at fe80.eu>:
> Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
> ---
>  include/image.mk | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/include/image.mk b/include/image.mk
> index 020418d..287c679 100644
> --- a/include/image.mk
> +++ b/include/image.mk
> @@ -326,6 +326,13 @@ define Build/check-size
>          }
>  endef
>
> +define Build/combined-image
> + -sh $(TOPDIR)/scripts/combined-image.sh \
> + "$(word 1,$^)" \
> + "$@" \
> + "$@.new"
> + @mv $@.new $@
> +endef
>
>  define Device/Init
>    PROFILES := $(PROFILE)
> --
> 2.4.2
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

-- 
Regards,
Yaroslav
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list