mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
perl: add support for loongarch64
Config parameters grabbed from standard libraries and existing Perl build tree. Tested good on both glibc and musl with simple scripts. Signed-off-by: Xinhui Yang <cyan@cyano.uk>
This commit is contained in:
1 parent
4faf9d37e9
commit
9f462c360f
2 files changed
+22
-1
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ include perlver.mk
|
||||
|
||||
PKG_NAME:=perl
|
||||
PKG_VERSION:=$(PERL_VERSION)
|
||||
PKG_RELEASE:=6
|
||||
PKG_RELEASE:=7
|
||||
|
||||
PKG_SOURCE_URL:=https://www.cpan.org/src/5.0
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
# Architecture definitions
|
||||
owrt:arch=loongarch64
|
||||
owrt:bits=64
|
||||
owrt:endian=little
|
||||
|
||||
# Signals, from installed standard headers (asm-generic/signal.h)
|
||||
owrt:sig_count=64
|
||||
owrt:sigs='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS'
|
||||
owrt:sig_name_extra='IOT CLD POLL UNUSED'
|
||||
owrt:sig_num_extra='6 17 29 31'
|
||||
|
||||
# Took from existing Perl 5.40 build.
|
||||
d_casti32='define'
|
||||
d_long_double_style_ieee='define'
|
||||
d_long_double_style_ieee_std='define'
|
||||
d_modflproto='define'
|
||||
doublekind='3'
|
||||
fpossize='16'
|
||||
longdblkind='1'
|
||||
need_va_copy='undef'
|
||||
quadkind='2'
|
||||
Reference in new issue
Block a user