summaryrefslogtreecommitdiffhomepage
path: root/groups.d/040.host_toolchain.d/ldso_host.package
diff options
context:
space:
mode:
Diffstat (limited to 'groups.d/040.host_toolchain.d/ldso_host.package')
-rw-r--r--groups.d/040.host_toolchain.d/ldso_host.package13
1 files changed, 13 insertions, 0 deletions
diff --git a/groups.d/040.host_toolchain.d/ldso_host.package b/groups.d/040.host_toolchain.d/ldso_host.package
new file mode 100644
index 00000000..1f918045
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/ldso_host.package
@@ -0,0 +1,13 @@
+: ${PKG_LDSO_HOST_PREFIX="${PREFIX_NATIVE}"};
+: ${PKG_LDSO_HOST_DEPENDS:="gcc_stage1_host musl_full_host psxtypes_host"};
+: ${PKG_LDSO_HOST_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
+: ${PKG_LDSO_HOST_BUILD_TYPE:=cross};
+: ${PKG_LDSO_HOST_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
+: ${PKG_LDSO_HOST_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET} --disable-shared"};
+: ${PKG_LDSO_HOST_INSTALL_FILES_V2:="@../%[_target]/lib/libldso.a=%[_prefix]/lib/libldso.a"};
+: ${PKG_LDSO_HOST_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
+: ${PKG_LDSO_HOST_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
+
+ex_pkg_register "ldso_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0