Logo
Explore Help
Sign In
Linux/linux-firmware
1
0
Fork 0
You've already forked linux-firmware
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ synced 2025-12-17 10:44:43 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
42ad5367dd38371b2a1bb263b6efa85f9b92fc93
linux-firmware/Makefile

14 lines
370 B
Makefile
Raw Normal View History

build: Implement minimal GNOME Build API One more step on the road to entirely eliminating the concept of packages. I adapted the installation rules from the Fedora spec file. They should clearly be less lame, but to do so we'd need more formal rules about which files should be installed. Maybe just limit it to things ending in ".bin" or ".fw"? See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Colin Walters <walters@verbum.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-05-21 18:37:20 -04:00
# 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)
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
rm -rf $(DESTDIR)$(FIRMWAREDIR)/usbdux
Makefile: use find instead of shell globs So Makefile works with /bin/sh that's not bash. Reported-by: Fredrik Rinnestam <fredrik@crux.nu> Signed-off-by: Kyle McMartin <kyle@kernel.org>
2015-07-22 13:33:14 -04:00
find $(DESTDIR)$(FIRMWAREDIR) \( -name 'WHENCE' -or -name 'LICENSE.*' -or \
-name 'LICENCE.*' \) -exec rm -- {} \;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 118ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API