Quantcast

Adding a recipe to bitbake. But where does the program go

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Adding a recipe to bitbake. But where does the program go

hirst689
I have added a recipe to oe, it build fine, however in the rootfs image I cannot find the executable, I find the man page and some list files but the executable is missing. If I build pure-ftpd myself using the configure/make/make install I get the executable in a sub-directory sbin.
Using the bitbake method I find the executable in the src directory of work/pure-ftpdxxx/pure-ftpdxxx/src .
Here is the recipe.
hope someone can help me with this

thanks

DESCRIPTION = "Sample program"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7b47170f564f6a314b82b3ea67a40bd"
PR = "r0"
PV = "1.0.29"
DEPENDS = ""
RPROVIDES = "pure-ftpd"
PROVIDES = "pure-ftpd"

PARALLEL_MAKE = ""

inherit autotools pkgconfig

EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-gnueabi"

SRC_URI = "http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-${PV}.tar.gz"
SRC_URI[md5sum] = "e0132a51357d419f8b66e8997d9dc5fa"
SRC_URI[sha256sum] = "55bfb84fa63a37e5b56906afb4444fda7285d0f8b5ed24798f59c978ddea2749"
S = "${WORKDIR}/pure-ftpd-${PV}"

EXTRA_OECONF_append_armv6 = " --enable-armv6"
EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"

FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math"
BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"

do_configure(){
  oe_runconf ${EXTRE_OECONF}
}

do_compile () {
  oe_runmake
}

do_install () {
  oe_runmake install DESTDIR=${D}
}


ARM_INSTRUCTION_SET = "arm"

BBCLASSEXTEND = "native"
Loading...