/usr/src/glibc/debian/sysdeps/armhf.mk is in eglibc-source 2.15-0ubuntu10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | libc_add-ons = ports nptl $(add-ons)
# Install a compat symlink so old binaries keep working:
define libc6_extra_pkg_install
mkdir -p debian/libc6/lib/arm-linux-gnueabihf
ln -sf ld-linux-armhf.so.3 debian/libc6/lib/arm-linux-gnueabihf/ld-linux.so.3
endef
define libc6-udeb_extra_pkg_install
mkdir -p debian/libc6-udeb/lib/arm-linux-gnueabihf
ln -sf /lib/ld-linux-armhf.so.3 debian/libc6-udeb/lib/arm-linux-gnueabihf/ld-linux.so.3
endef
EGLIBC_PASSES += armel
DEB_ARCH_REGULAR_PACKAGES += libc6-armel libc6-dev-armel
armel_add-ons = ports nptl $(add-ons)
armel_configure_target = arm-linux-gnueabi
armel_CC = $(BUILD_CC) -mfloat-abi=softfp
armel_CXX = $(BUILD_CXX) -mfloat-abi=softfp
armel_slibdir = /lib/arm-linux-gnueabi
armel_libdir = /usr/lib/arm-linux-gnueabi
define libc6-dev-armel_extra_pkg_install
mkdir -p debian/libc6-dev-armel/usr/include
cp -a debian/tmp-armel/usr/include/bits \
debian/libc6-dev-armel/usr/include/
cp -a debian/tmp-armel/usr/include/gnu \
debian/libc6-dev-armel/usr/include/
cp -a debian/tmp-armel/usr/include/sys \
debian/libc6-dev-armel/usr/include/
cp debian/tmp-armel/usr/include/fpu_control.h \
debian/libc6-dev-armel/usr/include/
endef
define libc6-armel_extra_pkg_install
mkdir -p debian/libc6-armel/lib
ln -sf $(armel_slibdir)/ld-linux.so.3 debian/libc6-armel/lib
endef
|