diff options
| author | Maxin B. John <maxin.john@enea.com> | 2014-07-30 10:47:12 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-02 09:26:14 +0100 |
| commit | 593f00d3f13150db54e006ef1b1deaae31f914a4 (patch) | |
| tree | c7535c50dd1a1a588279225b6f833133aa5c04d9 /meta/recipes-devtools/i2c-tools/i2c-tools-3.1.1 | |
| parent | 704dd12151adbab5907b6fe65384cff860b6028d (diff) | |
| download | poky-593f00d3f13150db54e006ef1b1deaae31f914a4.tar.gz | |
i2c-tools: Uprev to 3.1.1
1. Updated the SRC_URI to http://dl.lm-sensors.org/i2c-tools/
2. Corrected the License to GPLv2+ as the "COPYING" file include these
statements:
"This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version."
(From OE-Core rev: d5fe5a93d310966d5389600c9e102f894772325b)
Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/i2c-tools/i2c-tools-3.1.1')
| -rw-r--r-- | meta/recipes-devtools/i2c-tools/i2c-tools-3.1.1/Module.mk | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/meta/recipes-devtools/i2c-tools/i2c-tools-3.1.1/Module.mk b/meta/recipes-devtools/i2c-tools/i2c-tools-3.1.1/Module.mk new file mode 100644 index 0000000000..fcaf72f22a --- /dev/null +++ b/meta/recipes-devtools/i2c-tools/i2c-tools-3.1.1/Module.mk | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | # EEPROMER | ||
| 2 | # | ||
| 3 | # Licensed under the GNU General Public License. | ||
| 4 | |||
| 5 | EEPROMER_DIR := eepromer | ||
| 6 | |||
| 7 | EEPROMER_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ | ||
| 8 | -Wcast-align -Wwrite-strings -Wnested-externs -Winline \ | ||
| 9 | -W -Wundef -Wmissing-prototypes -Iinclude | ||
| 10 | |||
| 11 | EEPROMER_TARGETS := eepromer eeprom eeprog | ||
| 12 | |||
| 13 | # | ||
| 14 | # Programs | ||
| 15 | # | ||
| 16 | |||
| 17 | $(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o | ||
| 18 | $(CC) $(LDFLAGS) -o $@ $^ | ||
| 19 | |||
| 20 | $(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o | ||
| 21 | $(CC) $(LDFLAGS) -o $@ $^ | ||
| 22 | |||
| 23 | $(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o $(EEPROMER_DIR)/24cXX.o | ||
| 24 | $(CC) $(LDFLAGS) -o $@ $^ | ||
| 25 | |||
| 26 | # | ||
| 27 | # Objects | ||
| 28 | # | ||
| 29 | |||
| 30 | $(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c | ||
| 31 | $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ | ||
| 32 | |||
| 33 | $(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c | ||
| 34 | $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ | ||
| 35 | |||
| 36 | $(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c | ||
| 37 | $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ | ||
| 38 | |||
| 39 | $(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c | ||
| 40 | $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ | ||
| 41 | |||
| 42 | # | ||
| 43 | # Commands | ||
| 44 | # | ||
| 45 | |||
| 46 | all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) | ||
| 47 | |||
| 48 | strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) | ||
| 49 | strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) | ||
| 50 | |||
| 51 | clean-eepromer: | ||
| 52 | $(RM) $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS)) | ||
| 53 | |||
| 54 | install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) | ||
| 55 | $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir) | ||
| 56 | for program in $(EEPROMER_TARGETS) ; do \ | ||
| 57 | $(INSTALL_PROGRAM) $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done | ||
| 58 | |||
| 59 | uninstall-eepromer: | ||
| 60 | for program in $(EEPROMER_TARGETS) ; do \ | ||
| 61 | $(RM) $(DESTDIR)$(sbindir)/$$program ; \ | ||
| 62 | $(RM) $(DESTDIR)$(man8dir)/$$program.8 ; done | ||
| 63 | |||
| 64 | all: all-eepromer | ||
| 65 | |||
| 66 | strip: strip-eepromer | ||
| 67 | |||
| 68 | clean: clean-eepromer | ||
| 69 | |||
| 70 | install: install-eepromer | ||
| 71 | |||
| 72 | uninstall: uninstall-eepromer | ||
