300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
17 lines
507 B
Makefile
17 lines
507 B
Makefile
#############################################################
|
|
#
|
|
# tftpd
|
|
#
|
|
#############################################################
|
|
TFTPD_VERSION = 5.0
|
|
TFTPD_SOURCE = tftp-hpa-$(TFTPD_VERSION).tar.bz2
|
|
TFTPD_SITE = $(BR2_KERNEL_MIRROR)/software/network/tftp/
|
|
TFTPD_CONF_OPT = --without-tcpwrappers
|
|
|
|
define TFTPD_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd
|
|
$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/
|
|
endef
|
|
|
|
$(eval $(call AUTOTARGETS))
|