Initial Commit
- initial default booting image
This commit is contained in:
21
package/trinity/Config.in
Normal file
21
package/trinity/Config.in
Normal file
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
|
||||
bool
|
||||
default y
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_val_compare_and_swap_4
|
||||
depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \
|
||||
BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 || \
|
||||
BR2_powerpc64le || BR2_sparc || BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_TRINITY
|
||||
bool "trinity"
|
||||
depends on BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # IPV6_UNICAST_IF
|
||||
help
|
||||
A Linux System call fuzz tester
|
||||
|
||||
https://github.com/kernelslacker/trinity
|
||||
|
||||
comment "trinity needs a toolchain w/ headers >= 3.4"
|
||||
depends on BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
|
||||
3
package/trinity/trinity.hash
Normal file
3
package/trinity/trinity.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 df32531560a63cf9b5b7714152aa5e82aaed0a58a1dafc6baf9ca67ea8ad3ec2 trinity-v1.9-82-g294c46522620afffd7b57af7ef743131ff55a488.tar.gz
|
||||
sha256 35e3fc68c89fd7b8f72fd910b521cb3292f859e9181f3c26bd0df84d144bc1d4 COPYING
|
||||
40
package/trinity/trinity.mk
Normal file
40
package/trinity/trinity.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# trinity
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TRINITY_VERSION = v1.9-82-g294c46522620afffd7b57af7ef743131ff55a488
|
||||
TRINITY_SITE = $(call github,kernelslacker,trinity,$(TRINITY_VERSION))
|
||||
TRINITY_LICENSE = GPL-2.0
|
||||
TRINITY_LICENSE_FILES = COPYING
|
||||
TRINITY_CPE_ID_VALID = YES
|
||||
|
||||
TRINITY_LDFLAGS = $(TARGET_LDFLAGS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
|
||||
TRINITY_DEPENDENCIES += libexecinfo
|
||||
TRINITY_LDFLAGS += -lexecinfo
|
||||
endif
|
||||
|
||||
define TRINITY_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure)
|
||||
endef
|
||||
|
||||
define TRINITY_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) LDFLAGS="$(TRINITY_LDFLAGS)"
|
||||
endef
|
||||
|
||||
define TRINITY_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
LDFLAGS="$(TRINITY_LDFLAGS)" DESTDIR=$(TARGET_DIR)/usr install
|
||||
endef
|
||||
|
||||
# Install helper scripts
|
||||
define TRINITY_INSTALL_HELPER_SCRIPTS
|
||||
mkdir -p $(TARGET_DIR)/usr/libexec/trinity
|
||||
cp -p $(@D)/scripts/* $(TARGET_DIR)/usr/libexec/trinity/
|
||||
endef
|
||||
TRINITY_POST_INSTALL_TARGET_HOOKS += TRINITY_INSTALL_HELPER_SCRIPTS
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user