e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
32 lines
653 B
Makefile
32 lines
653 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_CLEAN_CMDS
|
|
rm -f $(@D)/devmem2
|
|
endef
|
|
|
|
define DEVMEM2_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D $(@D)/devmem2 $(TARGET_DIR)/sbin/devmem2
|
|
endef
|
|
|
|
define DEVMEM2_UNINSTALL_TARGET_CMDS
|
|
rm -f $(TARGET_DIR)/sbin/devmem2
|
|
endef
|
|
|
|
$(eval $(generic-package))
|