meta-toolchain: Run rmdir only if empty dirs are actually found.
authorAntonio Ospite <ospite@studenti.unina.it>
Sat, 13 Feb 2010 09:32:37 +0000 (09:32 +0000)
committerStefan Schmidt <stefan@datenfreihafen.org>
Sun, 14 Feb 2010 13:07:22 +0000 (14:07 +0100)
commit4658a3fca9935187e267c4bb6e62f8bd5e497835
treeb18bfddbd474d52e2246cb243e7789fb3d4116da
parentc552fa102d908a2f303366cb8100d688b1fe0323
meta-toolchain: Run rmdir only if empty dirs are actually found.

Prevent a failure in do_populate_sdk when there are no empty
directories:
  /bin/rmdir: missing operand
  Try `/bin/rmdir --help' for more information.

See also http://tinderbox.openembedded.net/packages/478437/

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
recipes/meta/meta-toolchain.bb