[Buildroot] [PATCH 24/26] Improve TARGETS handling for bootloaders and kernel
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Jun 20 15:59:51 UTC 2011
Le Mon, 20 Jun 2011 17:01:27 +0200,
Luca Ceresoli <luca at lucaceresoli.net> a écrit :
> This breaks all packages in subdirectories, such as
> package/multimedia/ffmpeg, for which $(4) == "package/multimedia".
>
> This can be fixed as:
>
> -else ifeq ($(4),package)
> +else ifeq ($(firstword $(subst /, ,$(4))),package)
>
> or, even more simply:
>
> -else ifeq ($(4),package)
> +else
Ah, good catch. I indeed didn't test those packages. Thanks for the
review and testing, this is very much appreciated!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list