From: Dr. Stephen Henson Date: Wed, 1 Jul 2009 11:43:57 +0000 (+0000) Subject: PR: 1972 X-Git-Tag: OpenSSL_1_0_0-beta3~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9852e7e4d72eef334b90a24823ff7fbe4c5c9990;p=oweals%2Fopenssl.git PR: 1972 Submitted by: David McCullough Approved by: steve@openssl.org Add support for building with the uClinux-dist. --- diff --git a/Configure b/Configure index 6ca17bc0e7..31236319b4 100755 --- a/Configure +++ b/Configure @@ -571,6 +571,10 @@ my %table=( ##### Compaq Non-Stop Kernel (Tandem) "tandem-c89","c89:-Ww -D__TANDEM -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TANDEM_SOURCE -DB_ENDIAN::(unknown):::THIRTY_TWO_BIT:::", +# uClinux +"uClinux-dist","$ENV{'CC'}:\$(CFLAGS)::-D_REENTRANT::\$(LDFLAGS) \$(LDLIBS):BN_LLONG:::::::::::::::$ENV{'LIBSSL_dlfcn'}:linux-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):$ENV{'RANLIB'}::", +"uClinux-dist64","$ENV{'CC'}:\$(CFLAGS)::-D_REENTRANT::\$(LDFLAGS) \$(LDLIBS):SIXTY_FOUR_BIT_LONG:::::::::::::::$ENV{'LIBSSL_dlfcn'}:linux-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):$ENV{'RANLIB'}::", + ); my @MK1MF_Builds=qw(VC-WIN64I VC-WIN64A diff --git a/config b/config index 31986f55a8..2b7c57c9eb 100755 --- a/config +++ b/config @@ -496,6 +496,12 @@ echo Operating system: $GUESSOS # script above so we end up with values in vars but that would take # more time that I want to waste at the moment case "$GUESSOS" in + uClinux*64*) + OUT=uClinux-dist64 + ;; + uClinux*) + OUT=uClinux-dist + ;; mips2-sgi-irix) CPU=`(hinv -t cpu) 2>/dev/null | head -1 | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'` CPU=${CPU:-0}