Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
c7ca7513
Commit
c7ca7513
authored
Aug 11, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+ garmin patch
parent
7452cd6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
linux-xlnx_4.0.bbappend
recipes-kernel/linux/linux-xlnx_4.0.bbappend
+7
-6
No files found.
recipes-kernel/linux/linux-xlnx_4.0.bbappend
View file @
c7ca7513
FILESEXTRAPATHS_append := "${TOPDIR}/../../linux-elphel/src/patches:"
FILESEXTRAPATHS_append := "${TOPDIR}/../../linux-elphel/src/patches:"
FILESEXTRAPATHS_prepend := "${THISDIR}/config:"
FILESEXTRAPATHS_prepend := "${THISDIR}/config:"
SRC_URI_append += " file://garmin_usb.c.patch"
SRC_URI_append += " file://xilinx_emacps.c.patch"
SRC_URI_append += " file://xilinx_emacps.c.patch"
SRC_URI_append += " file://xilinx_uartps.c.patch"
SRC_URI_append += " file://xilinx_uartps.c.patch"
SRC_URI_append += " file://si5338_vsc330x.patch"
SRC_URI_append += " file://si5338_vsc330x.patch"
...
@@ -42,7 +43,7 @@ do_fetch_append() {
...
@@ -42,7 +43,7 @@ do_fetch_append() {
linux_elphel_branch = d.getVar('linux-elphel_branch', True)
linux_elphel_branch = d.getVar('linux-elphel_branch', True)
linux_elphel_gitdir = d.getVar('linux-elphel_gitdir', True)
linux_elphel_gitdir = d.getVar('linux-elphel_gitdir', True)
linux_elphel_srcrev = d.getVar('linux-elphel_srcrev', True)
linux_elphel_srcrev = d.getVar('linux-elphel_srcrev', True)
if os.path.isdir(DEV_DIR):
if os.path.isdir(DEV_DIR):
print("Found DEV_DIR, skipping cloning")
print("Found DEV_DIR, skipping cloning")
else:
else:
...
@@ -72,7 +73,7 @@ python do_link() {
...
@@ -72,7 +73,7 @@ python do_link() {
file_abspath = os.path.abspath(os.path.join(path, filename))
file_abspath = os.path.abspath(os.path.join(path, filename))
file_relpath = file_abspath.replace(devdir_abspath+"/", '')
file_relpath = file_abspath.replace(devdir_abspath+"/", '')
os.system("cd "+S+";ln -sf "+file_abspath+" "+file_relpath)
os.system("cd "+S+";ln -sf "+file_abspath+" "+file_relpath)
#os.system("cd "+DEV_DIR+"; ln -sf "+S+" linux")
#os.system("cd "+DEV_DIR+"; ln -sf "+S+" linux")
if not os.path.isdir(DEV_DIR+"/sysroots"):
if not os.path.isdir(DEV_DIR+"/sysroots"):
os.system("cd "+DEV_DIR+"; ln -sf "+TOPDIR+"/tmp/sysroots sysroots")
os.system("cd "+DEV_DIR+"; ln -sf "+TOPDIR+"/tmp/sysroots sysroots")
...
@@ -134,7 +135,7 @@ do_bundle_initramfs () {
...
@@ -134,7 +135,7 @@ do_bundle_initramfs () {
# Added ${PARALLEL_MAKE} only
# Added ${PARALLEL_MAKE} only
kernel_do_compile() {
kernel_do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
# The $use_alternate_initrd is only set from
# The $use_alternate_initrd is only set from
# do_bundle_initramfs() This variable is specifically for the
# do_bundle_initramfs() This variable is specifically for the
# case where we are making a second pass at the kernel
# case where we are making a second pass at the kernel
...
@@ -164,7 +165,7 @@ inherit elphel-misc-functions
...
@@ -164,7 +165,7 @@ inherit elphel-misc-functions
VPATH = "${DEV_DIR}"
VPATH = "${DEV_DIR}"
VFILE = "VERSION"
VFILE = "VERSION"
ELPHEL_PE = "${@version_update('${VPATH}','${VFILE}',0)}"
ELPHEL_PE = "${@version_update('${VPATH}','${VFILE}',0)}"
ELPHEL_PV = "${@version_update('${VPATH}','${VFILE}',1)}"
ELPHEL_PV = "${@version_update('${VPATH}','${VFILE}',1)}"
ELPHEL_PR = "${@version_update('${VPATH}','${VFILE}',2)}"
ELPHEL_PR = "${@version_update('${VPATH}','${VFILE}',2)}"
...
@@ -195,9 +196,9 @@ REMOTE_IP ??= "192.168.0.9"
...
@@ -195,9 +196,9 @@ REMOTE_IP ??= "192.168.0.9"
do_target_scp () {
do_target_scp () {
echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}"
echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}"
scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/mmc/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}
scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/mmc/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}
scp -i ${IDENTITY_FILE} -p ${WORKDIR}/image/etc/elphel393/packages/linux-elphel ${REMOTE_USER}@${REMOTE_IP}:/etc/elphel393/packages
scp -i ${IDENTITY_FILE} -p ${WORKDIR}/image/etc/elphel393/packages/linux-elphel ${REMOTE_USER}@${REMOTE_IP}:/etc/elphel393/packages
ssh -i ${IDENTITY_FILE} ${REMOTE_USER}@${REMOTE_IP} sync
ssh -i ${IDENTITY_FILE} ${REMOTE_USER}@${REMOTE_IP} sync
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment