Commit 0bb74fc2 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

php 5.6.x is preferred for now

parent 5c9f5703
......@@ -9,6 +9,7 @@ require include/machine-xilinx-default.inc
# Corresponding from linux-xlnx and ezynq-u-boot
PREFERRED_VERSION_ezynq-u-boot = "v2016.01%"
PREFERRED_VERSION_linux-xlnx = "4.%"
PREFERRED_VERSION_php = "5.%"
# Machine definition known by ezynq and xilinx u-boot
UBOOT_MACHINE = "elphel393_config"
......
......@@ -9,7 +9,9 @@ EXTRA_OECONF += "--enable-elphel \
--with-config-file-path=${sysconfdir}/php \
"
DEPENDS += " curl"
DEPENDS += " curl \
linux-xlnx \
"
VPATH = "${TOPDIR}/../../rootfs-elphel/elphel-apps-php-extension"
VFILE = "VERSION"
......@@ -42,7 +44,11 @@ do_unpack_append(){
if os.path.isdir(VPATH+"/sysroots"):
os.system("rm -rf "+VPATH+"/sysroots")
os.system("ln -sf "+TOPDIR+"/tmp/sysroots "+VPATH+"/sysroots")
# old, JETHRO:
#os.system("ln -sf "+TOPDIR+"/tmp/sysroots "+VPATH+"/sysroots")
# new, ROCKO:
os.system("ln -sf "+WORKDIR+"/recipe-sysroot "+VPATH+"/sysroots")
if os.path.isdir(VPATH+"/bitbake-logs"):
os.system("rm -rf "+VPATH+"/bitbake-logs")
......
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