aboutsummaryrefslogtreecommitdiff
path: root/package/eeprog/eeprog.mk
blob: e61aecb45a9bb9734e841a8bf12353adbb26ade6 (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,package,eeprog))