2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-04-18 15:54:50 +02:00
|
|
|
#
|
|
|
|
# devmem2
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-04-18 15:54:50 +02:00
|
|
|
|
2011-11-09 03:03:12 +01:00
|
|
|
DEVMEM2_SITE = http://free-electrons.com/pub/mirror
|
|
|
|
DEVMEM2_SOURCE = devmem2.c
|
|
|
|
DEVMEM2_VERSION = 1
|
2008-04-18 15:54:50 +02:00
|
|
|
|
2011-11-09 03:03:12 +01:00
|
|
|
define DEVMEM2_EXTRACT_CMDS
|
|
|
|
cp $(DL_DIR)/$($(PKG)_SOURCE) $(@D)/
|
|
|
|
endef
|
2008-04-18 15:54:50 +02:00
|
|
|
|
2011-11-09 03:03:12 +01:00
|
|
|
define DEVMEM2_BUILD_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) devmem2
|
|
|
|
endef
|
2008-04-18 15:54:50 +02:00
|
|
|
|
2011-11-09 03:03:12 +01:00
|
|
|
define DEVMEM2_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D $(@D)/devmem2 $(TARGET_DIR)/sbin/devmem2
|
|
|
|
endef
|
2008-04-18 15:54:50 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|