kumquat-buildroot/package/devmem2/devmem2.mk
Thomas De Schampheleire 3d86d29bf0 packages: remove package clean commands
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-08 19:42:34 +01:00

24 lines
559 B
Makefile

################################################################################
#
# devmem2
#
################################################################################
DEVMEM2_SITE = http://free-electrons.com/pub/mirror
DEVMEM2_SOURCE = devmem2.c
DEVMEM2_VERSION = 1
define DEVMEM2_EXTRACT_CMDS
cp $(DL_DIR)/$($(PKG)_SOURCE) $(@D)/
endef
define DEVMEM2_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) devmem2
endef
define DEVMEM2_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/devmem2 $(TARGET_DIR)/sbin/devmem2
endef
$(eval $(generic-package))