aboutsummaryrefslogtreecommitdiff
path: root/package/eeprog/eeprog.mk
blob: 40b059e7baededf5b91a167574ac08aa0ec1e810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################
#
# eeprog
#
#############################################################

EEPROG_VERSION = 0.7.6
EEPROG_SITE = http://codesink.org/download

define EEPROG_BUILD_CMDS
	$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(@D)
endef

define EEPROG_INSTALL_TARGET_CMDS
	$(INSTALL) -D $(@D)/eeprog $(TARGET_DIR)/usr/bin/eeprog
endef

define EEPROG_UNINSTALL_TARGET_CMDS
	rm -f $(TARGET_DIR)/usr/bin/eeprog
endef

$(eval $(call GENTARGETS))