Commit 8e2cab1b authored by Andrey Filippov's avatar Andrey Filippov

Version working on NC393

parent ddb2fa15
...@@ -10,3 +10,5 @@ generated* ...@@ -10,3 +10,5 @@ generated*
sysroots sysroots
bitbake-logs bitbake-logs
/temp/ /temp/
*.o
*.cgi
# Runs 'make', 'make install', and 'make clean' in specified subdirectories
SUBDIRS := src
INSTALLDIRS = $(SUBDIRS:%=install-%)
CLEANDIRS = $(SUBDIRS:%=clean-%)
#TARGETDIR=$(DESTDIR)/www/pages
all: $(SUBDIRS)
@echo "make all top"
$(SUBDIRS):
$(MAKE) -C $@
install: $(INSTALLDIRS)
@echo "make install top"
$(INSTALLDIRS):
$(MAKE) -C $(@:install-%=%) install
clean: $(CLEANDIRS)
@echo "make clean top"
$(CLEANDIRS):
$(MAKE) -C $(@:clean-%=%) clean
.PHONY: all install clean $(SUBDIRS) $(INSTALLDIRS) $(CLEANDIRS)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="0.1911075509">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="0.1911075509" moduleId="org.eclipse.cdt.core.settings" name="Default">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration buildProperties="" description="" id="0.1911075509" name="Default" parent="org.eclipse.cdt.build.core.prefbase.cfg">
<folderInfo id="0.1911075509." name="/" resourcePath="">
<toolChain id="org.eclipse.cdt.build.core.prefbase.toolchain.666232262" name="No ToolChain" resourceTypeBasedDiscovery="false" superClass="org.eclipse.cdt.build.core.prefbase.toolchain">
<targetPlatform id="org.eclipse.cdt.build.core.prefbase.toolchain.666232262.1732628229" name=""/>
<builder arguments="apps-histograms" command="${workspace_loc:/elphel-apps-imgsrv/run_bitbake.sh}" enableCleanBuild="false" id="org.eclipse.cdt.build.core.settings.default.builder.552011105" incrementalBuildTarget="-c compile -f -v" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
<tool id="org.eclipse.cdt.build.core.settings.holder.libs.838083408" name="holder for library settings" superClass="org.eclipse.cdt.build.core.settings.holder.libs"/>
<tool id="org.eclipse.cdt.build.core.settings.holder.383560979" name="Assembly" superClass="org.eclipse.cdt.build.core.settings.holder">
<option id="org.eclipse.cdt.build.core.settings.holder.incpaths.1127280104" name="Include Paths" superClass="org.eclipse.cdt.build.core.settings.holder.incpaths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/elphel-apps-histograms/sysroots/elphel393/usr/include-uapi}&quot;"/>
</option>
<option id="org.eclipse.cdt.build.core.settings.holder.symbols.621361431" name="Symbols" superClass="org.eclipse.cdt.build.core.settings.holder.symbols" valueType="definedSymbols">
<listOptionValue builtIn="false" value="&quot;size_t=unsigned long long&quot;"/>
</option>
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.1784816997" languageId="org.eclipse.cdt.core.assembly" languageName="Assembly" sourceContentType="org.eclipse.cdt.core.asmSource" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
</tool>
<tool id="org.eclipse.cdt.build.core.settings.holder.2138549353" name="GNU C++" superClass="org.eclipse.cdt.build.core.settings.holder">
<option id="org.eclipse.cdt.build.core.settings.holder.incpaths.749390784" name="Include Paths" superClass="org.eclipse.cdt.build.core.settings.holder.incpaths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/elphel-apps-histograms/sysroots/elphel393/usr/include-uapi}&quot;"/>
</option>
<option id="org.eclipse.cdt.build.core.settings.holder.symbols.181638413" name="Symbols" superClass="org.eclipse.cdt.build.core.settings.holder.symbols" valueType="definedSymbols">
<listOptionValue builtIn="false" value="&quot;size_t=unsigned long long&quot;"/>
</option>
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.738060822" languageId="org.eclipse.cdt.core.g++" languageName="GNU C++" sourceContentType="org.eclipse.cdt.core.cxxSource,org.eclipse.cdt.core.cxxHeader" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
</tool>
<tool id="org.eclipse.cdt.build.core.settings.holder.599798252" name="GNU C" superClass="org.eclipse.cdt.build.core.settings.holder">
<option id="org.eclipse.cdt.build.core.settings.holder.incpaths.986754851" name="Include Paths" superClass="org.eclipse.cdt.build.core.settings.holder.incpaths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/elphel-apps-histograms/sysroots/elphel393/usr/include-uapi}&quot;"/>
</option>
<option id="org.eclipse.cdt.build.core.settings.holder.symbols.437192423" name="Symbols" superClass="org.eclipse.cdt.build.core.settings.holder.symbols" valueType="definedSymbols">
<listOptionValue builtIn="false" value="&quot;size_t=unsigned long long&quot;"/>
</option>
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.323294080" languageId="org.eclipse.cdt.core.gcc" languageName="GNU C" sourceContentType="org.eclipse.cdt.core.cSource,org.eclipse.cdt.core.cHeader" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
</tool>
<tool id="org.eclipse.cdt.build.core.settings.holder.601952834" name="LLVM bytecode assembly" superClass="org.eclipse.cdt.build.core.settings.holder">
<option id="org.eclipse.cdt.build.core.settings.holder.incpaths.733579918" name="Include Paths" superClass="org.eclipse.cdt.build.core.settings.holder.incpaths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/elphel-apps-histograms/sysroots/elphel393/usr/include-uapi}&quot;"/>
</option>
<option id="org.eclipse.cdt.build.core.settings.holder.symbols.281612564" name="Symbols" superClass="org.eclipse.cdt.build.core.settings.holder.symbols" valueType="definedSymbols">
<listOptionValue builtIn="false" value="&quot;size_t=unsigned long long&quot;"/>
</option>
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.2001272540" languageId="org.eclipse.cdt.managedbuilder.llvm.ui.llvmAssembly" languageName="LLVM bytecode assembly" sourceContentType="org.eclipse.cdt.managedbuilder.llvm.ui.llvmAssemblySource" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
</tool>
<tool id="org.eclipse.cdt.build.core.settings.holder.1431672169" name="UPC" superClass="org.eclipse.cdt.build.core.settings.holder">
<option id="org.eclipse.cdt.build.core.settings.holder.incpaths.1478411216" name="Include Paths" superClass="org.eclipse.cdt.build.core.settings.holder.incpaths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/elphel-apps-histograms/sysroots/elphel393/usr/include-uapi}&quot;"/>
</option>
<option id="org.eclipse.cdt.build.core.settings.holder.symbols.392020317" name="Symbols" superClass="org.eclipse.cdt.build.core.settings.holder.symbols" valueType="definedSymbols">
<listOptionValue builtIn="false" value="&quot;size_t=unsigned long long&quot;"/>
</option>
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.1581677866" languageId="org.eclipse.cdt.core.parser.upc.upc" languageName="UPC" sourceContentType="org.eclipse.cdt.core.parser.upc.upcSource" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src"/>
<entry excluding="elphel393-tcbootstrap/|elphel393/lib/|elphel393/usr/include-uapi/asm-generic/auxvec.h|elphel393/usr/include-uapi/asm-generic/bitsperlong.h|elphel393/usr/include-uapi/asm-generic/errno-base.h|elphel393/usr/include-uapi/asm-generic/errno.h|elphel393/usr/include-uapi/asm-generic/fcntl.h|elphel393/usr/include-uapi/asm-generic/int-l64.h|elphel393/usr/include-uapi/asm-generic/int-ll64.h|elphel393/usr/include-uapi/asm-generic/ipcbuf.h|elphel393/usr/include-uapi/asm-generic/kvm_para.h|elphel393/usr/include-uapi/asm-generic/mman-common.h|elphel393/usr/include-uapi/asm-generic/mman.h|elphel393/usr/include-uapi/asm-generic/msgbuf.h|elphel393/usr/include-uapi/asm-generic/param.h|elphel393/usr/include-uapi/asm-generic/poll.h|elphel393/usr/include-uapi/asm-generic/posix_types.h|elphel393/usr/include-uapi/asm-generic/resource.h|elphel393/usr/include-uapi/asm-generic/sembuf.h|elphel393/usr/include-uapi/asm-generic/setup.h|elphel393/usr/include-uapi/asm-generic/shmbuf.h|elphel393/usr/include-uapi/asm-generic/shmparam.h|elphel393/usr/include-uapi/asm-generic/siginfo.h|elphel393/usr/include-uapi/asm-generic/signal-defs.h|elphel393/usr/include-uapi/asm-generic/signal.h|elphel393/usr/include-uapi/asm-generic/socket.h|elphel393/usr/include-uapi/asm-generic/sockios.h|elphel393/usr/include-uapi/asm-generic/stat.h|elphel393/usr/include-uapi/asm-generic/statfs.h|elphel393/usr/include-uapi/asm-generic/swab.h|elphel393/usr/include-uapi/asm-generic/termbits.h|elphel393/usr/include-uapi/asm-generic/termios.h|elphel393/usr/include-uapi/asm-generic/types.h|elphel393/usr/include-uapi/asm-generic/ucontext.h|elphel393/usr/include-uapi/asm-generic/unistd.h|elphel393/usr/include-uapi/asm/auxvec.h|elphel393/usr/include-uapi/asm/bitsperlong.h|elphel393/usr/include-uapi/asm/byteorder.h|elphel393/usr/include-uapi/asm/errno.h|elphel393/usr/include-uapi/asm/fcntl.h|elphel393/usr/include-uapi/asm/hwcap.h|elphel393/usr/include-uapi/asm/ipcbuf.h|elphel393/usr/include-uapi/asm/kvm.h|elphel393/usr/include-uapi/asm/kvm_para.h|elphel393/usr/include-uapi/asm/mman.h|elphel393/usr/include-uapi/asm/msgbuf.h|elphel393/usr/include-uapi/asm/param.h|elphel393/usr/include-uapi/asm/perf_regs.h|elphel393/usr/include-uapi/asm/poll.h|elphel393/usr/include-uapi/asm/posix_types.h|elphel393/usr/include-uapi/asm/ptrace.h|elphel393/usr/include-uapi/asm/resource.h|elphel393/usr/include-uapi/asm/sembuf.h|elphel393/usr/include-uapi/asm/setup.h|elphel393/usr/include-uapi/asm/shmbuf.h|elphel393/usr/include-uapi/asm/sigcontext.h|elphel393/usr/include-uapi/asm/siginfo.h|elphel393/usr/include-uapi/asm/signal.h|elphel393/usr/include-uapi/asm/socket.h|elphel393/usr/include-uapi/asm/sockios.h|elphel393/usr/include-uapi/asm/stat.h|elphel393/usr/include-uapi/asm/statfs.h|elphel393/usr/include-uapi/asm/swab.h|elphel393/usr/include-uapi/asm/termbits.h|elphel393/usr/include-uapi/asm/termios.h|elphel393/usr/include-uapi/asm/types.h|elphel393/usr/include-uapi/asm/unistd.h|elphel393/usr/include-uapi/drm/|elphel393/usr/include-uapi/elphel/exifa.h|elphel393/usr/include-uapi/linux/acct.h|elphel393/usr/include-uapi/linux/adb.h|elphel393/usr/include-uapi/linux/adfs_fs.h|elphel393/usr/include-uapi/linux/affs_hardblocks.h|elphel393/usr/include-uapi/linux/agpgart.h|elphel393/usr/include-uapi/linux/aio_abi.h|elphel393/usr/include-uapi/linux/am437x-vpfe.h|elphel393/usr/include-uapi/linux/android/|elphel393/usr/include-uapi/linux/apm_bios.h|elphel393/usr/include-uapi/linux/arcfb.h|elphel393/usr/include-uapi/linux/atalk.h|elphel393/usr/include-uapi/linux/atm.h|elphel393/usr/include-uapi/linux/atm_eni.h|elphel393/usr/include-uapi/linux/atm_he.h|elphel393/usr/include-uapi/linux/atm_idt77105.h|elphel393/usr/include-uapi/linux/atm_nicstar.h|elphel393/usr/include-uapi/linux/atm_tcp.h|elphel393/usr/include-uapi/linux/atm_zatm.h|elphel393/usr/include-uapi/linux/atmapi.h|elphel393/usr/include-uapi/linux/atmarp.h|elphel393/usr/include-uapi/linux/atmbr2684.h|elphel393/usr/include-uapi/linux/atmclip.h|elphel393/usr/include-uapi/linux/atmdev.h|elphel393/usr/include-uapi/linux/atmioc.h|elphel393/usr/include-uapi/linux/atmlec.h|elphel393/usr/include-uapi/linux/atmmpc.h|elphel393/usr/include-uapi/linux/atmppp.h|elphel393/usr/include-uapi/linux/atmsap.h|elphel393/usr/include-uapi/linux/atmsvc.h|elphel393/usr/include-uapi/linux/audit.h|elphel393/usr/include-uapi/linux/auto_fs.h|elphel393/usr/include-uapi/linux/auto_fs4.h|elphel393/usr/include-uapi/linux/auxvec.h|elphel393/usr/include-uapi/linux/ax25.h|elphel393/usr/include-uapi/linux/b1lli.h|elphel393/usr/include-uapi/linux/baycom.h|elphel393/usr/include-uapi/linux/bcm933xx_hcs.h|elphel393/usr/include-uapi/linux/bfs_fs.h|elphel393/usr/include-uapi/linux/binfmts.h|elphel393/usr/include-uapi/linux/blkpg.h|elphel393/usr/include-uapi/linux/blktrace_api.h|elphel393/usr/include-uapi/linux/bpf.h|elphel393/usr/include-uapi/linux/bpf_common.h|elphel393/usr/include-uapi/linux/bpqether.h|elphel393/usr/include-uapi/linux/bsg.h|elphel393/usr/include-uapi/linux/btrfs.h|elphel393/usr/include-uapi/linux/byteorder/|elphel393/usr/include-uapi/linux/caif/|elphel393/usr/include-uapi/linux/can.h|elphel393/usr/include-uapi/linux/can/|elphel393/usr/include-uapi/linux/capability.h|elphel393/usr/include-uapi/linux/capi.h|elphel393/usr/include-uapi/linux/cciss_defs.h|elphel393/usr/include-uapi/linux/cciss_ioctl.h|elphel393/usr/include-uapi/linux/cdrom.h|elphel393/usr/include-uapi/linux/cgroupstats.h|elphel393/usr/include-uapi/linux/chio.h|elphel393/usr/include-uapi/linux/cm4000_cs.h|elphel393/usr/include-uapi/linux/cn_proc.h|elphel393/usr/include-uapi/linux/coda.h|elphel393/usr/include-uapi/linux/coda_psdev.h|elphel393/usr/include-uapi/linux/coff.h|elphel393/usr/include-uapi/linux/connector.h|elphel393/usr/include-uapi/linux/const.h|elphel393/usr/include-uapi/linux/cramfs_fs.h|elphel393/usr/include-uapi/linux/cuda.h|elphel393/usr/include-uapi/linux/cyclades.h|elphel393/usr/include-uapi/linux/cycx_cfm.h|elphel393/usr/include-uapi/linux/dcbnl.h|elphel393/usr/include-uapi/linux/dccp.h|elphel393/usr/include-uapi/linux/dlm.h|elphel393/usr/include-uapi/linux/dlm_device.h|elphel393/usr/include-uapi/linux/dlm_netlink.h|elphel393/usr/include-uapi/linux/dlm_plock.h|elphel393/usr/include-uapi/linux/dlmconstants.h|elphel393/usr/include-uapi/linux/dm-ioctl.h|elphel393/usr/include-uapi/linux/dm-log-userspace.h|elphel393/usr/include-uapi/linux/dn.h|elphel393/usr/include-uapi/linux/dqblk_xfs.h|elphel393/usr/include-uapi/linux/dvb/|elphel393/usr/include-uapi/linux/edd.h|elphel393/usr/include-uapi/linux/efs_fs_sb.h|elphel393/usr/include-uapi/linux/elf-em.h|elphel393/usr/include-uapi/linux/elf-fdpic.h|elphel393/usr/include-uapi/linux/elf.h|elphel393/usr/include-uapi/linux/elfcore.h|elphel393/usr/include-uapi/linux/errno.h|elphel393/usr/include-uapi/linux/errqueue.h|elphel393/usr/include-uapi/linux/ethtool.h|elphel393/usr/include-uapi/linux/eventpoll.h|elphel393/usr/include-uapi/linux/fadvise.h|elphel393/usr/include-uapi/linux/falloc.h|elphel393/usr/include-uapi/linux/fanotify.h|elphel393/usr/include-uapi/linux/fb.h|elphel393/usr/include-uapi/linux/fcntl.h|elphel393/usr/include-uapi/linux/fd.h|elphel393/usr/include-uapi/linux/fdreg.h|elphel393/usr/include-uapi/linux/fib_rules.h|elphel393/usr/include-uapi/linux/fiemap.h|elphel393/usr/include-uapi/linux/filter.h|elphel393/usr/include-uapi/linux/firewire-cdev.h|elphel393/usr/include-uapi/linux/firewire-constants.h|elphel393/usr/include-uapi/linux/flat.h|elphel393/usr/include-uapi/linux/fou.h|elphel393/usr/include-uapi/linux/fs.h|elphel393/usr/include-uapi/linux/fsl_hypervisor.h|elphel393/usr/include-uapi/linux/fuse.h|elphel393/usr/include-uapi/linux/futex.h|elphel393/usr/include-uapi/linux/gameport.h|elphel393/usr/include-uapi/linux/gen_stats.h|elphel393/usr/include-uapi/linux/genetlink.h|elphel393/usr/include-uapi/linux/gfs2_ondisk.h|elphel393/usr/include-uapi/linux/gigaset_dev.h|elphel393/usr/include-uapi/linux/hdlc.h|elphel393/usr/include-uapi/linux/hdlc/|elphel393/usr/include-uapi/linux/hdlcdrv.h|elphel393/usr/include-uapi/linux/hdreg.h|elphel393/usr/include-uapi/linux/hid.h|elphel393/usr/include-uapi/linux/hiddev.h|elphel393/usr/include-uapi/linux/hidraw.h|elphel393/usr/include-uapi/linux/hpet.h|elphel393/usr/include-uapi/linux/hsi/|elphel393/usr/include-uapi/linux/hsr_netlink.h|elphel393/usr/include-uapi/linux/hw_breakpoint.h|elphel393/usr/include-uapi/linux/hyperv.h|elphel393/usr/include-uapi/linux/hysdn_if.h|elphel393/usr/include-uapi/linux/i2c-dev.h|elphel393/usr/include-uapi/linux/i2c.h|elphel393/usr/include-uapi/linux/i2o-dev.h|elphel393/usr/include-uapi/linux/i8k.h|elphel393/usr/include-uapi/linux/icmp.h|elphel393/usr/include-uapi/linux/icmpv6.h|elphel393/usr/include-uapi/linux/if.h|elphel393/usr/include-uapi/linux/if_addr.h|elphel393/usr/include-uapi/linux/if_addrlabel.h|elphel393/usr/include-uapi/linux/if_alg.h|elphel393/usr/include-uapi/linux/if_arcnet.h|elphel393/usr/include-uapi/linux/if_arp.h|elphel393/usr/include-uapi/linux/if_bonding.h|elphel393/usr/include-uapi/linux/if_bridge.h|elphel393/usr/include-uapi/linux/if_cablemodem.h|elphel393/usr/include-uapi/linux/if_eql.h|elphel393/usr/include-uapi/linux/if_ether.h|elphel393/usr/include-uapi/linux/if_fc.h|elphel393/usr/include-uapi/linux/if_fddi.h|elphel393/usr/include-uapi/linux/if_frad.h|elphel393/usr/include-uapi/linux/if_hippi.h|elphel393/usr/include-uapi/linux/if_infiniband.h|elphel393/usr/include-uapi/linux/if_link.h|elphel393/usr/include-uapi/linux/if_ltalk.h|elphel393/usr/include-uapi/linux/if_packet.h|elphel393/usr/include-uapi/linux/if_phonet.h|elphel393/usr/include-uapi/linux/if_plip.h|elphel393/usr/include-uapi/linux/if_ppp.h|elphel393/usr/include-uapi/linux/if_pppol2tp.h|elphel393/usr/include-uapi/linux/if_pppox.h|elphel393/usr/include-uapi/linux/if_slip.h|elphel393/usr/include-uapi/linux/if_team.h|elphel393/usr/include-uapi/linux/if_tun.h|elphel393/usr/include-uapi/linux/if_tunnel.h|elphel393/usr/include-uapi/linux/if_vlan.h|elphel393/usr/include-uapi/linux/if_x25.h|elphel393/usr/include-uapi/linux/igmp.h|elphel393/usr/include-uapi/linux/in.h|elphel393/usr/include-uapi/linux/in6.h|elphel393/usr/include-uapi/linux/in_route.h|elphel393/usr/include-uapi/linux/inet_diag.h|elphel393/usr/include-uapi/linux/inotify.h|elphel393/usr/include-uapi/linux/input.h|elphel393/usr/include-uapi/linux/ip.h|elphel393/usr/include-uapi/linux/ip6_tunnel.h|elphel393/usr/include-uapi/linux/ip_vs.h|elphel393/usr/include-uapi/linux/ipc.h|elphel393/usr/include-uapi/linux/ipmi.h|elphel393/usr/include-uapi/linux/ipmi_msgdefs.h|elphel393/usr/include-uapi/linux/ipsec.h|elphel393/usr/include-uapi/linux/ipv6.h|elphel393/usr/include-uapi/linux/ipv6_route.h|elphel393/usr/include-uapi/linux/ipx.h|elphel393/usr/include-uapi/linux/irda.h|elphel393/usr/include-uapi/linux/irqnr.h|elphel393/usr/include-uapi/linux/isdn.h|elphel393/usr/include-uapi/linux/isdn/|elphel393/usr/include-uapi/linux/isdn_divertif.h|elphel393/usr/include-uapi/linux/isdn_ppp.h|elphel393/usr/include-uapi/linux/isdnif.h|elphel393/usr/include-uapi/linux/iso_fs.h|elphel393/usr/include-uapi/linux/ivtv.h|elphel393/usr/include-uapi/linux/ivtvfb.h|elphel393/usr/include-uapi/linux/ixjuser.h|elphel393/usr/include-uapi/linux/jffs2.h|elphel393/usr/include-uapi/linux/joystick.h|elphel393/usr/include-uapi/linux/kcmp.h|elphel393/usr/include-uapi/linux/kd.h|elphel393/usr/include-uapi/linux/kdev_t.h|elphel393/usr/include-uapi/linux/kernel-page-flags.h|elphel393/usr/include-uapi/linux/kernel.h|elphel393/usr/include-uapi/linux/kernelcapi.h|elphel393/usr/include-uapi/linux/kexec.h|elphel393/usr/include-uapi/linux/keyboard.h|elphel393/usr/include-uapi/linux/keyctl.h|elphel393/usr/include-uapi/linux/kvm.h|elphel393/usr/include-uapi/linux/kvm_para.h|elphel393/usr/include-uapi/linux/l2tp.h|elphel393/usr/include-uapi/linux/libc-compat.h|elphel393/usr/include-uapi/linux/llc.h|elphel393/usr/include-uapi/linux/loop.h|elphel393/usr/include-uapi/linux/lp.h|elphel393/usr/include-uapi/linux/magic.h|elphel393/usr/include-uapi/linux/major.h|elphel393/usr/include-uapi/linux/map_to_7segment.h|elphel393/usr/include-uapi/linux/matroxfb.h|elphel393/usr/include-uapi/linux/mdio.h|elphel393/usr/include-uapi/linux/media-bus-format.h|elphel393/usr/include-uapi/linux/media.h|elphel393/usr/include-uapi/linux/mei.h|elphel393/usr/include-uapi/linux/memfd.h|elphel393/usr/include-uapi/linux/mempolicy.h|elphel393/usr/include-uapi/linux/meye.h|elphel393/usr/include-uapi/linux/mic_common.h|elphel393/usr/include-uapi/linux/mic_ioctl.h|elphel393/usr/include-uapi/linux/mii.h|elphel393/usr/include-uapi/linux/minix_fs.h|elphel393/usr/include-uapi/linux/mman.h|elphel393/usr/include-uapi/linux/mmc/|elphel393/usr/include-uapi/linux/mmtimer.h|elphel393/usr/include-uapi/linux/mpls.h|elphel393/usr/include-uapi/linux/mqueue.h|elphel393/usr/include-uapi/linux/mroute.h|elphel393/usr/include-uapi/linux/mroute6.h|elphel393/usr/include-uapi/linux/msdos_fs.h|elphel393/usr/include-uapi/linux/msg.h|elphel393/usr/include-uapi/linux/mtio.h|elphel393/usr/include-uapi/linux/n_r3964.h|elphel393/usr/include-uapi/linux/nbd.h|elphel393/usr/include-uapi/linux/ncp.h|elphel393/usr/include-uapi/linux/ncp_fs.h|elphel393/usr/include-uapi/linux/ncp_mount.h|elphel393/usr/include-uapi/linux/ncp_no.h|elphel393/usr/include-uapi/linux/neighbour.h|elphel393/usr/include-uapi/linux/net.h|elphel393/usr/include-uapi/linux/net_dropmon.h|elphel393/usr/include-uapi/linux/net_namespace.h|elphel393/usr/include-uapi/linux/net_tstamp.h|elphel393/usr/include-uapi/linux/netconf.h|elphel393/usr/include-uapi/linux/netdevice.h|elphel393/usr/include-uapi/linux/netfilter.h|elphel393/usr/include-uapi/linux/netfilter/|elphel393/usr/include-uapi/linux/netfilter_arp.h|elphel393/usr/include-uapi/linux/netfilter_arp/|elphel393/usr/include-uapi/linux/netfilter_bridge.h|elphel393/usr/include-uapi/linux/netfilter_bridge/|elphel393/usr/include-uapi/linux/netfilter_decnet.h|elphel393/usr/include-uapi/linux/netfilter_ipv4.h|elphel393/usr/include-uapi/linux/netfilter_ipv4/|elphel393/usr/include-uapi/linux/netfilter_ipv6.h|elphel393/usr/include-uapi/linux/netfilter_ipv6/|elphel393/usr/include-uapi/linux/netlink.h|elphel393/usr/include-uapi/linux/netlink_diag.h|elphel393/usr/include-uapi/linux/netrom.h|elphel393/usr/include-uapi/linux/nfc.h|elphel393/usr/include-uapi/linux/nfs.h|elphel393/usr/include-uapi/linux/nfs2.h|elphel393/usr/include-uapi/linux/nfs3.h|elphel393/usr/include-uapi/linux/nfs4.h|elphel393/usr/include-uapi/linux/nfs4_mount.h|elphel393/usr/include-uapi/linux/nfs_fs.h|elphel393/usr/include-uapi/linux/nfs_idmap.h|elphel393/usr/include-uapi/linux/nfs_mount.h|elphel393/usr/include-uapi/linux/nfsacl.h|elphel393/usr/include-uapi/linux/nfsd/|elphel393/usr/include-uapi/linux/nl80211.h|elphel393/usr/include-uapi/linux/nubus.h|elphel393/usr/include-uapi/linux/nvme.h|elphel393/usr/include-uapi/linux/nvram.h|elphel393/usr/include-uapi/linux/omap3isp.h|elphel393/usr/include-uapi/linux/omapfb.h|elphel393/usr/include-uapi/linux/oom.h|elphel393/usr/include-uapi/linux/openvswitch.h|elphel393/usr/include-uapi/linux/packet_diag.h|elphel393/usr/include-uapi/linux/param.h|elphel393/usr/include-uapi/linux/parport.h|elphel393/usr/include-uapi/linux/patchkey.h|elphel393/usr/include-uapi/linux/pci.h|elphel393/usr/include-uapi/linux/pci_regs.h|elphel393/usr/include-uapi/linux/perf_event.h|elphel393/usr/include-uapi/linux/personality.h|elphel393/usr/include-uapi/linux/pfkeyv2.h|elphel393/usr/include-uapi/linux/pg.h|elphel393/usr/include-uapi/linux/phantom.h|elphel393/usr/include-uapi/linux/phonet.h|elphel393/usr/include-uapi/linux/pkt_cls.h|elphel393/usr/include-uapi/linux/pkt_sched.h|elphel393/usr/include-uapi/linux/pktcdvd.h|elphel393/usr/include-uapi/linux/pmu.h|elphel393/usr/include-uapi/linux/poll.h|elphel393/usr/include-uapi/linux/posix_types.h|elphel393/usr/include-uapi/linux/ppdev.h|elphel393/usr/include-uapi/linux/ppp-comp.h|elphel393/usr/include-uapi/linux/ppp-ioctl.h|elphel393/usr/include-uapi/linux/ppp_defs.h|elphel393/usr/include-uapi/linux/pps.h|elphel393/usr/include-uapi/linux/prctl.h|elphel393/usr/include-uapi/linux/psci.h|elphel393/usr/include-uapi/linux/ptp_clock.h|elphel393/usr/include-uapi/linux/ptrace.h|elphel393/usr/include-uapi/linux/qnx4_fs.h|elphel393/usr/include-uapi/linux/qnxtypes.h|elphel393/usr/include-uapi/linux/quota.h|elphel393/usr/include-uapi/linux/radeonfb.h|elphel393/usr/include-uapi/linux/raid/|elphel393/usr/include-uapi/linux/random.h|elphel393/usr/include-uapi/linux/raw.h|elphel393/usr/include-uapi/linux/rds.h|elphel393/usr/include-uapi/linux/reboot.h|elphel393/usr/include-uapi/linux/reiserfs_fs.h|elphel393/usr/include-uapi/linux/reiserfs_xattr.h|elphel393/usr/include-uapi/linux/resource.h|elphel393/usr/include-uapi/linux/rfkill.h|elphel393/usr/include-uapi/linux/romfs_fs.h|elphel393/usr/include-uapi/linux/rose.h|elphel393/usr/include-uapi/linux/route.h|elphel393/usr/include-uapi/linux/rtc.h|elphel393/usr/include-uapi/linux/rtnetlink.h|elphel393/usr/include-uapi/linux/scc.h|elphel393/usr/include-uapi/linux/sched.h|elphel393/usr/include-uapi/linux/screen_info.h|elphel393/usr/include-uapi/linux/sctp.h|elphel393/usr/include-uapi/linux/sdla.h|elphel393/usr/include-uapi/linux/seccomp.h|elphel393/usr/include-uapi/linux/securebits.h|elphel393/usr/include-uapi/linux/selinux_netlink.h|elphel393/usr/include-uapi/linux/sem.h|elphel393/usr/include-uapi/linux/serial.h|elphel393/usr/include-uapi/linux/serial_core.h|elphel393/usr/include-uapi/linux/serial_reg.h|elphel393/usr/include-uapi/linux/serio.h|elphel393/usr/include-uapi/linux/shm.h|elphel393/usr/include-uapi/linux/signal.h|elphel393/usr/include-uapi/linux/signalfd.h|elphel393/usr/include-uapi/linux/smiapp.h|elphel393/usr/include-uapi/linux/snmp.h|elphel393/usr/include-uapi/linux/sock_diag.h|elphel393/usr/include-uapi/linux/socket.h|elphel393/usr/include-uapi/linux/sockios.h|elphel393/usr/include-uapi/linux/sonet.h|elphel393/usr/include-uapi/linux/sonypi.h|elphel393/usr/include-uapi/linux/sound.h|elphel393/usr/include-uapi/linux/soundcard.h|elphel393/usr/include-uapi/linux/spi/|elphel393/usr/include-uapi/linux/stat.h|elphel393/usr/include-uapi/linux/stddef.h|elphel393/usr/include-uapi/linux/string.h|elphel393/usr/include-uapi/linux/sunrpc/|elphel393/usr/include-uapi/linux/suspend_ioctls.h|elphel393/usr/include-uapi/linux/swab.h|elphel393/usr/include-uapi/linux/synclink.h|elphel393/usr/include-uapi/linux/sysctl.h|elphel393/usr/include-uapi/linux/sysinfo.h|elphel393/usr/include-uapi/linux/target_core_user.h|elphel393/usr/include-uapi/linux/taskstats.h|elphel393/usr/include-uapi/linux/tc_act/|elphel393/usr/include-uapi/linux/tc_ematch/|elphel393/usr/include-uapi/linux/tcp.h|elphel393/usr/include-uapi/linux/tcp_metrics.h|elphel393/usr/include-uapi/linux/telephony.h|elphel393/usr/include-uapi/linux/termios.h|elphel393/usr/include-uapi/linux/thermal.h|elphel393/usr/include-uapi/linux/time.h|elphel393/usr/include-uapi/linux/times.h|elphel393/usr/include-uapi/linux/timex.h|elphel393/usr/include-uapi/linux/tiocl.h|elphel393/usr/include-uapi/linux/tipc.h|elphel393/usr/include-uapi/linux/tipc_config.h|elphel393/usr/include-uapi/linux/tipc_netlink.h|elphel393/usr/include-uapi/linux/toshiba.h|elphel393/usr/include-uapi/linux/tty.h|elphel393/usr/include-uapi/linux/tty_flags.h|elphel393/usr/include-uapi/linux/types.h|elphel393/usr/include-uapi/linux/udf_fs_i.h|elphel393/usr/include-uapi/linux/udp.h|elphel393/usr/include-uapi/linux/uhid.h|elphel393/usr/include-uapi/linux/uinput.h|elphel393/usr/include-uapi/linux/uio.h|elphel393/usr/include-uapi/linux/ultrasound.h|elphel393/usr/include-uapi/linux/un.h|elphel393/usr/include-uapi/linux/unistd.h|elphel393/usr/include-uapi/linux/unix_diag.h|elphel393/usr/include-uapi/linux/usb/|elphel393/usr/include-uapi/linux/usbdevice_fs.h|elphel393/usr/include-uapi/linux/usbip.h|elphel393/usr/include-uapi/linux/utime.h|elphel393/usr/include-uapi/linux/utsname.h|elphel393/usr/include-uapi/linux/uuid.h|elphel393/usr/include-uapi/linux/uvcvideo.h|elphel393/usr/include-uapi/linux/v4l2-common.h|elphel393/usr/include-uapi/linux/v4l2-controls.h|elphel393/usr/include-uapi/linux/v4l2-dv-timings.h|elphel393/usr/include-uapi/linux/v4l2-mediabus.h|elphel393/usr/include-uapi/linux/v4l2-subdev.h|elphel393/usr/include-uapi/linux/version.h|elphel393/usr/include-uapi/linux/veth.h|elphel393/usr/include-uapi/linux/vfio.h|elphel393/usr/include-uapi/linux/vhost.h|elphel393/usr/include-uapi/linux/videodev2.h|elphel393/usr/include-uapi/linux/virtio_9p.h|elphel393/usr/include-uapi/linux/virtio_balloon.h|elphel393/usr/include-uapi/linux/virtio_blk.h|elphel393/usr/include-uapi/linux/virtio_config.h|elphel393/usr/include-uapi/linux/virtio_console.h|elphel393/usr/include-uapi/linux/virtio_ids.h|elphel393/usr/include-uapi/linux/virtio_net.h|elphel393/usr/include-uapi/linux/virtio_pci.h|elphel393/usr/include-uapi/linux/virtio_ring.h|elphel393/usr/include-uapi/linux/virtio_rng.h|elphel393/usr/include-uapi/linux/virtio_scsi.h|elphel393/usr/include-uapi/linux/virtio_types.h|elphel393/usr/include-uapi/linux/vm_sockets.h|elphel393/usr/include-uapi/linux/vt.h|elphel393/usr/include-uapi/linux/wait.h|elphel393/usr/include-uapi/linux/wanrouter.h|elphel393/usr/include-uapi/linux/watchdog.h|elphel393/usr/include-uapi/linux/wimax.h|elphel393/usr/include-uapi/linux/wimax/|elphel393/usr/include-uapi/linux/wireless.h|elphel393/usr/include-uapi/linux/x25.h|elphel393/usr/include-uapi/linux/xattr.h|elphel393/usr/include-uapi/linux/xfrm.h|elphel393/usr/include-uapi/linux/xilinx-hls.h|elphel393/usr/include-uapi/linux/xilinx-v4l2-controls.h|elphel393/usr/include-uapi/linux/zorro.h|elphel393/usr/include-uapi/linux/zorro_ids.h|elphel393/usr/include-uapi/misc/|elphel393/usr/include-uapi/mtd/|elphel393/usr/include-uapi/rdma/|elphel393/usr/include-uapi/scsi/|elphel393/usr/include-uapi/sound/|elphel393/usr/include-uapi/video/|elphel393/usr/include-uapi/xen/|elphel393/usr/include/FlexLexer.h|elphel393/usr/include/X11/|elphel393/usr/include/a.out.h|elphel393/usr/include/acl/|elphel393/usr/include/aio.h|elphel393/usr/include/aliases.h|elphel393/usr/include/apache2/|elphel393/usr/include/apr.h|elphel393/usr/include/apr_allocator.h|elphel393/usr/include/apr_anylock.h|elphel393/usr/include/apr_atomic.h|elphel393/usr/include/apr_base64.h|elphel393/usr/include/apr_buckets.h|elphel393/usr/include/apr_crypto.h|elphel393/usr/include/apr_date.h|elphel393/usr/include/apr_dbd.h|elphel393/usr/include/apr_dbm.h|elphel393/usr/include/apr_dso.h|elphel393/usr/include/apr_env.h|elphel393/usr/include/apr_errno.h|elphel393/usr/include/apr_escape.h|elphel393/usr/include/apr_file_info.h|elphel393/usr/include/apr_file_io.h|elphel393/usr/include/apr_fnmatch.h|elphel393/usr/include/apr_general.h|elphel393/usr/include/apr_getopt.h|elphel393/usr/include/apr_global_mutex.h|elphel393/usr/include/apr_hash.h|elphel393/usr/include/apr_hooks.h|elphel393/usr/include/apr_inherit.h|elphel393/usr/include/apr_ldap.h|elphel393/usr/include/apr_ldap_init.h|elphel393/usr/include/apr_ldap_option.h|elphel393/usr/include/apr_ldap_rebind.h|elphel393/usr/include/apr_ldap_url.h|elphel393/usr/include/apr_lib.h|elphel393/usr/include/apr_md4.h|elphel393/usr/include/apr_md5.h|elphel393/usr/include/apr_memcache.h|elphel393/usr/include/apr_mmap.h|elphel393/usr/include/apr_network_io.h|elphel393/usr/include/apr_optional.h|elphel393/usr/include/apr_optional_hooks.h|elphel393/usr/include/apr_poll.h|elphel393/usr/include/apr_pools.h|elphel393/usr/include/apr_portable.h|elphel393/usr/include/apr_proc_mutex.h|elphel393/usr/include/apr_queue.h|elphel393/usr/include/apr_random.h|elphel393/usr/include/apr_reslist.h|elphel393/usr/include/apr_ring.h|elphel393/usr/include/apr_rmm.h|elphel393/usr/include/apr_sdbm.h|elphel393/usr/include/apr_sha1.h|elphel393/usr/include/apr_shm.h|elphel393/usr/include/apr_signal.h|elphel393/usr/include/apr_skiplist.h|elphel393/usr/include/apr_strings.h|elphel393/usr/include/apr_strmatch.h|elphel393/usr/include/apr_support.h|elphel393/usr/include/apr_tables.h|elphel393/usr/include/apr_thread_cond.h|elphel393/usr/include/apr_thread_mutex.h|elphel393/usr/include/apr_thread_pool.h|elphel393/usr/include/apr_thread_proc.h|elphel393/usr/include/apr_thread_rwlock.h|elphel393/usr/include/apr_time.h|elphel393/usr/include/apr_uri.h|elphel393/usr/include/apr_user.h|elphel393/usr/include/apr_uuid.h|elphel393/usr/include/apr_version.h|elphel393/usr/include/apr_want.h|elphel393/usr/include/apr_xlate.h|elphel393/usr/include/apr_xml.h|elphel393/usr/include/apu.h|elphel393/usr/include/apu_errno.h|elphel393/usr/include/apu_version.h|elphel393/usr/include/apu_want.h|elphel393/usr/include/ar.h|elphel393/usr/include/argp.h|elphel393/usr/include/argz.h|elphel393/usr/include/arpa/|elphel393/usr/include/asm-generic/|elphel393/usr/include/asm/|elphel393/usr/include/assert.h|elphel393/usr/include/attr/|elphel393/usr/include/bind9/|elphel393/usr/include/bits/a.out.h|elphel393/usr/include/bits/cmathcalls.h|elphel393/usr/include/bits/dirent.h|elphel393/usr/include/bits/dlfcn.h|elphel393/usr/include/bits/elfclass.h|elphel393/usr/include/bits/epoll.h|elphel393/usr/include/bits/errno.h|elphel393/usr/include/bits/error.h|elphel393/usr/include/bits/eventfd.h|elphel393/usr/include/bits/fcntl2.h|elphel393/usr/include/bits/fenv.h|elphel393/usr/include/bits/fenvinline.h|elphel393/usr/include/bits/hwcap.h|elphel393/usr/include/bits/in.h|elphel393/usr/include/bits/initspin.h|elphel393/usr/include/bits/inotify.h|elphel393/usr/include/bits/ipc.h|elphel393/usr/include/bits/ipctypes.h|elphel393/usr/include/bits/libc-lock.h|elphel393/usr/include/bits/libio-ldbl.h|elphel393/usr/include/bits/link.h|elphel393/usr/include/bits/locale.h|elphel393/usr/include/bits/math-finite.h|elphel393/usr/include/bits/monetary-ldbl.h|elphel393/usr/include/bits/mqueue.h|elphel393/usr/include/bits/mqueue2.h|elphel393/usr/include/bits/msq.h|elphel393/usr/include/bits/netdb.h|elphel393/usr/include/bits/param.h|elphel393/usr/include/bits/poll.h|elphel393/usr/include/bits/poll2.h|elphel393/usr/include/bits/printf-ldbl.h|elphel393/usr/include/bits/resource.h|elphel393/usr/include/bits/sched.h|elphel393/usr/include/bits/select2.h|elphel393/usr/include/bits/sem.h|elphel393/usr/include/bits/semaphore.h|elphel393/usr/include/bits/setjmp2.h|elphel393/usr/include/bits/shm.h|elphel393/usr/include/bits/sigaction.h|elphel393/usr/include/bits/sigcontext.h|elphel393/usr/include/bits/siginfo.h|elphel393/usr/include/bits/signalfd.h|elphel393/usr/include/bits/signum.h|elphel393/usr/include/bits/sigstack.h|elphel393/usr/include/bits/sigthread.h|elphel393/usr/include/bits/sockaddr.h|elphel393/usr/include/bits/socket.h|elphel393/usr/include/bits/socket2.h|elphel393/usr/include/bits/socket_type.h|elphel393/usr/include/bits/statfs.h|elphel393/usr/include/bits/statvfs.h|elphel393/usr/include/bits/stdio-ldbl.h|elphel393/usr/include/bits/stdio-lock.h|elphel393/usr/include/bits/stdio2.h|elphel393/usr/include/bits/stdlib-ldbl.h|elphel393/usr/include/bits/stdlib.h|elphel393/usr/include/bits/string3.h|elphel393/usr/include/bits/stropts.h|elphel393/usr/include/bits/syscall.h|elphel393/usr/include/bits/sysctl.h|elphel393/usr/include/bits/syslog-ldbl.h|elphel393/usr/include/bits/syslog-path.h|elphel393/usr/include/bits/syslog.h|elphel393/usr/include/bits/termios.h|elphel393/usr/include/bits/timerfd.h|elphel393/usr/include/bits/timex.h|elphel393/usr/include/bits/uio.h|elphel393/usr/include/bits/unistd.h|elphel393/usr/include/bits/ustat.h|elphel393/usr/include/bits/utmp.h|elphel393/usr/include/bits/utmpx.h|elphel393/usr/include/bits/utsname.h|elphel393/usr/include/bits/wchar-ldbl.h|elphel393/usr/include/bits/wchar.h|elphel393/usr/include/bits/wchar2.h|elphel393/usr/include/bits/xopen_lim.h|elphel393/usr/include/bits/xtitypes.h|elphel393/usr/include/blkid/|elphel393/usr/include/byteswap.h|elphel393/usr/include/bzlib.h|elphel393/usr/include/c++/|elphel393/usr/include/c-client/|elphel393/usr/include/com_err.h|elphel393/usr/include/complex.h|elphel393/usr/include/cpio.h|elphel393/usr/include/crypt.h|elphel393/usr/include/crypto/|elphel393/usr/include/ctype.h|elphel393/usr/include/curses.h|elphel393/usr/include/cursesapp.h|elphel393/usr/include/cursesf.h|elphel393/usr/include/cursesm.h|elphel393/usr/include/cursesp.h|elphel393/usr/include/cursesw.h|elphel393/usr/include/cursslk.h|elphel393/usr/include/db.h|elphel393/usr/include/db60/|elphel393/usr/include/db_cxx.h|elphel393/usr/include/dbm.h|elphel393/usr/include/dbus-1.0/|elphel393/usr/include/dhcpctl/|elphel393/usr/include/dirent.h|elphel393/usr/include/dlfcn.h|elphel393/usr/include/dns/|elphel393/usr/include/drm/|elphel393/usr/include/dst/|elphel393/usr/include/e2p/|elphel393/usr/include/elf.h|elphel393/usr/include/envz.h|elphel393/usr/include/err.h|elphel393/usr/include/errno.h|elphel393/usr/include/error.h|elphel393/usr/include/et/|elphel393/usr/include/eti.h|elphel393/usr/include/etip.h|elphel393/usr/include/evdns.h|elphel393/usr/include/event.h|elphel393/usr/include/event2/|elphel393/usr/include/evhttp.h|elphel393/usr/include/evrpc.h|elphel393/usr/include/evutil.h|elphel393/usr/include/execinfo.h|elphel393/usr/include/expat.h|elphel393/usr/include/expat_external.h|elphel393/usr/include/ext2fs/|elphel393/usr/include/fenv.h|elphel393/usr/include/fmtmsg.h|elphel393/usr/include/fnmatch.h|elphel393/usr/include/form.h|elphel393/usr/include/fpu_control.h|elphel393/usr/include/fstab.h|elphel393/usr/include/fts.h|elphel393/usr/include/ftw.h|elphel393/usr/include/gawkapi.h|elphel393/usr/include/gconv.h|elphel393/usr/include/gcrypt.h|elphel393/usr/include/gdbm.h|elphel393/usr/include/gdbm/|elphel393/usr/include/gettext-po.h|elphel393/usr/include/gio-unix-2.0/|elphel393/usr/include/glib-2.0/|elphel393/usr/include/glob.h|elphel393/usr/include/gmp.h|elphel393/usr/include/gmpxx.h|elphel393/usr/include/gnu-versions.h|elphel393/usr/include/gnu/lib-names-soft.h|elphel393/usr/include/gnu/lib-names.h|elphel393/usr/include/gnu/libc-version.h|elphel393/usr/include/gnu/option-groups.h|elphel393/usr/include/gnumake.h|elphel393/usr/include/gnutls/|elphel393/usr/include/gpg-error.h|elphel393/usr/include/grp.h|elphel393/usr/include/gshadow.h|elphel393/usr/include/gstreamer-1.0/|elphel393/usr/include/gudev-1.0/|elphel393/usr/include/iconv.h|elphel393/usr/include/idn-free.h|elphel393/usr/include/idn-int.h|elphel393/usr/include/idna.h|elphel393/usr/include/ieee754.h|elphel393/usr/include/ifaddrs.h|elphel393/usr/include/initreq.h|elphel393/usr/include/inttypes.h|elphel393/usr/include/irs/|elphel393/usr/include/isc-dhcp/|elphel393/usr/include/isc/|elphel393/usr/include/isccc/|elphel393/usr/include/isccfg/|elphel393/usr/include/langinfo.h|elphel393/usr/include/lastlog.h|elphel393/usr/include/libaio.h|elphel393/usr/include/libfdisk/|elphel393/usr/include/libgen.h|elphel393/usr/include/libintl.h|elphel393/usr/include/libkmod.h|elphel393/usr/include/libltdl/|elphel393/usr/include/libmount/|elphel393/usr/include/libnl3/|elphel393/usr/include/libsmartcols/|elphel393/usr/include/libudev.h|elphel393/usr/include/libusb-1.0/|elphel393/usr/include/libxml2/|elphel393/usr/include/link.h|elphel393/usr/include/linux/|elphel393/usr/include/locale.h|elphel393/usr/include/ltdl.h|elphel393/usr/include/lwres/|elphel393/usr/include/lzo/|elphel393/usr/include/malloc.h|elphel393/usr/include/mcheck.h|elphel393/usr/include/mcrypt.h|elphel393/usr/include/memory.h|elphel393/usr/include/menu.h|elphel393/usr/include/misc/|elphel393/usr/include/mntent.h|elphel393/usr/include/monetary.h|elphel393/usr/include/mpc.h|elphel393/usr/include/mpf2mpfr.h|elphel393/usr/include/mpfr.h|elphel393/usr/include/mqueue.h|elphel393/usr/include/mtd/|elphel393/usr/include/mutils/|elphel393/usr/include/mysql/|elphel393/usr/include/nc_tparm.h|elphel393/usr/include/ncurses.h|elphel393/usr/include/ncurses_dll.h|elphel393/usr/include/ndbm.h|elphel393/usr/include/net/|elphel393/usr/include/netash/|elphel393/usr/include/netatalk/|elphel393/usr/include/netax25/|elphel393/usr/include/netdb.h|elphel393/usr/include/neteconet/|elphel393/usr/include/netinet/|elphel393/usr/include/netipx/|elphel393/usr/include/netiucv/|elphel393/usr/include/netpacket/|elphel393/usr/include/netrom/|elphel393/usr/include/netrose/|elphel393/usr/include/nettle/|elphel393/usr/include/nfs/|elphel393/usr/include/nl_types.h|elphel393/usr/include/nss.h|elphel393/usr/include/obstack.h|elphel393/usr/include/ogg/|elphel393/usr/include/omapip/|elphel393/usr/include/openssl/|elphel393/usr/include/panel.h|elphel393/usr/include/paths.h|elphel393/usr/include/pci/|elphel393/usr/include/pcre.h|elphel393/usr/include/pcre_scanner.h|elphel393/usr/include/pcre_stringpiece.h|elphel393/usr/include/pcrecpp.h|elphel393/usr/include/pcrecpparg.h|elphel393/usr/include/pcreposix.h|elphel393/usr/include/php/|elphel393/usr/include/pk11/|elphel393/usr/include/pkcs11/|elphel393/usr/include/poll.h|elphel393/usr/include/popt.h|elphel393/usr/include/pr29.h|elphel393/usr/include/printf.h|elphel393/usr/include/proc/|elphel393/usr/include/protocols/|elphel393/usr/include/pthread.h|elphel393/usr/include/pty.h|elphel393/usr/include/punycode.h|elphel393/usr/include/pwd.h|elphel393/usr/include/pygtk-2.0/|elphel393/usr/include/python2.7/|elphel393/usr/include/rdma/|elphel393/usr/include/re_comp.h|elphel393/usr/include/readline/|elphel393/usr/include/regex.h|elphel393/usr/include/regexp.h|elphel393/usr/include/resolv.h|elphel393/usr/include/rpc/|elphel393/usr/include/rpcsvc/|elphel393/usr/include/sched.h|elphel393/usr/include/scsi/|elphel393/usr/include/search.h|elphel393/usr/include/semaphore.h|elphel393/usr/include/sgtty.h|elphel393/usr/include/shadow.h|elphel393/usr/include/signal.h|elphel393/usr/include/sound/|elphel393/usr/include/spawn.h|elphel393/usr/include/sqlite3.h|elphel393/usr/include/sqlite3ext.h|elphel393/usr/include/ss/|elphel393/usr/include/stab.h|elphel393/usr/include/stdint.h|elphel393/usr/include/stdio_ext.h|elphel393/usr/include/stringprep.h|elphel393/usr/include/strings.h|elphel393/usr/include/stropts.h|elphel393/usr/include/sudo_plugin.h|elphel393/usr/include/sys/acct.h|elphel393/usr/include/sys/acl.h|elphel393/usr/include/sys/auxv.h|elphel393/usr/include/sys/bitypes.h|elphel393/usr/include/sys/capability.h|elphel393/usr/include/sys/dir.h|elphel393/usr/include/sys/elf.h|elphel393/usr/include/sys/epoll.h|elphel393/usr/include/sys/errno.h|elphel393/usr/include/sys/eventfd.h|elphel393/usr/include/sys/fanotify.h|elphel393/usr/include/sys/fcntl.h|elphel393/usr/include/sys/file.h|elphel393/usr/include/sys/fsuid.h|elphel393/usr/include/sys/gmon.h|elphel393/usr/include/sys/gmon_out.h|elphel393/usr/include/sys/inotify.h|elphel393/usr/include/sys/io.h|elphel393/usr/include/sys/ipc.h|elphel393/usr/include/sys/kd.h|elphel393/usr/include/sys/kdaemon.h|elphel393/usr/include/sys/klog.h|elphel393/usr/include/sys/mount.h|elphel393/usr/include/sys/msg.h|elphel393/usr/include/sys/mtio.h|elphel393/usr/include/sys/param.h|elphel393/usr/include/sys/pci.h|elphel393/usr/include/sys/personality.h|elphel393/usr/include/sys/poll.h|elphel393/usr/include/sys/prctl.h|elphel393/usr/include/sys/procfs.h|elphel393/usr/include/sys/profil.h|elphel393/usr/include/sys/ptrace.h|elphel393/usr/include/sys/queue.h|elphel393/usr/include/sys/quota.h|elphel393/usr/include/sys/raw.h|elphel393/usr/include/sys/reboot.h|elphel393/usr/include/sys/resource.h|elphel393/usr/include/sys/sem.h|elphel393/usr/include/sys/sendfile.h|elphel393/usr/include/sys/shm.h|elphel393/usr/include/sys/signal.h|elphel393/usr/include/sys/signalfd.h|elphel393/usr/include/sys/socket.h|elphel393/usr/include/sys/socketvar.h|elphel393/usr/include/sys/soundcard.h|elphel393/usr/include/sys/statfs.h|elphel393/usr/include/sys/statvfs.h|elphel393/usr/include/sys/stropts.h|elphel393/usr/include/sys/swap.h|elphel393/usr/include/sys/syscall.h|elphel393/usr/include/sys/sysctl.h|elphel393/usr/include/sys/sysinfo.h|elphel393/usr/include/sys/syslog.h|elphel393/usr/include/sys/termios.h|elphel393/usr/include/sys/time.h|elphel393/usr/include/sys/timeb.h|elphel393/usr/include/sys/timepps.h|elphel393/usr/include/sys/timerfd.h|elphel393/usr/include/sys/times.h|elphel393/usr/include/sys/timex.h|elphel393/usr/include/sys/ttychars.h|elphel393/usr/include/sys/ucontext.h|elphel393/usr/include/sys/uio.h|elphel393/usr/include/sys/ultrasound.h|elphel393/usr/include/sys/un.h|elphel393/usr/include/sys/unistd.h|elphel393/usr/include/sys/user.h|elphel393/usr/include/sys/ustat.h|elphel393/usr/include/sys/utsname.h|elphel393/usr/include/sys/vfs.h|elphel393/usr/include/sys/vlimit.h|elphel393/usr/include/sys/vt.h|elphel393/usr/include/sys/vtimes.h|elphel393/usr/include/sys/wait.h|elphel393/usr/include/sys/xattr.h|elphel393/usr/include/syscall.h|elphel393/usr/include/sysexits.h|elphel393/usr/include/syslog.h|elphel393/usr/include/tar.h|elphel393/usr/include/term.h|elphel393/usr/include/term_entry.h|elphel393/usr/include/termcap.h|elphel393/usr/include/termio.h|elphel393/usr/include/termios.h|elphel393/usr/include/tgmath.h|elphel393/usr/include/thread_db.h|elphel393/usr/include/tic.h|elphel393/usr/include/tld.h|elphel393/usr/include/ttyent.h|elphel393/usr/include/uchar.h|elphel393/usr/include/ucontext.h|elphel393/usr/include/ulimit.h|elphel393/usr/include/unctrl.h|elphel393/usr/include/usb.h|elphel393/usr/include/ustat.h|elphel393/usr/include/utime.h|elphel393/usr/include/utmp.h|elphel393/usr/include/utmpx.h|elphel393/usr/include/uuid/|elphel393/usr/include/values.h|elphel393/usr/include/video/|elphel393/usr/include/wait.h|elphel393/usr/include/wctype.h|elphel393/usr/include/wordexp.h|elphel393/usr/include/xcb/|elphel393/usr/include/xen/|elphel393/usr/include/zconf.h|elphel393/usr/include/zlib.h|elphel393/usr/lib/|elphel393/usr/share/|x86_64-linux/usr/bin/|x86_64-linux/usr/include/|x86_64-linux/usr/lib/arm-poky-linux-gnueabi.gcc-cross-initial-arm/|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/arm_acle.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/arm_neon.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/float.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/iso646.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/mmintrin.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/quadmath.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/quadmath_weak.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/stdalign.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/stdatomic.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/stdbool.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/stdfix.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/stdint-gcc.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/stdint.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/stdnoreturn.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/unwind-arm-common.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/unwind.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include/varargs.h|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/install-tools/|x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/plugin/|x86_64-linux/usr/lib/dbus-1.0/|x86_64-linux/usr/lib/glib-2.0/|x86_64-linux/usr/lib/libffi-3.2.1/|x86_64-linux/usr/lib/perl-native/|x86_64-linux/usr/lib/python2.7/|x86_64-linux/usr/share/" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="sysroots"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="elphel-apps-histograms.null.118153953" name="elphel-apps-histograms"/>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="0.1911075509">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="refreshScope" versionNumber="2">
<configuration configurationName="Default">
<resource resourceType="PROJECT" workspacePath="/elphel-apps-histograms"/>
</configuration>
</storageModule>
</cproject>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="org.python.pydev.PyDevBuilder"/>
<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
</launchConfiguration>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>elphel-apps-histograms</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/SCP apps-histograms to target.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/org.python.pydev.PyDevBuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
<nature>org.python.pydev.pythonNature</nature>
</natures>
</projectDescription>
PROGS = pnghist.cgi
SRCS = pnghist.c
OBJS = pnghist.o
#OBJS = $(SRC:.c=.o)
#CFLAGS += -Wall -I$(ELPHEL_KERNEL_DIR)/include/uapi/elphel
CFLAGS += -Wall -I$(STAGING_DIR_HOST)/usr/include-uapi
#LDLIBS += -lpng -lm -lz
LDLIBS += -lpng -lm
INSTALL = install
INSTMODE = 0755
INSTDOCS = 0644
OWN = -o root -g root
#SYSCONFDIR = /etc/
#BINDIR = /usr/bin/
#WWW_PAGES = /www/pages
#CGIDIR = $(prefix)/usr/html
CGIDIR = /www/pages
all: $(PROGS)
$(PROGS): $(OBJS)
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
install: $(PROGS) $(PHPSCRIPTS) $(CONFIGS)
$(INSTALL) $(OWN) -d $(DESTDIR)
$(INSTALL) $(OWN) -d $(DESTDIR)$(CGIDIR)
$(INSTALL) $(OWN) -m $(INSTMODE) $(PROGS) $(DESTDIR)$(CGIDIR)
clean:
rm -rf $(PROGS) *.o *~
#TODO: implement automatic dependencies!
#camogm.c:$(STAGING_DIR_HOST)/usr/include-uapi/elphel/x393_devices.h
AXIS_USABLE_LIBS = UCLIBC GLIBC
AXIS_AUTO_DEPEND = yes
include $(AXIS_TOP_DIR)/tools/build/Rules.axis
# makefile for libpng using gcc (generic, static library)
# Copyright (C) 2000 Cosmin Truta
# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
# For conditions of distribution and use, see copyright notice in png.h
# Location of the zlib library and include files
#ZLIBINC = zlib
#ZLIBLIB = zlib
PNGINC = libpng
PNGLIB = libpng
#ZLIB = zlib
PNGLIB = libpng
INCDIR = $(AXIS_KERNEL_DIR)/include
INSTDIR = $(prefix)/usr/local/bin
CGIDIR = $(prefix)/usr/html
INSTMODE = 0755
INSTDOCMODE = 0644
INSTOWNER = root
INSTGROUP = root
#PGMNAME = pnghist
# Compiler, linker, lib and other tools
# CC = gcc
LD = $(CC)
LN= $(CC)
AR = ar rcs
RANLIB = ranlib
RM = rm -f
CDEBUG = -g -DPNG_DEBUG=5
LDDEBUG =
CRELEASE = -O2
LDRELEASE = -s
CFLAGS += -Wall -g -I$(INCDIR) -I$(AXIS_KERNEL_DIR)/include
LDFLAGS += -L$(LIBDIR)
CFLAGS += -Wall -g -I$(INCDIR) -I$(PNGINC) -I$(AXIS_KERNEL_DIR)/include
LDFLAGS += -L. -L$(PNGLIB) -L$(LIBDIR) -lpng -lz -lm
ifndef UCLIBC
# -lm - to use math library
LDLIBS = -lcrypt -lm
endif
# Variables
PROGS=pnghist.cgi
PNGSRCS = $(PNGLIB)/png.c $(PNGLIB)/pngerror.c $(PNGLIB)/pngget.c $(PNGLIB)/pngmem.c $(PNGLIB)/pngpread.c \
$(PNGLIB)/pngread.c $(PNGLIB)/pngrio.c $(PNGLIB)/pngrtran.c $(PNGLIB)/pngrutil.c $(PNGLIB)/pngset.c \
$(PNGLIB)/pngtrans.c $(PNGLIB)/pngwio.c $(PNGLIB)/pngwrite.c $(PNGLIB)/pngwtran.c $(PNGLIB)/pngwutil.c
PNGOBJS = $(PNGLIB)/png.o $(PNGLIB)/pngerror.o $(PNGLIB)/pngget.o $(PNGLIB)/pngmem.o $(PNGLIB)/pngpread.o \
$(PNGLIB)/pngread.o $(PNGLIB)/pngrio.o $(PNGLIB)/pngrtran.o $(PNGLIB)/pngrutil.o $(PNGLIB)/pngset.o \
$(PNGLIB)/pngtrans.o $(PNGLIB)/pngwio.o $(PNGLIB)/pngwrite.o $(PNGLIB)/pngwtran.o $(PNGLIB)/pngwutil.o
SRCS = pnghist.c $(PNGSRCS) $(ZSRCS)
OBJS = pnghist.o $(PNGOBJS) $(ZOBJS)
#LIBS = $(PNGLIB)/libpng.a $(ZLIB)/libz.a
LIBS = $(PNGLIB)/libpng.a
# Targets
#all: dependency $(PROGS) $(PNGLIB)/libpng.a $(ZLIB)/libz.a
all: dependency $(PROGS)
$(PNGLIB)/libpng.a: $(PNGOBJS)
$(AR) $@ $(PNGOBJS)
$(RANLIB) $@
#$(ZLIB)/libz.a: $(ZOBJS)
# $(AR) $@ $(ZOBJS)
# -@ ($(RANLIB) $@ || true) >/dev/null 2>&1
pnghist.cgi: pnghist.o $(PNGLIB)/libpng.a
$(LD) $^ $(LDLIBS) -o $@ $(LDFLAGS)
cris-strip -s $@
install: $(LIBS) $(PROGS)
$(INSTALL) -d $(INSTDIR)
$(INSTALL) -m $(INSTMODE) -o $(INSTOWNER) -g $(INSTGROUP) pnghist.cgi $(CGIDIR)
clean:
$(RM) $(PNGLIB)/*.o $(PNGLIB)/*~ $(PNGLIB)/*.bak $(PNGLIB)/libpng.a $(PNGLIB)/pngtest $(PNGLIB)/pngout.png \
*.o *~ *.bak dependency $(PROGS)
configsubs:
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
** -----------------------------------------------------------------------------** ** -----------------------------------------------------------------------------**
** pnghist.c ** pnghist.c
** **
** Copyright (C) 2006-2008 Elphel, Inc. ** Copyright (C) 2006-2016 Elphel, Inc.
** **
** -----------------------------------------------------------------------------** ** -----------------------------------------------------------------------------**
** This program is free software: you can redistribute it and/or modify ** This program is free software: you can redistribute it and/or modify
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
** along with this program. If not, see <http://www.gnu.org/licenses/>. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
** -----------------------------------------------------------------------------** ** -----------------------------------------------------------------------------**
*/ */
#include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
...@@ -29,14 +32,20 @@ ...@@ -29,14 +32,20 @@
#include <fcntl.h> #include <fcntl.h>
#include <math.h> #include <math.h>
#include <asm/elphel/autoexp.h> //#include <elphel/autoexp.h>
// http://stackoverflow.com/questions/2442335/libpng-boostgil-png-infopp-null-not-found
// libpng 1.4 dropped definitions of png_infopp_NULL and int_p_NULL. So add
#define png_infopp_NULL (png_infopp)NULL
#define int_p_NULL (int*)NULL
#include <sys/mman.h> #include <sys/mman.h>
#include <asm/elphel/c313a.h> #include <elphel/c313a.h>
#include <elphel/x393_devices.h>
//#include "zlib.h" //#include "zlib.h"
#include "libpng/png.h" //#include <libpng16/png.h>
#include <png.h>
#define HIST_SIZE 256 * 4 * 4 #define HIST_SIZE 256 * 4 * 4
#define HPNG_PLOT_BARS 1 #define HPNG_PLOT_BARS 1
...@@ -47,7 +56,11 @@ ...@@ -47,7 +56,11 @@
#define QRY_MAXPARAMS 64 #define QRY_MAXPARAMS 64
//#define THIS_DEBUG 1 #define THIS_DEBUG 0
// lighttpd requires the following setting to enable logging of the cgi program errors:
// ## where cgi stderr output is redirected
// server.breakagelog = "/www/logs/lighttpd_stderr.log"
char copyQuery [4096]; char copyQuery [4096];
const char *uri; const char *uri;
...@@ -71,9 +84,13 @@ struct autoexp_t autoexp; ...@@ -71,9 +84,13 @@ struct autoexp_t autoexp;
int write_png(int height, int data[1024], int mode, int colors); int write_png(int height, int data[1024], int mode, int colors);
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
int sensor_port=0;
int subchannel = 0;
int fd_histogram_cache; int fd_histogram_cache;
struct histogram_stuct_t * histogram_cache; /// array of histogram struct histogram_stuct_t * histogram_cache; /// array of histogram
const char histogram_driver_name[]="/dev/histogram_cache"; const char histogram_driver_name[]=DEV393_PATH(DEV393_HISTOGRAM);
//#define DEV393_HISTOGRAM ("histogram_cache","histograms_operations",138,18,"0666","c") ///< Access to acquired/calculated histograms for all ports/channels/colors
int hists[1536]; int hists[1536];
int rava[256]; int rava[256];
int i,j,k,a,l; int i,j,k,a,l;
...@@ -129,15 +146,18 @@ int main(int argc, char *argv[]) ...@@ -129,15 +146,18 @@ int main(int argc, char *argv[])
/// Sample from camvc.html /// Sample from camvc.html
///http://192.168.0.9/pnghist.cgi?sqrt=1&scale=5&average=5&height=128&fillz=1&linterpz=0&draw=2&colors=41 ///http://192.168.0.9/pnghist.cgi?sqrt=1&scale=5&average=5&height=128&fillz=1&linterpz=0&draw=2&colors=41
///FIXME: Some bump on low red - what is it? ///FIXME: Some bump on low red - what is it?
if((v = paramValue(gparams, "height")) != NULL) png_height=strtol(v, NULL, 10); //sensor_port
if((v = paramValue(gparams, "draw")) != NULL) mode= (mode & 0xfc) | (strtol(v, NULL, 10) & 3); if((v = paramValue(gparams, "sensor_port")) != NULL) sensor_port=strtol(v, NULL, 10);
if((v = paramValue(gparams, "fillz")) != NULL) mode= (mode & (~HPNG_FILL_ZEROS)) | (strtol(v, NULL, 10)?HPNG_FILL_ZEROS:0); if((v = paramValue(gparams, "subchannel")) != NULL) subchannel=strtol(v, NULL, 10);
if((v = paramValue(gparams, "linterpz")) != NULL) mode= (mode & (~HPNG_LIN_INTERP)) | (strtol(v, NULL, 10)?HPNG_LIN_INTERP:0); if((v = paramValue(gparams, "height")) != NULL) png_height=strtol(v, NULL, 10);
if((v = paramValue(gparams, "sqrt")) != NULL) mode= (mode & (~HPNG_RUN_SQRT)) | (strtol(v, NULL, 10)?HPNG_RUN_SQRT:0); if((v = paramValue(gparams, "draw")) != NULL) mode= (mode & 0xfc) | (strtol(v, NULL, 10) & 3);
if((v = paramValue(gparams, "colors")) != NULL) colors=strtol(v, NULL, 10); if((v = paramValue(gparams, "fillz")) != NULL) mode= (mode & (~HPNG_FILL_ZEROS)) | (strtol(v, NULL, 10)?HPNG_FILL_ZEROS:0);
if((v = paramValue(gparams, "average")) != NULL) rav=strtol(v, NULL, 10); if((v = paramValue(gparams, "linterpz")) != NULL) mode= (mode & (~HPNG_LIN_INTERP)) | (strtol(v, NULL, 10)?HPNG_LIN_INTERP:0);
if((v = paramValue(gparams, "scale")) != NULL) dscale=strtod(v,NULL); if((v = paramValue(gparams, "sqrt")) != NULL) mode= (mode & (~HPNG_RUN_SQRT)) | (strtol(v, NULL, 10)?HPNG_RUN_SQRT:0);
if((v = paramValue(gparams, "disrq")) != NULL) request_enable=strtol(v, NULL, 10)?0:1; if((v = paramValue(gparams, "colors")) != NULL) colors=strtol(v, NULL, 10);
if((v = paramValue(gparams, "average")) != NULL) rav=strtol(v, NULL, 10);
if((v = paramValue(gparams, "scale")) != NULL) dscale=strtod(v,NULL);
if((v = paramValue(gparams, "disrq")) != NULL) request_enable=strtol(v, NULL, 10)?0:1;
// int request_enable=1; /// enable requesting histogram calculation for the specified frame (0 - use/wait what available) // int request_enable=1; /// enable requesting histogram calculation for the specified frame (0 - use/wait what available)
// const char histogram_driver_name[]="/dev/histogram_cache" // const char histogram_driver_name[]="/dev/histogram_cache"
...@@ -150,7 +170,7 @@ int main(int argc, char *argv[]) ...@@ -150,7 +170,7 @@ int main(int argc, char *argv[])
fflush(stdout); fflush(stdout);
return -1; return -1;
} }
//! now try to mmap // now try to mmap
histogram_cache = (struct histogram_stuct_t *) mmap(0, sizeof (struct histogram_stuct_t) * HISTOGRAM_CACHE_NUMBER , PROT_READ, MAP_SHARED, fd_histogram_cache, 0); histogram_cache = (struct histogram_stuct_t *) mmap(0, sizeof (struct histogram_stuct_t) * HISTOGRAM_CACHE_NUMBER , PROT_READ, MAP_SHARED, fd_histogram_cache, 0);
if((int)histogram_cache == -1) { if((int)histogram_cache == -1) {
fprintf(stdout, "Pragma: no-cache\n"); fprintf(stdout, "Pragma: no-cache\n");
...@@ -159,7 +179,35 @@ int main(int argc, char *argv[]) ...@@ -159,7 +179,35 @@ int main(int argc, char *argv[])
fflush(stdout); fflush(stdout);
return -1; return -1;
} }
// Select sensor port and subchannel
if ((sensor_port< 0) || (sensor_port > 3) || (subchannel < 0) || (subchannel > 3)){
fprintf(stdout, "Pragma: no-cache\n");
fprintf(stdout, "Content-Type: text/plain\n\n");
fprintf(stdout, "Wrong sensor port and/or subchannel number: %s\n", histogram_driver_name);
fflush(stdout);
return -1;
}
if (((i = lseek(fd_histogram_cache, LSEEK_HIST_SET_CHN + (sensor_port <<2) +subchannel, SEEK_END)))<0){ // set port/subchannel to use
fprintf(stdout, "Pragma: no-cache\n");
fprintf(stdout, "Content-Type: text/plain\n\n");
fprintf(stdout, "port/subchannel combination does not exist: %s\n", histogram_driver_name);
fflush(stdout);
return -1;
}
#if 0
if ((offset & ~0xf) == LSEEK_HIST_SET_CHN){
p = (offset >> 2) & 3;
s = (offset >> 0) & 3;
if (get_hist_index(p,s)<0)
return -ENXIO; // invalid port/channel combination
privData->port = p;
privData->subchannel = s;
if((v = paramValue(gparams, "sensor_port")) != NULL) sensor_port=strtol(v, NULL, 10);
if((v = paramValue(gparams, "subchannel")) != NULL) subchannel=strtol(v, NULL, 10);
#endif
/// Now find the index of the most recently available histogram (maybe will wait a little if it is not yet available for the current frame - use previous?) /// Now find the index of the most recently available histogram (maybe will wait a little if it is not yet available for the current frame - use previous?)
lseek(fd_histogram_cache, LSEEK_HIST_WAIT_C, SEEK_END); /// wait for all histograms, not just Y (G1) lseek(fd_histogram_cache, LSEEK_HIST_WAIT_C, SEEK_END); /// wait for all histograms, not just Y (G1)
lseek(fd_histogram_cache, LSEEK_HIST_NEEDED + 0xf0, SEEK_END); /// forward and cumulative histograms are needed lseek(fd_histogram_cache, LSEEK_HIST_NEEDED + 0xf0, SEEK_END); /// forward and cumulative histograms are needed
...@@ -188,6 +236,7 @@ int main(int argc, char *argv[]) ...@@ -188,6 +236,7 @@ int main(int argc, char *argv[])
fprintf (stderr," %05x",hists[i]); fprintf (stderr," %05x",hists[i]);
} }
fprintf (stderr,"\n\n\n"); fprintf (stderr,"\n\n\n");
fflush(stderr);
#endif #endif
if ((mode & (HPNG_FILL_ZEROS | HPNG_LIN_INTERP)) | (rav>1)) { // spread between zeros - needed at high digital gains (near black with low gammas) if ((mode & (HPNG_FILL_ZEROS | HPNG_LIN_INTERP)) | (rav>1)) { // spread between zeros - needed at high digital gains (near black with low gammas)
...@@ -259,7 +308,6 @@ int main(int argc, char *argv[]) ...@@ -259,7 +308,6 @@ int main(int argc, char *argv[])
//#define HPNG_PLOT_BARS 1 //#define HPNG_PLOT_BARS 1
//#define HPNG_CONNECT_DOTS 2 //#define HPNG_CONNECT_DOTS 2
int write_png(int png_height, int data[1536], int mode, int colors) int write_png(int png_height, int data[1536], int mode, int colors)
{ {
// FILE *fp; // FILE *fp;
...@@ -406,7 +454,7 @@ int write_png(int png_height, int data[1536], int mode, int colors) ...@@ -406,7 +454,7 @@ int write_png(int png_height, int data[1536], int mode, int colors)
png_set_PLTE(png_ptr, png_set_PLTE(png_ptr,
info_ptr, info_ptr,
palette, palette,
PNG_MAX_PALETTE_LENGTH); sizeof(cpalette)/3); // PNG_MAX_PALETTE_LENGTH);
png_set_tRNS(png_ptr, png_set_tRNS(png_ptr,
info_ptr, info_ptr,
trans, trans,
...@@ -524,10 +572,10 @@ int write_png(int png_height, int data[1536], int mode, int colors) ...@@ -524,10 +572,10 @@ int write_png(int png_height, int data[1536], int mode, int colors)
// png_uint_32 k, height, width; // png_uint_32 k, height, width;
// png_byte image[height][width*bytes_per_pixel]; // png_byte image[height][width*bytes_per_pixel];
// png_bytep row_pointers[height]; // png_bytep row_pointers[height];
#if 0
if (height > PNG_UINT_32_MAX/png_sizeof(png_bytep)) if (height > PNG_UINT_32_MAX/png_sizeof(png_bytep))
png_error (png_ptr, "Image is too tall to process in memory"); png_error (png_ptr, "Image is too tall to process in memory");
#endif
for (k = 0; k < height; k++) for (k = 0; k < height; k++)
row_pointers[k] = (png_bytep) image + k*width*bytes_per_pixel; row_pointers[k] = (png_bytep) image + k*width*bytes_per_pixel;
......
#!/usr/bin/env python
# encoding: utf-8
from __future__ import division
from __future__ import print_function
"""
# @file used_files.py
# @brief Extract file access data after build, modify CDT project configuration
# (.cproject) accordingly
# @copyright Copyright (C) 2016, Elphel.inc.
# @param <b>License</b>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
@author: Andrey Filippov
@license: GPLv3.0+
@contact: andrey@elphel.coml
@deffield updated: Updated
"""
__author__ = "Andrey Filippov"
__copyright__ = "Copyright 2016, Elphel, Inc."
__license__ = "GPL"
__version__ = "3.0+"
__maintainer__ = "Andrey Filippov"
__email__ = "andrey@elphel.com"
__status__ = "Development"
import sys
import os
import time
import xml.etree.ElementTree as ET
'''
TODO:Automate, find out why separate touch commands are needed
Run this program twice:
1-st run ./used_files.py linux -1
and save shown timestamp
Then run (some mystery here)
touch src/drivers/ata/ahci_elphel.c
touch src/drivers/elphel/sensor_common.c
Wait 5 seconds and run (in a different console with appropriate sourcing)
bitbake linux-xlnx -c compile -f
Then again
./used_files.py linux <timestamp_from_the_first_run>
If somethong went wrong you will need to resore .cproject from eclipse_project_setup directory
For php:
bitbake php -c cleansstate
bitbake php -c unpack -f
bitbake php -c configure -f
./used_files.py php -1
bitbake php -c compile -f
./used_files.py php 1471044836.8
Doing:
bitbake php -c compile -f
./used_files.py php -1
bitbake php -c compile -f
./used_files.py php 1471044836.8
Corrupts make process
'''
def file_tree(flist): # Each file in list is a file, no directories
ftree={}
for p in flist:
node = ftree
seg_list=p.split(os.sep)
last_i=len(seg_list)-1
for i,segm in enumerate(seg_list):
if not segm in node:
if i == last_i:
node[segm] = None
else:
node[segm] = {}
node=node[segm]
return ftree
def exclude_list(ftree, flist):
mark = "*" # no file/dir name can be "*"
def list_tree_recursive(root):
rslt = []
if not mark in root:
return [[""]] # convert to trailing "/" for directories
for n in root:
if not n == mark:
if root[n] is None:
rslt.append([n])
else:
for l in list_tree_recursive(root[n]):
rslt.append([n]+l)
return rslt
ftree[mark]=None # mark top level dir
for p in flist:
node = ftree
for segm in p.split(os.sep)[:-1]:
node=node[segm]
node[mark]=None # [mark] means used in flist
del node[p.split(os.sep)[-1]]
#print (ftree)
# for k in ftree:
# print(k)
#Now prune unused directories
#prune_recursive(ftree) # (assuming root is used)
# now create list
files_list_list = list_tree_recursive(ftree)
# print (files_list_list)
#converrt to file paths
pl = []
for l in files_list_list:
pl.append(os.path.join(*(l[1:])))
pl = sorted (pl)
return pl
def proc_tree():
DEBUG = True
extensions = [".h",".c",".cpp"]
exclude_start = ["linux"+os.sep+"scripts"+os.sep,"linux"+os.sep+"source"+os.sep+"scripts"+os.sep]
delta_t = 3 # seconds
try:
root_path = sys.argv[1]
except:
print ("Calling %s <root directory path> [timestamp]"%(os.path.basename(sys.argv[0])))
try:
start_time = float(sys.argv[2])
except:
start_time = 0.0
touch_files= start_time < 0.0
print ("root_path = %s"%(root_path))
# root_path = "/home/eyesis/git/poky/linux-elphel/linux/"
lstFiles = []
# Append files to a list
for path, _, files in os.walk(root_path, followlinks = True):
for f in files:
for ext in extensions:
if f.endswith(ext):
lstFiles.append(os.path.join(path, f))
break
all_tree= file_tree(sorted(lstFiles))
include_lst=[]
lst_a = []
latest_at=0
for p in lstFiles:
if touch_files:
if os.path.islink(p):
try:
os.utime(os.path.realpath(p), None)
except:
print("missing linked file: %s"%(os.path.realpath(p)))
else:
os.utime(p, None)
else:
# at = time.ctime(os.stat(p).st_atime)
try:
at = os.stat(p).st_atime
l = None
except:
at = 0
if os.path.islink(p):
try:
l = os.path.realpath(p)
at = os.stat(l).st_atime
except:
at = 0 # missing file
latest_at = max((latest_at,at))
if at > (start_time + delta_t):
#Scripts/lexers result in problems
exclude=False
for exStr in exclude_start:
if p.startswith(exStr):
exclude=True
break
if exclude:
break
#exclude_start
lst_a.append([p,at,l])
include_lst.append(p)
if touch_files:
print (len(lstFiles), "last time = ", time.time())
return
excluding = exclude_list(all_tree, include_lst)
# print (all_tree)
# print (sorted(include_lst))
# print ("|".join(excluding))
if DEBUG:
with open("all_sources.lst","w" ) as f:
for p in sorted(lstFiles):
try:
at = os.stat(p).st_atime
except:
at = 0
lnk=""
if os.path.islink(p):
try:
at = os.stat(os.path.realpath(p)).st_atime
except:
at = 0
lnk = os.path.realpath(p)
print (p,at,lnk, file=f)
with open("excluding.lst","w" ) as f:
for p in excluding:
print (p, file=f)
with open("including.lst","w" ) as f:
for p in include_lst:
print (p, file=f)
# include_tree= file_tree(sorted(include_lst))
# print(include_tree)
root_dir=include_lst[0].split(os.sep)[0]
print ("root_dir=",root_dir)
xml= ET.parse(".cproject")
root=xml.getroot()
# for child in root:
# print(child.tag, child.attrib)
for child in root.iter('sourceEntries'):
for gchild in child:
print(gchild.tag)
for child in root.iter('sourceEntries'):
for gchild in child:
if gchild.tag == 'entry':
attr = gchild.attrib
try:
if (attr['kind'] == 'sourcePath') and (attr['name'] == root_dir):
child.remove (gchild)
print ("Removed existing entry ",gchild.tag)
break
except:
print ("error matching attributes for ",gchild.tag)
pass
break #after first 'sourceEntries' - should be just one?
ET.SubElement(child, 'entry', {"flags":"VALUE_WORKSPACE_PATH", "kind":"sourcePath", "name":root_dir, "excluding":"|".join(excluding)})
for child in root.iter('sourceEntries'):
for gchild in child:
print(gchild.tag)
oneliner= ET.tostring(root)
#overwrites original .cproject, may change to somethong different
with open(".cproject", "wr") as f:
f.write("""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?>""")
f.write(oneliner)
print (len(lstFiles), len(lst_a), "last access time = ",latest_at)
if __name__ == '__main__':
proc_tree()
"""
make clean # otherwise compiled files are preserved
bitbake apps-histograms -c cleansstate
bitbake apps-histograms -c unpack -f
bitbake apps-histograms -c configure -f
./used_files.py sysroots/elphel393/usr/include-uapi -1
bitbake apps-histograms -c compile -f
./used_files.py sysroots/elphel393/usr/include-uapi 1473297567.42
eyesis@eyesis-SH87R:~/git/elphel393/rootfs-elphel/elphel-apps-histograms$ ./used_files.py sysroots/elphel393/usr -1
root_path = sysroots/elphel393/usr
5615 last time = 1473300068.01
eyesis@eyesis-SH87R:~/git/elphel393/rootfs-elphel/elphel-apps-histograms$ ./used_files.py sysroots/elphel393/usr 1473300068.01
root_path = sysroots/elphel393/usr
root_dir= sysroots
entry
entry
entry
entry
entry
5615 84 last access time = 1473300080.1
"""
\ 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