mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Changelog: https://github.com/Old-Man-Programmer/tree/blob/2.2.1/CHANGES Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
23 lines
576 B
Makefile
23 lines
576 B
Makefile
################################################################################
|
|
#
|
|
# tree
|
|
#
|
|
################################################################################
|
|
|
|
TREE_VERSION = 2.2.1
|
|
TREE_SOURCE = tree-$(TREE_VERSION).tgz
|
|
TREE_SITE = http://oldmanprogrammer.net/tar/tree
|
|
TREE_LICENSE = GPL-2.0+
|
|
TREE_LICENSE_FILES = LICENSE
|
|
|
|
define TREE_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=c99" \
|
|
-C $(@D)
|
|
endef
|
|
|
|
define TREE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/tree $(TARGET_DIR)/usr/bin/tree
|
|
endef
|
|
|
|
$(eval $(generic-package))
|