summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMei Lei <lei.mei@intel.com>2011-07-21 16:46:35 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-22 11:51:03 +0100
commit40b4ac7d7a2c342121ca9e6ab07949c4bef36aa9 (patch)
treeb010098e3bf852f382a4584d8b6a209e4664d570 /meta
parent2dd9a8ff006732d07563b7812e9487c17e859eb9 (diff)
downloadpoky-40b4ac7d7a2c342121ca9e6ab07949c4bef36aa9.tar.gz
dhcp: Fix libdir issue for multilib
(From OE-Core rev: 83a1a46b707895c564b8dc393917b09cc283bf27) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.2.0/fix-external-bind.patch14
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp4.inc2
2 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.0/fix-external-bind.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.0/fix-external-bind.patch
index f03936d5f9..4f11655812 100644
--- a/meta/recipes-connectivity/dhcp/dhcp-4.2.0/fix-external-bind.patch
+++ b/meta/recipes-connectivity/dhcp/dhcp-4.2.0/fix-external-bind.patch
@@ -28,7 +28,7 @@ index 77ed055..5a77f2d 100644
28 scripts/solaris scripts/openwrt 28 scripts/solaris scripts/openwrt
29 dhclient_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \ 29 dhclient_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
30- ../bind/lib/libdns.a ../bind/lib/libisc.a 30- ../bind/lib/libdns.a ../bind/lib/libisc.a
31+ $(libbind)/lib/libdns.a $(libbind)/lib/libisc.a 31+ $(libbind)/libdns.a $(libbind)/libisc.a
32 man_MANS = dhclient.8 dhclient-script.8 dhclient.conf.5 dhclient.leases.5 32 man_MANS = dhclient.8 dhclient-script.8 dhclient.conf.5 dhclient.leases.5
33 EXTRA_DIST = $(man_MANS) 33 EXTRA_DIST = $(man_MANS)
34 34
@@ -53,7 +53,7 @@ index 61049be..85aefa3 100644
53 omshell_SOURCES = omshell.c 53 omshell_SOURCES = omshell.c
54 omshell_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \ 54 omshell_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \
55- ../bind/lib/libdns.a ../bind/lib/libisc.a 55- ../bind/lib/libdns.a ../bind/lib/libisc.a
56+ $(libbind)/lib/libdns.a $(libbind)/lib/libisc.a 56+ $(libbind)/libdns.a $(libbind)/libisc.a
57 57
58 libdhcpctl_a_SOURCES = dhcpctl.c callback.c remote.c 58 libdhcpctl_a_SOURCES = dhcpctl.c callback.c remote.c
59 59
@@ -61,7 +61,7 @@ index 61049be..85aefa3 100644
61 cltest_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \ 61 cltest_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \
62- ../bind/lib/libdns.a ../bind/lib/libisc.a 62- ../bind/lib/libdns.a ../bind/lib/libisc.a
63\ No newline at end of file 63\ No newline at end of file
64+ $(libbind)/lib/libdns.a $(libbind)/lib/libisc.a 64+ $(libbind)/libdns.a $(libbind)/libisc.a
65diff --git a/omapip/Makefile.am b/omapip/Makefile.am 65diff --git a/omapip/Makefile.am b/omapip/Makefile.am
66index 595950a..17f2233 100644 66index 595950a..17f2233 100644
67--- a/omapip/Makefile.am 67--- a/omapip/Makefile.am
@@ -71,7 +71,7 @@ index 595950a..17f2233 100644
71 71
72 svtest_SOURCES = test.c 72 svtest_SOURCES = test.c
73-svtest_LDADD = libomapi.a ../bind/lib/libdns.a ../bind/lib/libisc.a 73-svtest_LDADD = libomapi.a ../bind/lib/libdns.a ../bind/lib/libisc.a
74+svtest_LDADD = libomapi.a $(libbind)/lib/libdns.a $(libbind)/lib/libisc.a 74+svtest_LDADD = libomapi.a $(libbind)/libdns.a $(libbind)/libisc.a
75 75
76diff --git a/relay/Makefile.am b/relay/Makefile.am 76diff --git a/relay/Makefile.am b/relay/Makefile.am
77index d8757ca..a7885da 100644 77index d8757ca..a7885da 100644
@@ -82,7 +82,7 @@ index d8757ca..a7885da 100644
82 dhcrelay_SOURCES = dhcrelay.c 82 dhcrelay_SOURCES = dhcrelay.c
83 dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \ 83 dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
84- ../bind/lib/libdns.a ../bind/lib/libisc.a 84- ../bind/lib/libdns.a ../bind/lib/libisc.a
85+ $(libbind)/lib/libdns.a $(libbind)/lib/libisc.a 85+ $(libbind)/libdns.a $(libbind)/libisc.a
86 man_MANS = dhcrelay.8 86 man_MANS = dhcrelay.8
87 EXTRA_DIST = $(man_MANS) 87 EXTRA_DIST = $(man_MANS)
88 88
@@ -96,8 +96,8 @@ index cdfaf47..d2c254b 100644
96 dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \ 96 dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
97- ../dhcpctl/libdhcpctl.a ../bind/lib/libdns.a \ 97- ../dhcpctl/libdhcpctl.a ../bind/lib/libdns.a \
98- ../bind/lib/libisc.a 98- ../bind/lib/libisc.a
99+ ../dhcpctl/libdhcpctl.a $(libbind)/lib/libdns.a \ 99+ ../dhcpctl/libdhcpctl.a $(libbind)/libdns.a \
100+ $(libbind)/lib/libisc.a 100+ $(libbind)/libisc.a
101 101
102 man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 102 man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
103 EXTRA_DIST = $(man_MANS) 103 EXTRA_DIST = $(man_MANS)
diff --git a/meta/recipes-connectivity/dhcp/dhcp4.inc b/meta/recipes-connectivity/dhcp/dhcp4.inc
index 885cc19413..bdaa5e9b00 100644
--- a/meta/recipes-connectivity/dhcp/dhcp4.inc
+++ b/meta/recipes-connectivity/dhcp/dhcp4.inc
@@ -25,7 +25,7 @@ EXTRA_OECONF = "--with-srv-lease-file=${localstatedir}/lib/dhcp/dhcpd.leases \
25 --with-srv6-lease-file=${localstatedir}/lib/dhcp/dhcpd6.leases \ 25 --with-srv6-lease-file=${localstatedir}/lib/dhcp/dhcpd6.leases \
26 --with-cli-lease-file=${localstatedir}/lib/dhcp/dhclient.leases \ 26 --with-cli-lease-file=${localstatedir}/lib/dhcp/dhclient.leases \
27 --with-cli6-lease-file=${localstatedir}/lib/dhcp/dhclient6.leases \ 27 --with-cli6-lease-file=${localstatedir}/lib/dhcp/dhclient6.leases \
28 --with-libbind=${STAGING_LIBDIR}/.. \ 28 --with-libbind=${STAGING_LIBDIR}/ \
29 " 29 "
30 30
31do_compile_prepend () { 31do_compile_prepend () {