Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inherit nativesdk
- CONFIG_NAME = "odb-gcc-X"
- B = "${WORKDIR}/build2"
- # We must have a valid configuration before fetching
- do_fetch_prepend() {
- install -d ${B}
- bpkg create -d ${B}/${CONFIG_NAME} cc \
- --wipe \
- config.cxx=g++ \
- config.cc.coptions=-O3 \
- config.install.root=${D}/usr
- }
- do_fetch() {
- bpkg fetch --trust-yes \
- --directory ${B}/${CONFIG_NAME} https://pkg.cppget.org/1/beta
- }
- do_compile() {
- bpkg build odb -y ${PARALLEL_MAKE} --directory ${B}/${CONFIG_NAME}
- }
- do_install() {
- bpkg install odb --verbose 3 --directory ${B}/${CONFIG_NAME}
- }
- FILES_${PN}_append = " ${SDKPATHNATIVE}"
- FILES_${PN}_append = " /usr/*"
- #BBCLASSEXTEND = "native nativesdk"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement