diff options
author | Michael Smith <msmith@cbnco.com> | 2009-06-07 16:43:26 -0400 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2009-06-08 10:14:05 +0100 |
commit | 654cb590ae11f3ada8ed877a6f81f14cabe7b506 (patch) | |
tree | 12ac94e4c9c5ae53a73b7f10f6624cf7762168ff /recipes/busybox/busybox.inc | |
parent | 86f777c46c59a3344790ffdc6e4da20c51504d58 (diff) |
busybox: fix udhcpc default script location when prefix is not "/usr"
Signed-off-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'recipes/busybox/busybox.inc')
-rw-r--r-- | recipes/busybox/busybox.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/busybox/busybox.inc b/recipes/busybox/busybox.inc index 106938e01b..e056ad1141 100644 --- a/recipes/busybox/busybox.inc +++ b/recipes/busybox/busybox.inc @@ -11,7 +11,7 @@ LICENSE = "GPL" SECTION = "base" PRIORITY = "required" -INC_PR = "r20" +INC_PR = "r21" SRC_URI = "\ http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ @@ -59,6 +59,12 @@ LD = "${CC} -nostdlib" inherit cml1 update-rc.d +do_configure () { + sed -e 's#@DATADIR@#${datadir}#g' \ + < ${WORKDIR}/defconfig > ${S}/.config + cml1_do_configure +} + do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS base_do_compile |