linux-firmware/Makefile - rm: cannot remove`/lib/firmware/{WHENCE,LICENSE.*,LICENCE.*}': No such file or directory

From: Christian Recktenwald
Date: Mon Jan 14 2013 - 12:45:57 EST


Checked out commit 65a5163b8bb77bd7759efa3ca780867fcaed89b0

Makefile looks like:

...
install:
mkdir -p $(DESTDIR)$(FIRMWAREDIR)
cp -r * $(DESTDIR)$(FIRMWAREDIR)
rm -f $(DESTDIR)/usbdux/*dux $(DESTDIR)/*/*.asm
rm $(DESTDIR)$(FIRMWAREDIR)/{WHENCE,LICENSE.*,LICENCE.*}

last one breaks. AFAIK {WHENCE,LICENSE.*,LICENCE.*} would
be a bash-ism.

Replacing by:
rm $(DESTDIR)$(FIRMWAREDIR)/WHENCE
rm $(DESTDIR)$(FIRMWAREDIR)/LICENCE.*
rm $(DESTDIR)$(FIRMWAREDIR)/LICENSE.*
or
/bin/bash -c "rm -f $(DESTDIR)$(FIRMWAREDIR)/{WHENCE,LICENSE.*,LICENCE.*}"
helps.

make: GNU Make 3.81

--
LiHAS - Adrian Reyer - HessenwiesenstraÃe 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91
Mail: cre@xxxxxxxx - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/