dsplink: find -delete isn't supported by findutils 4.1.x
authorKoen Kooi <koen@openembedded.org>
Sat, 3 Jan 2009 13:12:28 +0000 (14:12 +0100)
committerKoen Kooi <koen@openembedded.org>
Sat, 3 Jan 2009 13:12:28 +0000 (14:12 +0100)
packages/dsplink/dsplink.inc

index 1c63c30..48cf50b 100644 (file)
@@ -13,8 +13,8 @@ require ti-paths.inc
 
 do_configure () {
        # Clean up stale binaries
-       find ${S} -name "*.ko" -delete
-       find ${S} -name "*.o" -delete
+       find ${S} -name "*.ko" | xargs rm || true
+       find ${S} -name "*.o" | xargs rm || true
 
        # Run perl script to create appropriate makefiles (v1.60 and up)
        (