|
@@ -9,11 +9,20 @@ SOCAT_SOURCE = socat-$(SOCAT_VERSION).tar.bz2
|
|
SOCAT_SITE = http://www.dest-unreach.org/socat/download
|
|
SOCAT_SITE = http://www.dest-unreach.org/socat/download
|
|
SOCAT_LICENSE = GPL-2.0
|
|
SOCAT_LICENSE = GPL-2.0
|
|
SOCAT_LICENSE_FILES = COPYING
|
|
SOCAT_LICENSE_FILES = COPYING
|
|
-SOCAT_CONF_ENV = \
|
|
|
|
- sc_cv_termios_ispeed=no \
|
|
|
|
|
|
+
|
|
|
|
+SOCAT_CONF_ENV = sc_cv_termios_ispeed=no
|
|
|
|
+
|
|
|
|
+ifeq ($(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpc64le),y)
|
|
|
|
+SOCAT_CONF_ENV += \
|
|
|
|
+ sc_cv_sys_crdly_shift=12 \
|
|
|
|
+ sc_cv_sys_tabdly_shift=10 \
|
|
|
|
+ sc_cv_sys_csize_shift=8
|
|
|
|
+else
|
|
|
|
+SOCAT_CONF_ENV += \
|
|
sc_cv_sys_crdly_shift=9 \
|
|
sc_cv_sys_crdly_shift=9 \
|
|
sc_cv_sys_tabdly_shift=11 \
|
|
sc_cv_sys_tabdly_shift=11 \
|
|
sc_cv_sys_csize_shift=4
|
|
sc_cv_sys_csize_shift=4
|
|
|
|
+endif
|
|
|
|
|
|
# We need to run autoconf to regenerate the configure script, in order
|
|
# We need to run autoconf to regenerate the configure script, in order
|
|
# to ensure that the test checking linux/ext2_fs.h works
|
|
# to ensure that the test checking linux/ext2_fs.h works
|