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>
28 lines
796 B
Makefile
28 lines
796 B
Makefile
#############################################################
|
|
#
|
|
# nanocom
|
|
#
|
|
#############################################################
|
|
NANOCOM_VERSION = 2.6.1
|
|
NANOCOM_SOURCE = nanocom.tar.gz
|
|
NANOCOM_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/nanocom/nanocom/v1.0
|
|
|
|
# N.B. Don't strip any path components during extraction.
|
|
define NANOCOM_EXTRACT_CMDS
|
|
gzip -d -c $(DL_DIR)/$(NANOCOM_SOURCE) | tar --strip-components=0 -C $(NANOCOM_DIR) -xf -
|
|
endef
|
|
|
|
define NANOCOM_BUILD_CMDS
|
|
$(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" -C $(@D)
|
|
endef
|
|
|
|
define NANOCOM_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/nanocom $(TARGET_DIR)/usr/bin/nanocom
|
|
endef
|
|
|
|
define NANOCOM_UNINSTALL_TARGET_CMDS
|
|
$(RM) $(TARGET_DIR)/usr/bin/nanocom
|
|
endef
|
|
|
|
$(eval $(generic-package))
|