summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox/busybox.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/busybox/busybox.inc')
-rw-r--r--meta/packages/busybox/busybox.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/packages/busybox/busybox.inc b/meta/packages/busybox/busybox.inc
index 9f450532da..8c258135c8 100644
--- a/meta/packages/busybox/busybox.inc
+++ b/meta/packages/busybox/busybox.inc
@@ -7,7 +7,6 @@ SECTION = "base"
7PRIORITY = "required" 7PRIORITY = "required"
8 8
9export EXTRA_CFLAGS = "${CFLAGS}" 9export EXTRA_CFLAGS = "${CFLAGS}"
10EXTRA_OEMAKE_append = " CROSS=${HOST_PREFIX}"
11PACKAGES =+ "${PN}-httpd ${PN}-udhcpd" 10PACKAGES =+ "${PN}-httpd ${PN}-udhcpd"
12 11
13FILES_${PN}-httpd = "${sysconfdir}/init.d/busybox-httpd /srv/www" 12FILES_${PN}-httpd = "${sysconfdir}/init.d/busybox-httpd /srv/www"
@@ -70,7 +69,7 @@ do_install () {
70 install -m 0755 ${WORKDIR}/busybox-httpd ${D}${sysconfdir}/init.d/ 69 install -m 0755 ${WORKDIR}/busybox-httpd ${D}${sysconfdir}/init.d/
71 install -d ${D}/srv/www 70 install -d ${D}/srv/www
72 fi 71 fi
73 if grep "CONFIG_APP_UDHCPD=y" ${WORKDIR}/defconfig; then 72 if grep "CONFIG_UDHCPD=y" ${WORKDIR}/defconfig; then
74 # Move udhcpd back to /usr/sbin/udhcpd 73 # Move udhcpd back to /usr/sbin/udhcpd
75 install -d ${D}${sbindir} 74 install -d ${D}${sbindir}
76 mv ${D}/busybox${sbindir}/udhcpd ${D}${sbindir}/ 75 mv ${D}/busybox${sbindir}/udhcpd ${D}${sbindir}/
@@ -84,7 +83,7 @@ do_install () {
84 83
85 install -m 0755 ${WORKDIR}/hwclock.sh ${D}${sysconfdir}/init.d/ 84 install -m 0755 ${WORKDIR}/hwclock.sh ${D}${sysconfdir}/init.d/
86 fi 85 fi
87 if grep "CONFIG_APP_UDHCPC=y" ${WORKDIR}/defconfig; then 86 if grep "CONFIG_UDHCPC=y" ${WORKDIR}/defconfig; then
88 # Move dhcpc back to /usr/sbin/udhcpc 87 # Move dhcpc back to /usr/sbin/udhcpc
89 install -d ${D}${base_sbindir} 88 install -d ${D}${base_sbindir}
90 mv ${D}/busybox${base_sbindir}/udhcpc ${D}${base_sbindir}/ 89 mv ${D}/busybox${base_sbindir}/udhcpc ${D}${base_sbindir}/