Commit 66208d36 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed net-tools compiling

parent cb95eed8
...@@ -19,10 +19,11 @@ IMAGE_INSTALL_append = " python-core \ ...@@ -19,10 +19,11 @@ IMAGE_INSTALL_append = " python-core \
php-cgi \ php-cgi \
php-cli" php-cli"
IMAGE_LINGUAS = " " IMAGE_LINGUAS = " "
LICENSE = "MIT" LICENSE = "MIT"
inherit core-image inherit core-image
IMAGE_ROOTFS_SIZE = "65536" IMAGE_ROOTFS_SIZE = "131072"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " file://config.make \ SRC_URI_append := " file://config.make \
file://libmii.c \ file://libmii.c \
file://mii-diag.c \ file://mii-diag.c \
file://Makefile" file://Makefile"
do_configure_append() { do_configure() {
cp ${WORKDIR}/Makefile ${S}/Makefile cp ${WORKDIR}/Makefile ${S}/Makefile
cp ${WORKDIR}/config.make ${S}/config.make cp ${WORKDIR}/config.make ${S}/config.make
cp ${WORKDIR}/libmii.c ${S}/libmii.c cp ${WORKDIR}/libmii.c ${S}/libmii.c
cp ${WORKDIR}/mii-diag.c ${S}/mii-diag.c cp ${WORKDIR}/mii-diag.c ${S}/mii-diag.c
cp ${WORKDIR}/net-tools-config.h ${S}/config.h
} }
base_sbindir_progs_append = " mii-diag" base_sbindir_progs_append := " mii-diag"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment