diff options
author | Graydon, Tracy <tracy.graydon@intel.com> | 2013-01-31 18:44:07 -0800 |
---|---|---|
committer | Graydon, Tracy <tracy.graydon@intel.com> | 2013-01-31 18:44:07 -0800 |
commit | b19d79bf9028f58e3e4226bd9410b59f19fe3c8d (patch) | |
tree | a84dec919322f3d19c7c0cf3050c8c134a0d4fc6 /eeprom/Module.mk | |
download | i2c-tools-2.0alpha.tar.gz i2c-tools-2.0alpha.tar.bz2 i2c-tools-2.0alpha.zip |
Initial commitHEADsubmit/tizen_common/20150126.093738submit/tizen_3.0_common/20161104.104000submit/2.0alpha/20130201.222745accepted/tizen/common/20150126.100451accepted/tizen/3.0/common/20161114.112238accepted/2.0alpha/20130201.222208tizen_3.0.m2tizen_3.0.2015.q2_commontizen_3.0.2014.q4_commonaccepted/tizen_commonaccepted/tizen_3.0_common2.0alpha
Diffstat (limited to 'eeprom/Module.mk')
-rw-r--r-- | eeprom/Module.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/eeprom/Module.mk b/eeprom/Module.mk new file mode 100644 index 0000000..950bee5 --- /dev/null +++ b/eeprom/Module.mk @@ -0,0 +1,31 @@ +# EEPROM decoding scripts for the Linux eeprom driver +# +# Copyright (C) 2007-2008 Jean Delvare <khali@linux-fr.org> +# +# Licensed under the GNU General Public License. + +EEPROM_DIR := eeprom + +EEPROM_TARGETS := decode-dimms decode-vaio ddcmon decode-edid + +# decode-xeon was not yet ported to the Linux 2.6 sysfs interface +ifeq (,$(findstring /2.6., /$(KERNELVERSION))) +EEPROM_TARGETS += decode-xeon +endif + +# +# Commands +# + +install-eeprom: $(addprefix $(EEPROM_DIR)/,$(EEPROM_TARGETS)) + $(INSTALL_DIR) $(DESTDIR)$(bindir) + for program in $(EEPROM_TARGETS) ; do \ + $(INSTALL_PROGRAM) $(EEPROM_DIR)/$$program $(DESTDIR)$(bindir) ; done + +uninstall-eeprom: + for program in $(EEPROM_TARGETS) ; do \ + $(RM) $(DESTDIR)$(bindir)/$$program ; done + +install: install-eeprom + +uninstall: uninstall-eeprom |