1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-05 13:24:11 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
James Duley
7b10fbc5c4 OP-1451 udev change plugdev to uaccess : update in deb too 2014-08-24 12:22:28 +12:00
James Duley
dc191f7523 changed udev from plugdev to uacces/udev-acl 2014-08-17 21:31:03 +12:00
Alessio Morale
4ac9940854 OP-1254 fix packaging rules 2014-03-08 14:20:32 +01:00
Laurent Lalanne
8e837fb985 OP-1187 Wrong file copy in lasted commit.
qt_fr.qm located in tools/Qt_install_dir, allow copy of this file for all systems
2014-01-29 13:42:39 +01:00
Laurent Lalanne
c39fb50acf OP-1187 Fix : Like Win package, qt_fr.qm file is needed under Linux 2014-01-28 13:12:39 +01:00
Mikael Blomqvist
450fa6e5a4 updated linux dependencies list 2014-01-13 22:46:39 +01:00
Mikael Blomqvist
c98b8b4763 Fix for broken dependency lookup during deb packaging 2014-01-11 01:11:00 +01:00
Mikael Blomqvist
63127011bd Removing leaked Makefiles from the deb package 2014-01-10 09:32:04 +01:00
Mikael Blomqvist
6379a7d937 deb package now bundles qt5 libs and goodies 2014-01-09 15:57:12 +01:00
Alessio Morale
c4f4916590 OP-1143: add missing ids to udev rules
+review OPReview
2013-12-13 18:40:05 +01:00
Oleg Semyonov
dcc9425b7e Merge remote-tracking branch 'origin/os/OP-893_remove-firmware-from-package' into next 2013-05-28 14:56:05 +02:00
Oleg Semyonov
b6d3b2ac22 OP-893: do not include *.opfw firmware files into package
Now GCS has all firmware embedded and available through the Vehicle Setup
Wizard or Auto-Update function. Hence it is not necessary to include
another copies of the same files. But the code to do this is kept because
later we will include sim targets as firmware. Linux version does include
it already, OSX and Windows should follow.
2013-05-26 22:47:43 +03:00
David Ankers
892da0d977 Update comments in linux packaging scripts to OPLink Mini 2013-05-26 15:56:59 +10:00
Oleg Semyonov
f9f721a76a Reset executable bits from non-executable files (Windows legacy) 2013-04-24 01:18:46 +03:00
Oleg Semyonov
da68ac1c8b Merge remote-tracking branch 'origin/amedee/OP-678' into next
+review OPReview-433
OP-678 #resolve #comment Thanks Philippe! Merged to next. Needs testing.
2013-04-19 12:58:56 +03:00
Philippe Vanhaesendonck
8a83204715 Jira OP-678 -- remove sudo from debian post-install 2013-04-03 18:29:31 +02:00
Oleg Semyonov
3e815ca8d5 build: get rid of build/ground subdirectory, fix qt-creator builds
This changeset:
- moves all ground targets one level up, under build directory. The
  build/ground was created as a workaround, now unnecessary;
- fixes QtCreator builds, they are separated from command line builds;
- moves GCS autogenerated files into openpilotgcs-synthetics directory.

The resulting build subdirectory now looks like:

    build
        openpilotgcs             <- Qt-Creator build directory
        openpilotgcs-synthetics  <- version-info and opfw_resource
        openpilotgcs_debug
        openpilotgcs_release     <- Makefile build directory
        uavobject-synthetics
        uavobjgenerator

NOTE: you should update the shadow build path in QtCreator to build,
      not build/ground as before.

+review OPReview
2013-03-30 17:33:38 +02:00
Oleg Semyonov
8f977a4411 Final step: lot of small fixes, last commit in this commit series
This is the first cleanup pass through makefiles and pios.
Probably it is difficult to track changes due to the nature of them.
I would recommend to look at resulting files and compiled code instead.

NOTE: original branch was rebased and lot of conflicts were fixed on
the way. So do not expect that every commit in this series will be
buildable (unlike original branch). Only final result was tested.

The main goal was to remove as much duplication of code (and copy/paste
errors) as possible, moving common parts out of Makefiles. It still is
not perfect, and mostly no code changes made - Makefiles and #ifdefs only.
But please while testing make sure that all code works as before, and no
modules/options are missed by accident.

Brief list of changes:
- Moved common parts of Makefiles into the set of *.mk files.
- Changed method of passing common vars from top Makefile to lower ones.
- Some pios cleanup, mostly #ifdefs, and all pios_config.h files.
- Many obsolete files removed (for instance, AHRS files, op_config.h).
- Many obsolete or unused macros removed or fixed/renamed (ALL_DIGNOSTICS).
- Unified pios_config.h template. Please don't remove lines for board
  configs, only comment/uncomment them. Adding new PIOS options, please
  propagate them to all board files keeping the same order.
- Some formatting, spacing, indentation (no line endings change yet).
- Some cosmetic fixes (no more C:\X\Y\filename.c printings on Windows).
- Added some library.mk files to move libs into AR achives later.
- EntireFlash target now uses cross-platform python script to generate bin
  files. So it works on all supported platforms: Linux, OSX, Windows.
- Top level packaging is completely rewritten. Now it is a part of top
  Makefile. As such, all dependencies are checked and accounted, no
  more 'make -j' problems should occur.
- Default GCS_BUILD_CONF is release now, may be changed if necessary
  using 'make GCS_BUILD_CONF=debug gcs'.
- GCS build paths are separated into debug and release, so no more obj
  file clashes. Packaging system supports only release builds.
- New target is introduced: 'clean_package'. Now 'make package' does not
  clean build directory. Use clean_package instead for distributable builds.
- Targets like 'all', 'opfw_resource', etc now will print extra contex
  in parallel builds too.
- If any of 'package', 'clean_package', 'opfw_resource' targets are given
  on command line, GCS build will depend on the resource, so all fw_*.opfw
  targets will be built and embedded into GCS. By default GCS does not
  depend on resource, and will be built w/o firmware (unless the resource
  files already exist and the Qt resource file is generated).
- fw_simposix (ELF executable) is now packaged for linux. Run'n'play!
- Make help is refined and is now up to date.

Still broken:
- UnitTests, should be fixed
- SimPosix: buildable, but should be reworked.

Next planned passes to do:
- toolchain bootstrapping and packaging (including windows - WIP)
- CMSIS/StdPeriph lib cleanup
- more PIOS cleanup
- move libs into AR archives to save build time
- sim targets refactir and cleanup
- move android-related directories under <top>/android
- unit test targets fix
- source code line ending changes (there are many different, were not changed)
- coding style

Merging this, please use --no-ff git option to make it the real commit point

Conflicts:
	A lot of... :-)
2013-03-24 13:06:24 +02:00
Oleg Semyonov
105e7d95c9 Packaging: now should work for all 3 platforms 2013-03-24 13:06:20 +02:00
Oleg Semyonov
a0fb1b9061 [OP-674] Attempt to fix Linux packaging dependencies 2012-12-05 17:40:14 +02:00
naiiawah
6c38114cfc Fixed borkage in the rules file where the if test was malformed. Added
a change to force an error if the passed in ENV var is not defined.  If
that had been there, the borkage wouldn't have been undetected.

Changed to only put the main FW in the firmware dir, instead of BL and
FW.
2012-01-04 21:39:23 -07:00
naiiawah
f136f3d956 Updated Vid/Pids for Revo, CC3D and some minor comment cleanup in the UDev rules file. 2011-12-30 17:47:22 -07:00
naiiawah
5da31269a6 Changed the top level menu to OpenPilot. 2011-12-24 20:38:04 -07:00
naiiawah
e7a5c14fe2 Improved the handling of the UDev rules installation. Uses
dh_installudev now instead of just manually copying files.  Should
survive any changes to where UDev puts rules better if there is a
channge in their scheme of locations.

Suggested change by Stac after finding the dh_installudev tool.  Good
find!
2011-12-24 14:30:02 -07:00
naiiawah
15061dccab Updates based on review feedback. Fixed (unlikely) case of empty
PACKAGE_DIR var to prevent splatered copying.
2011-12-21 22:38:40 -07:00
naiiawah
ed86805458 Updates to fix review issues: -jX build issues fixes, updated URLs in
<processor_type>/control
2011-12-21 22:18:08 -07:00
naiiawah
5aaa155995 Initial version of the integrated Linux-Deb package system
implementation.  Uses the standard OP package system front end then
connects into the Debian Package manager for package building.  Should
work on both i386 and amd64 systems.  Auto determins and runtime which
system it is building on and produces an appropriate package for the
platform in the build dir.
2011-12-18 17:58:42 -07:00