[Buildroot] [PATCH] fs/common.mk: Strip extra whitespace when device table is empty
Peter Korsgaard
jacmet at uclibc.org
Wed Mar 13 22:13:13 UTC 2013
>>>>> "Ezequiel" == Ezequiel Garcia <ezequiel.garcia at free-electrons.com> writes:
Ezequiel> Since ROOTFS_DEVICE_TABLES it is a concatenation of two strings
Ezequiel> separated by spaces, there will always be a space on it, which means
Ezequiel> it's never empty. Therefore, when testing for empty, the condition
Ezequiel> never evaluate to false.
Ezequiel> The following change fixes this problem; it runs the qstrip on
Ezequiel> the overall combination of the variables, causing the space to be
Ezequiel> removed if it's the only thing left.
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list