blob: 6badfcc21a3162d24e5f36e961256bd1ecf0f307 (
plain)
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
|
arch_binaries := $(arch_binaries) softfloat
p_softfloat = gcc$(pkg_ver)-soft-float
d_softfloat = debian/$(p_softfloat)
dirs_softfloat = \
$(PFL)/$(libdir) \
$(gcc_lib_dir)
files_softfloat = \
$(PFL)/$(libdir)/soft-float \
$(gcc_lib_dir)/soft-float
# ----------------------------------------------------------------------
$(binary_stamp)-softfloat: $(install_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
rm -rf $(d_softfloat)
dh_installdirs -p$(p_softfloat) $(dirs_softfloat)
$(dh_compat2) dh_movefiles -p$(p_softfloat) $(files_softfloat)
rm -rf $(d_softfloat)/$(PFL)/$(libdir)/soft-float/libssp.so*
mv $(d_softfloat)/$(PFL)/$(libdir)/soft-float/libssp.a \
$(d_softfloat)/$(PFL)/$(libdir)/soft-float/libssp_nonshared.a
debian/dh_doclink -p$(p_softfloat) $(p_xbase)
dh_strip -p$(p_softfloat)
dh_shlibdeps -p$(p_softfloat)
echo $(p_softfloat) >> debian/arch_binaries
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
|