linux-firmware/Makefile
Kyle McMartin a46023d61d Makefile: usbdux is an empty dir
It only contains source/README, which we remove in the installed
copy anyway.

Signed-off-by: Kyle McMartin <kyle@kernel.org>
2015-07-22 13:33:27 -04:00

14 lines
370 B
Makefile

# This file implements the GNOME Build API:
# http://people.gnome.org/~walters/docs/build-api.txt
FIRMWAREDIR = /lib/firmware
all:
install:
mkdir -p $(DESTDIR)$(FIRMWAREDIR)
cp -r * $(DESTDIR)$(FIRMWAREDIR)
rm -rf $(DESTDIR)$(FIRMWAREDIR)/usbdux
find $(DESTDIR)$(FIRMWAREDIR) \( -name 'WHENCE' -or -name 'LICENSE.*' -or \
-name 'LICENCE.*' \) -exec rm -- {} \;