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>
20 lines
616 B
Makefile
20 lines
616 B
Makefile
#############################################################
|
|
#
|
|
# statserial
|
|
#
|
|
#############################################################
|
|
STATSERIAL_VERSION = 1.1
|
|
STATSERIAL_SOURCE = statserial-$(STATSERIAL_VERSION).tar.gz
|
|
STATSERIAL_SITE = http://www.ibiblio.org/pub/Linux/system/serial/
|
|
STATSERIAL_DEPENDENCIES = ncurses
|
|
|
|
define STATSERIAL_BUILD_CMDS
|
|
$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
|
|
endef
|
|
|
|
define STATSERIAL_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/statserial $(TARGET_DIR)/usr/bin/statserial
|
|
endef
|
|
|
|
$(eval $(generic-package))
|