Commit caed080c authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

updated versions

parent 266c6bba
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
# alarm didn't work in Kubuntu 13.10 (gcc-4.8.1?)
SRC_URI_append = "file://sleep.m4.patch"
\ No newline at end of file
EXTRA_OECONF += "--enable-elphel"
DEV_DIR ?= "${TOPDIR}/../../rootfs-elphel/elphel-apps-php-extension/ext"
do_unpack_append(){
print("Link extension to the main tree")
if os.path.isdir("${DEV_DIR}"):
print("DEV_DIR exists - creating links...")
devdir_abspath = os.path.abspath("${DEV_DIR}")
for path, folders, files in os.walk("${DEV_DIR}"):
folders[:]=[fd for fd in folders if fd != ".git"]
for folder in folders:
folder_abspath = os.path.abspath(os.path.join(path, folder))
folder_relpath = folder_abspath.replace(devdir_abspath+"/", '')
os.system("cd ${S}/ext;mkdir -p "+folder_relpath)
for filename in files:
file_abspath = os.path.abspath(os.path.join(path, filename))
file_relpath = file_abspath.replace(devdir_abspath+"/", '')
os.system("cd ${S}/ext;ln -sf "+file_abspath+" "+file_relpath)
}
\ No newline at end of file
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