root/i2c-tools/trunk/eeprom/Module.mk

Revision 5162, 0.8 kB (checked in by khali, 8 months ago)

Drop the trailing .pl from all perl script names.

Line 
1 # EEPROM decoding scripts for the Linux eeprom driver
2 #
3 # Copyright (C) 2007-2008  Jean Delvare <khali@linux-fr.org>
4 #
5 # Licensed under the GNU General Public License.
6
7 EEPROM_DIR      := eeprom
8
9 EEPROM_TARGETS  := decode-dimms decode-vaio ddcmon decode-edid
10
11 # decode-xeon was not yet ported to the Linux 2.6 sysfs interface
12 ifeq (,$(findstring /2.6., /$(KERNELVERSION)))
13 EEPROM_TARGETS  += decode-xeon
14 endif
15
16 #
17 # Commands
18 #
19
20 install-eeprom: $(addprefix $(EEPROM_DIR)/,$(EEPROM_TARGETS))
21         $(INSTALL_DIR) $(DESTDIR)$(bindir)
22         for program in $(EEPROM_TARGETS) ; do \
23         $(INSTALL_PROGRAM) $(EEPROM_DIR)/$$program $(DESTDIR)$(bindir) ; done
24
25 uninstall-eeprom:
26         for program in $(EEPROM_TARGETS) ; do \
27         $(RM) $(DESTDIR)$(bindir)/$$program ; done
28
29 install: install-eeprom
30
31 uninstall: uninstall-eeprom
Note: See TracBrowser for help on using the browser.