kumquat-buildroot/package/eeprog/eeprog.mk

23 lines
518 B
Makefile
Raw Normal View History

2008-09-04 03:35:34 +02:00
#############################################################
#
# eeprog
#
#############################################################
EEPROG_VERSION = 0.7.6
EEPROG_SITE = http://codesink.org/download
2008-09-04 03:35:34 +02:00
define EEPROG_BUILD_CMDS
$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(@D)
endef
2008-09-04 03:35:34 +02:00
define EEPROG_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/eeprog $(TARGET_DIR)/usr/bin/eeprog
endef
2008-09-04 03:35:34 +02:00
define EEPROG_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/eeprog
endef
2008-09-04 03:35:34 +02:00
$(eval $(call GENTARGETS,package,eeprog))