Compare commits

...

527 Commits

Author SHA1 Message Date
Diogo Cordeiro c33ae26742 systems: added lctr-a72xx to test cortex-a72 architecture. 2020-09-16 16:20:18 +01:00
Diogo Cordeiro 2a82e92e04 architectures/cortex-a72: remove redundant conflicting flags 2020-09-16 16:15:41 +01:00
Diogo Cordeiro cc98513b14 architectures: added cortex-a72 architecture. 2020-09-11 01:12:38 +01:00
Jose Pinto 8418458d6e ZeroTierOne: Added package rule. 2019-08-17 10:18:44 +01:00
Jose Pinto 78a8e0099d Kplex: added package rule. 2019-08-17 10:18:25 +01:00
Pedro Gonçalves 9824634051
Merge pull request #40 from LSTS/feature/exiftool
Feature/exiftool
2019-04-05 15:21:08 +01:00
Pedro Gonçalves a21f7a4835 lctr-rpi: config: add exiftool and libusb to the main config. 2019-04-05 15:20:04 +01:00
Tiago Sá Marques ca8a965f1f
Merge pull request #38 from krisgry/feature/copy-curl
Copy libcurl_* to /lib/, for cross-compilation of DUNE
2019-04-04 12:21:54 +00:00
Tiago Sá Marques 623bac0c38
Merge pull request #37 from krisgry/feature/copylibopenCV
Copy libopencv_* to /lib/, for cross-compilation of DUNE
2019-04-04 12:20:03 +00:00
mariacosta c66054cafd lctr-rpi: test-rpi-eth0: Added libusb package. 2019-02-27 18:29:23 +00:00
Pedro Gonçalves c425981fa4 systems/lctr-a6xx: add geode-testbed config system. 2019-02-25 16:15:54 +00:00
Pedro Gonçalves b69cfb9682 systems/lctr-rpi/test-rpi-eth0: fix service network name. 2019-02-22 18:09:40 +00:00
Pedro Gonçalves 568f2abbbf rules/exiftool: fix path for bin folder. 2019-02-22 17:11:59 +00:00
Pedro Gonçalves 0dd5539b48 systems/lctr-rpi: update test-rpi config for eth0 and wlan0. 2019-02-21 18:22:45 +00:00
Pedro Gonçalves d1872860fa rules/exiftool: add rule for exiftool lib/api. 2019-02-21 18:21:54 +00:00
mariacosta 4cf1db0317 GLUED: Updated Copyright. 2019-02-11 10:50:52 +00:00
Paulo Dias 00255e4608 gitignore: added helper script to ignore. 2019-02-08 20:12:08 +00:00
Paulo Dias 72a786508e rules: boost: added needed libraries that must be built separately are: regex,filesystem,system,thread. 2019-02-08 20:11:29 +00:00
Paulo Dias 8bda2a4551 systems: Added boost to lauv-nemo-aux. 2019-02-08 20:09:34 +00:00
Kristoffer Gryte 4e0d51b548 rules/curl: symlink libcurl to /lib/ for cross-compilation of DUNE 2019-02-06 14:40:03 +01:00
Kristoffer Gryte 20a8911a04 rules/opencv: symlink libopencv_* to /lib/, for cross-compilation of DUNE 2019-02-06 14:29:43 +01:00
zepinto 7542b861c3 Docker Makefile: added DNS option. 2019-01-15 18:26:25 +00:00
Paulo Dias 580816dde8
mkpackage: use www.lsts.pt instead of lsts.pt. 2019-01-08 20:44:04 +00:00
João Teixeira 4c8324abc3 lctr-9axx: added manta-sabuvis system 2018-10-24 14:33:44 +01:00
João Teixeira 4316b4c9f7 systems/lctr-rpi: Added titan configuration file. 2018-08-30 11:25:42 +01:00
João Teixeira 9015c36df9 systems: Added systems buv-petinga-1 2018-04-20 19:37:04 +01:00
mariacosta 3e002e3ec5 systems/lctr-rpi: Added x8-06-aux configuration file. 2018-04-20 11:10:10 +01:00
Tiago Marques b15293ee66 lctr-9axx: added manta-rugged-2 system. 2018-04-20 09:38:18 +01:00
Tiago Marques e2da8b7586 systems: Added systems lauv-nemo-1 and lauv-nemo-1-aux. 2018-02-16 15:46:05 +00:00
Tiago Marques 0cf9ba8b9c systems/lauv-aux-rpi: removed Europa from packages. 2018-01-09 09:30:44 +00:00
Tiago Marques 5967c0b13f mkpackage: use HTTPS for lsts repository 2017-12-04 11:35:38 +00:00
Tiago Marques 459c14e7f4 mkconfig: updated glued version 2017-11-27 16:27:42 +00:00
Pedro Gonçalves d2a0d5208c systems/lauv-aux-rpi: add system config file for lauv-xplore-5-aux. 2017-10-24 17:00:28 +01:00
Pedro Gonçalves 644b98c753 systems/lauv-aux-rpi: add system config file for lauv-xplore-4-aux. 2017-10-24 16:59:54 +01:00
Pedro Gonçalves fcad38b6d7 systems/lauv-aux-rpi: add system config file for lauv-xplore-3-aux. 2017-10-24 16:58:50 +01:00
Pedro Gonçalves 853e7ea553 systems/lctr-a6xx: add system config file for lauv-xplore-5. 2017-10-11 14:08:33 +01:00
Pedro Gonçalves b0633cd82c systems/lctr-a6xx: add system config file for lauv-xplore-4. 2017-10-11 14:08:23 +01:00
Pedro Gonçalves 7e8e9cbad0 systems/lctr-a6xx: add system config file for lauv-xplore-3. 2017-10-11 14:08:13 +01:00
Tiago Marques 19855db2da Merge branch 'bug/kmod-modules-dep'
Authored By: Ricardo Martins
2017-09-28 19:57:10 +01:00
Ricardo Martins a8a131e19c linux: use system kmod. 2017-09-28 17:58:58 +01:00
Ricardo Martins bbbd691fb3 docker: install kmod. 2017-09-28 17:58:14 +01:00
Tiago Marques 200dfc2205 Merge branch 'feature/linux-update'
Authored By: Pedro Gonçalves
Reviewed By: Tiago Marques
2017-09-25 18:29:42 +01:00
Tiago Marques 1a95420340 systems/lctr-b2xx/patches/linux/00-lctr-b2xx-dts: Updated patch 2017-09-25 16:07:42 +01:00
Tiago Marques aec36f560b rules/lpg/default: Fixed dependencies. 2017-09-25 10:41:27 +01:00
Tiago Marques 13b3b18b5d systems/lctr-b2xx/patches/linux: Upgraded to v4.4.66 2017-09-22 15:45:21 +01:00
Tiago Marques 87e70a6615 Merge branch 'feature/memtest' 2017-09-13 10:32:41 +01:00
Tiago Marques 7dc03d18c5 systems/lctr-a6xx/config: Added memtest86+ package. 2017-09-13 10:26:50 +01:00
Tiago Marques dbae4f69f6 rules/memtest86+/fs: Renamed script. 2017-09-12 09:46:51 +01:00
Tiago Marques 29298872e8 rules/memtest86+/fs/memtester: Changed shebang. 2017-09-11 18:02:15 +01:00
Tiago Marques a55b6dbc6a rules/memtest86+: Removed garbage file. 2017-09-11 17:55:47 +01:00
Tiago Marques 5919324f1b systems/lctr-a6xx/cfg/linux-4.4.66: Disabled pps's debug messages. 2017-09-01 12:11:27 +01:00
Tiago Marques 020e2c7fe9 rules/gcc/cross: Fixed bug for 64 bit systems, causing libraries to be searched in the wrong directory. 2017-08-29 19:19:46 +01:00
Tiago Marques b4674e5cb6 rules/linux-headers/cross: Fixed url. 2017-08-29 16:54:42 +01:00
Tiago Marques 1c2f480dbd Revert "docker: update file to use gcc 5.4."
GCC v5.4 is not needed to compile the new kernel.
This reverts commit 8faf53ef3e.
2017-08-29 16:39:29 +01:00
Tiago Sá Marques 63ce5fa404 Merge pull request #33 from krisklau/pr/update_gdb
gdb: Upgraded version to 7.10.1 to allow remote debugging on bbb.
2017-08-16 13:35:38 +01:00
Tiago Sá Marques 8097d2679b Merge pull request #34 from krisklau/pr/openssh_privsep
openssh: Compile with privsep-path set to /var/empty/
2017-08-16 13:29:25 +01:00
Tiago Marques d352a68acc Merge branch 'krisklau-pr/ntnu-update-s17' 2017-08-16 12:56:36 +01:00
Tiago Marques 81052b54a6 Revert "System: noptilus-aux: Added lpg."
This reverts commit 84bbaf4bca.
2017-08-16 12:56:25 +01:00
Tiago Marques b28a6d787e rules/perf/default: Fixed dependencies. 2017-08-16 12:56:25 +01:00
Tiago Marques 347ef94fd4 Revert "systems/lctr-a6xx/config: build perf for lctr-a6xx systems."
This reverts commit e5bfb87131.
2017-08-16 12:56:25 +01:00
Tiago Marques eacd69fe0f rules/perf/default: Fixed code style. 2017-08-16 12:56:25 +01:00
tsmarques d1adbb7b9c rules/perf: Fixed target_install(). Copy perf to rootfs instead of toolchain. 2017-08-16 12:56:25 +01:00
tsmarques c8e3e6fc59 rules/perf: removed temporary file. 2017-08-16 12:56:25 +01:00
tsmarques a911af2fa0 systems/lctr-a6xx/config: build perf for lctr-a6xx systems. 2017-08-16 12:56:25 +01:00
tsmarques fb7aa49ab0 rules/perf: added rules for perf package. 2017-08-16 12:56:25 +01:00
Tiago Marques ee477076c8 Revert "System: noptilus-aux: Added lpg."
This reverts commit 84bbaf4bca.
2017-08-16 12:52:53 +01:00
Pedro Gonçalves 8faf53ef3e docker: update file to use gcc 5.4. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves aa786393e6 lctr-a9xx: rename rule profile to v3_14. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 592571c75a lctr-a9xx: change linux rule to linux/default_3.3 to maintain compatibility with older processors. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves d87b79cecd lctr-a9xx/patches/linux_4.4.66: add patch for omap3. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 8f5aa75fae lctr-a9xx: add cfg linux file for version 4.4.66. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 2601d6a4a4 linux/default_3.3: add rule to maintain compatibility with older processors. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 770821bbcd systems/lctr-b2xx/cfg: update kernel config file to 4.4.66. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 6bcbaced95 bridge-utils: update version to 1.6. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 6607a06504 bridge-utils/patches: update to version 1.6. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves a4f6e5c9d8 escc: update version to 1.0.71. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves e034305031 linux-headers: update to version 4.4.66 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 07219a7e82 linux: update linux kernel to 4.4.66 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 4b13bb96d6 lctr-a6xx/cfg: add patches for linux 4.4.66 2017-08-16 11:50:30 +01:00
Tiago Marques d4be30bec6 rules/memtest86+: Added script to start memtest. 2017-08-12 08:24:17 +01:00
Tiago Marques a6564e1b5d rules/syslinux/extlinux.conf: Added boot option for memtest. 2017-08-12 08:23:13 +01:00
Tiago Marques 6f0b948b98 Merge branch 'feature/perf' 2017-08-04 14:09:40 +01:00
Kristian Klausen 277501513a openssh: Compile with privsep-path set to /var/empty/ 2017-08-04 10:11:02 +02:00
Kristian Klausen 40b48c2b35 gdb: Upgraded version to 7.10.1 to allow remote debugging on bbb. 2017-08-04 10:01:41 +02:00
Kristian Klausen 1069e42b8b ntnu-b2xx: cfg/linux-3.14.63: Added kernel driver for CONFIG_RFKILL=y
+CONFIG_CFG80211=y
+CONFIG_NL80211=y
2017-08-04 09:54:17 +02:00
Kristian Klausen 88718f7a36 ntnu-b2xx: cfg/linux-3.14.63: Added kernel driver for RT2800USB (wifi usb) 2017-08-04 09:54:17 +02:00
Kristian Klausen 88ca152faa ntnu-b2xx: Added ntnu-bixler-001. 2017-08-04 09:54:17 +02:00
Kristian Klausen 970bddfa6e ntnu-b2xx: ntnu-cruisermini-001-pseudo: Added pseudo-vehicle. 2017-08-04 09:54:17 +02:00
Kristian Klausen a564932f4f ntnu-b2xx: Added vehicles ntnu-cruisermini-00x. 2017-08-04 09:54:17 +02:00
Kristian Klausen de5fb6e33d ntnu-b2xx: ntnu-hexa-002: Updated config to include the same packages as hexa-003, hexa-004 2017-08-04 09:54:17 +02:00
Kristian Klausen 51f08c2d3d ntnu-b2xx: ntnu-nest-04: Fixed typo in hostname. 2017-08-04 09:54:17 +02:00
Kristian Klausen 79aa224ed3 ntnu-b2xx: ntnu-hexa-003,4: Removed service force_10mbit. 2017-08-04 09:54:17 +02:00
Kristian Klausen 49fb0d28cd ntnu-b2ss: ntnu-octo-001: New system. 2017-08-04 09:54:17 +02:00
Kristian Klausen 438cfa26eb ntnu-b2xx: fs/etc/rc.d/rtklib_rtkrcv: Added functionality to create the folder /opt/lsts/rtklib/ if it does not exist. 2017-08-04 09:54:17 +02:00
Kristian Klausen 792d11ca1c ntnu-b2xx: Added ssh tools to hexa-004, x8-002, x8-008. 2017-08-04 09:54:17 +02:00
Kristian Klausen 115cfa3727 ntnu-b2xx: Added system ntnu-nest-04. 2017-08-04 09:54:17 +02:00
Tiago Marques 1369cb7f34 rules/perf/default: Fixed dependencies. 2017-08-03 23:32:34 +00:00
Tiago Marques e12f3dc414 Revert "systems/lctr-a6xx/config: build perf for lctr-a6xx systems."
This reverts commit e5bfb87131.
2017-08-03 21:22:08 +00:00
Tiago Marques 52880f1754 rules/perf/default: Fixed code style. 2017-08-03 21:21:39 +00:00
Tiago Marques 5a8237118f rules: Added rule for memtext86+ 2017-08-01 20:39:26 +01:00
José Braga f6f03a67dd lauv-aux-rpi: fixed lauv-xtreme-2-aux configuration file. 2017-07-31 11:19:51 +01:00
José Braga 7f2247ae3b lctr-b2xx: added lauv-xtreme-2-aux file with nfs storage server. 2017-07-31 11:13:33 +01:00
Jose Pinto 84bbaf4bca System: noptilus-aux: Added lpg. 2017-07-05 16:37:32 +01:00
Tiago Marques 3704b05ffa Merge branch 'feature/lpg' 2017-07-05 16:07:26 +01:00
Jose Pinto 3164e87a8e System: noptilus-aux: Added libraries required by necsave. 2017-07-05 14:36:52 +01:00
Ricardo Martins 3496db07d2 dune: added package for NECSAVE. 2017-07-05 14:19:22 +01:00
Jose Pinto 699fa27067 Fixed libtool dependency. 2017-07-05 14:17:54 +01:00
Jose Pinto a153ccca60 Added rule for CZMQ. 2017-07-05 14:12:39 +01:00
Jose Pinto 4e13aec0a1 Added rule for 0MQ. 2017-07-05 14:11:29 +01:00
Jose Pinto 3d8202f28c Added rule for jansson lib. 2017-07-05 14:10:51 +01:00
Tiago Marques 8b15f2d169 mkupdate: Set update folder according to vendor. 2017-06-29 16:44:32 +01:00
Pedro Gonçalves fa4d1cf7f5 systems/lctr-b2xx/x8-06: add rule opencv and exiv2. 2017-06-28 17:48:42 +01:00
João Teixeira 7aef5753e3 systems/lctr-b2xx/x8-08: add GSM support 2017-06-26 15:47:12 +01:00
Pedro Gonçalves 1b51c79e8d rules/exiv2: add gettext to required rule. 2017-06-26 14:37:49 +01:00
Pedro Gonçalves d6757ac880 systems/lctr-b2xx/x8-07: add rule opencv and exiv2. 2017-06-22 16:30:13 +01:00
Pedro Gonçalves 949348e239 systems/lctr-b2xx/x8-07: add rule opencv and exiv2. 2017-06-22 16:11:28 +01:00
João Teixeira 7fd5b0ca82 systems/lctr-b2xx/x8-07: add GSM support 2017-06-22 15:42:38 +01:00
Pedro Gonçalves d79bfb5739 systems/lctr-rpi/mariner-01: change/update system config file. 2017-06-22 13:48:04 +01:00
Pedro Gonçalves 2ffbea8fa9 systems/lctr-rpi/x8-08: change/update system config file. 2017-06-21 18:10:35 +01:00
Pedro Gonçalves c6ad9ec474 rules/raspicam: add to requires rule uv4l. 2017-06-21 18:09:40 +01:00
Pedro Gonçalves cb5e6a5d87 rules/ffmpeg: update rule to copy .so to both sysroot. 2017-06-21 18:09:03 +01:00
Pedro Gonçalves e6c7b8fc82 rules/exiv2: add rule to put meta-data in photos. 2017-06-21 18:07:59 +01:00
Tiago Marques a7e2cbedda Merge branch 'feature/test_rpi'
Authored By: Pedro Gonçalves
Reviewed By: Tiago Marques
2017-06-16 13:07:45 +01:00
Tiago Marques 422c024635 mkpackage: Fixed LSTS mirror's url 2017-06-09 17:27:48 +01:00
Tiago Marques 5819ff41e4 mkupdate: Added script to update glued in a given system 2017-06-09 11:40:21 +01:00
Tiago Marques 78da3914b4 mkpackage: Use LSTS's mirror first, to download packages. 2017-06-09 10:38:09 +01:00
Tiago Marques 1ab074d0bd rules/raspicam: Added missing dependency. 2017-06-02 14:42:38 +01:00
Tiago Marques db04cf06cb rules/uv4l: Don't hard code raspicam script. 2017-06-02 14:42:30 +01:00
Tiago Marques ce7839830b rules/escc: Bumped to version 1.0.7 2017-05-22 16:48:36 +01:00
Tiago Marques d02fa39ddb rules/lpg: Compile lpg. 2017-05-17 09:29:47 +01:00
Manuel R eeefa5908d lctr-rpi: mariner-01: Added wlan to config. 2017-05-09 13:26:34 +01:00
João Teixeira cfd9f7064b lctr-a6xx: revert PPS_CLIENT_GPIO 2017-05-06 15:33:12 +01:00
mariacosta 9c63f6a0e5 lctr-a6xx: Variable cfg_escc_script now empty by default. 2017-05-05 16:56:37 +01:00
Jose Pinto 4f81df3ca9 Packages: Added rule to build htop. 2017-05-01 16:32:27 +01:00
Pedro Gonçalves fc77579bf4 iw: update/fix rule for check_wlan. 2017-04-18 14:11:30 +01:00
Pedro Gonçalves d9a1157878 filesystem: update service of check_wlan. 2017-04-18 14:10:36 +01:00
Pedro Gonçalves e5dbc2924c iw: add script check_wlan to fs, script removed in filesystem rule. 2017-04-18 14:08:18 +01:00
Pedro Gonçalves 7d77726e80 filesystem: add script to check wifi connection. 2017-04-12 21:21:29 +01:00
Pedro Gonçalves cb4c8a5739 iw: remove file check_wlan (move to filesystem). 2017-04-12 21:20:17 +01:00
Pedro Gonçalves 910862e084 lctr-rpi/test-rpi: add check_wlan to services0. 2017-04-12 18:56:19 +01:00
Pedro Gonçalves 560f4d8930 filesystem: add service of check_wlan. 2017-04-12 18:55:22 +01:00
Pedro Gonçalves bc788dc955 uv4l: update parameters of uv4l server. 2017-04-12 18:54:20 +01:00
Pedro Gonçalves 206460e467 iw: add file/script to check connection to SSID. 2017-04-12 18:53:28 +01:00
Pedro Gonçalves 4691e93747 iw: update rule, copy file system to root file system. 2017-04-12 18:51:37 +01:00
Pedro Gonçalves 735b5f2e79 lctr-rpi/test-rpi: fix some issues, network -> network-wlan 2017-04-10 22:15:42 +01:00
Pedro Gonçalves b530b76581 filesystem: add network-wlan service to enable wlan0. 2017-04-10 22:03:45 +01:00
Pedro Gonçalves 5cfdd6d3d9 iw: add rule for iw (wlan network config). 2017-04-10 22:02:53 +01:00
Pedro Gonçalves 55641a6693 lctr-rpi/test-rpi: add rule for wifi-config (iw) 2017-04-10 20:05:42 +01:00
João Teixeira dd0212bfa0 lctr-rpi:nest-1 add suport to mobile internet- linux-4.4 2017-04-10 15:50:40 +01:00
mariacosta 49f31934f7 lctr-b2xx: Added pixhawk-testbed configuration file and updated IP address of aero-01. 2017-04-09 11:01:47 +01:00
mariacosta 66de780258 lctr-a9xx: Deleted x8-00 and updated IP address of x8-02. 2017-04-09 11:00:57 +01:00
mariacosta 7977480161 lctr-b2xx: x8-06: Updated IP address. 2017-04-07 14:42:30 +01:00
mariacosta 6f09fed5b2 lctr-b2xx: Deleted x8-05 and added x8-07. 2017-04-07 14:41:27 +01:00
mariacosta 333f3ebe55 lctr-rpi: Replaced BBB for a RPI in mariner-01. 2017-04-06 13:30:52 +01:00
mariacosta bed09c213e lctr-rpi: Added x8-08 configuration file. 2017-04-06 13:08:17 +01:00
mariacosta 714aa28c92 lctr-rpi: x2o-02: Removed repeated entries from basic config, added libav and removed nfs-utils packages. 2017-04-06 10:42:48 +01:00
mariacosta e66fdc9adc lctr-rpi: x2o-01: Removed repeated entries from basic config, added libav and removed nfs-utils packages. 2017-04-06 10:42:34 +01:00
mariacosta 842160dd4a lctr-rpi: nest-1: Updated IP address. 2017-04-06 10:39:58 +01:00
Pedro Gonçalves c428102633 lctr-rpi: update cfg_terminal to tty1 and partitions, remove target dtb. 2017-04-05 18:23:51 +01:00
Manuel R f79aec516f lctr-rpi: Added X2O-01 and X2O-02 configs. 2017-04-05 14:14:05 +01:00
Manuel R d273414068 systems/lctr-rpi: Added inittab file to disable serial console. 2017-04-05 14:11:26 +01:00
Manuel R a95d7a868a systems/lctr-rpi: Updated config file for RPi2/3. 2017-04-05 14:10:59 +01:00
Manuel R b0ceda4ea2 lauv-aux-rpi/cfg: Updated kernel config. 2017-04-05 14:10:03 +01:00
mariacosta 2b5b6b3c2f Merge branch 'feature/raspicam' into feature/test_rpi 2017-04-05 13:51:00 +01:00
João Teixeira 4ee4dadaaf lctr-a6xx: add PPS_CLIENT_GPIO 2017-04-04 14:52:37 +01:00
Pedro Gonçalves fc659cd451 lauv-aux-rpi/test-rpi: add ftdi_sio to modules. 2017-03-30 17:23:40 +01:00
Pedro Gonçalves bb0a00c1ee rpi-boot-firmware/fs/boot/cmdline: change console dev. 2017-03-30 12:56:21 +01:00
Pedro Gonçalves e5f7d6bfdd lauv-aux-rpi/cfg: change dev of console. 2017-03-30 12:54:57 +01:00
Pedro Gonçalves eee43266c8 lauv-aux-rpi/test-rpi: change terminal dev. 2017-03-30 12:53:18 +01:00
João Teixeira ff0a567462 systems/lctr-rpi: add NETFILTER kernel config 2017-02-21 18:37:39 +00:00
João Teixeira d91631f542 Merge branch 'master' of https://github.com/LSTS/glued 2017-02-21 15:26:51 +00:00
João Teixeira b77d33441b systems/lauv-aux-rpi: add lauv-arpao-aux config file 2017-02-21 15:26:40 +00:00
Tiago Marques 2eaaab820a systems/lctr-a6xx: Enable debugging options by default. 2017-02-17 18:29:45 +00:00
João Teixeira 501217ff0e lctr-a6xx: added FTDI support to lauv-xplore-1 2017-02-15 20:18:21 +00:00
João Teixeira e6d5014b2a lctr-a6xx: add lauv-arpao correct name 2017-02-08 14:53:12 +00:00
João Teixeira fd15ab19d9 lctr-a6xx: add lauv-arpao config file 2017-02-08 14:40:02 +00:00
Pedro Gonçalves 05a6f19cf3 raspicam: fix path to cmake. 2017-02-03 19:39:54 +00:00
Pedro Gonçalves 9d95b45410 lauv-aux-rpi/test-rpi: update cfg packages. 2017-02-03 18:41:06 +00:00
Pedro Gonçalves b17eeece35 raspicam: fix problem in path to cmake. 2017-02-03 18:39:48 +00:00
Pedro Gonçalves 29358c9c3e rpi-boot-firmware: update boot firmware. 2017-02-03 18:38:04 +00:00
Pedro Gonçalves f0b77fdfc5 linux/rpi: update version of kernel. 2017-02-03 18:37:16 +00:00
Pedro Gonçalves c6ef0368e7 lauv-aux-rpi/cfg: update kernel config file. 2017-02-03 18:36:11 +00:00
Pedro Gonçalves 4e63f7ea02 linux/default: restore previous version of rule (3.14.63). 2017-01-26 19:19:27 +00:00
Pedro Gonçalves 1b13099af1 uv4l: fix kill process uv4l. 2017-01-25 16:56:32 +00:00
Pedro Gonçalves 082c614dde uv4l: add new rule for video stream of raspicam. 2017-01-25 15:46:53 +00:00
Pedro Gonçalves 18c53ad585 systems/lauv-aux-rpi/test-rpi: add new rules to config file. 2017-01-25 11:55:15 +00:00
Pedro Gonçalves a7df46d61a linux: update kernel to 4.4.10. 2017-01-24 19:59:42 +00:00
Pedro Gonçalves 6a3376b24a systems/lauv-aux-rpi/cfg: update cfg linux kernel for v4l and fuse modules. 2017-01-24 19:58:55 +00:00
João Teixeira 4510993b5a Merge branch 'feature/nest-1' 2017-01-23 18:03:45 +00:00
mariacosta 1bcbd2d2fb lctr-b2xx: Enabled UART4 by default. 2017-01-17 15:12:22 +00:00
mariacosta 04f268c481 GLUED: Updated Copyright. 2017-01-16 10:30:25 +00:00
Pedro Gonçalves 24f7c187a9 rpi-boot-firmware: add new url/package of boot rpi firmware. 2017-01-11 15:24:17 +00:00
Pedro Gonçalves f4933e8c15 systems/lauv-aux-rpi: add option to enable raspicam. 2017-01-11 15:22:39 +00:00
Pedro Gonçalves a45a415415 linux/rpi: update url package. 2017-01-11 15:20:32 +00:00
Pedro Gonçalves b2230b577f feature/raspicam: add test-rpi.cfg to system lauv-aux-rpi, merge feature/rpi-linux-4.4. 2017-01-11 13:49:34 +00:00
Pedro Gonçalves 0c9e3b6622 Merge branch 'feature/rpi-linux-4.4' into feature/raspicam 2017-01-10 19:52:29 +00:00
Pedro Gonçalves 8e99dc6870 raspicam: add new URL for package. Some cleanup in rule. 2017-01-06 17:47:14 +00:00
Pedro Gonçalves 28372cd2fd raspicam: add new rule for raspicam camera. 2017-01-04 19:45:51 +00:00
tsmarques 996c2c6fa0 rules/perf: Fixed target_install(). Copy perf to rootfs instead of toolchain. 2016-12-20 18:05:02 +00:00
João Teixeira 7c15c5d1c4 lctr-rpi: ignore lctr-rpi build folder 2016-11-30 20:08:05 +00:00
João Teixeira 6fe196ad09 lctr-rpi:nest-1 add suport to mobile internet 2016-11-30 20:05:30 +00:00
João Teixeira b5dba77554 lctr-rpi: Add configuration files for main cpu,(systems based in raspberry pi) 2016-11-29 17:29:12 +00:00
Ricardo Martins cce9bdb98c lauv-aux-rpi: upgraded linux to v4.4. 2016-11-15 12:06:24 +00:00
Pedro Gonçalves 61dc4d2094 opencv: upgraded to v2.4.13. 2016-11-04 19:01:48 +00:00
tsmarques 0ec6de7ea4 rules/perf: removed temporary file. 2016-10-18 15:15:33 +02:00
tsmarques e5bfb87131 systems/lctr-a6xx/config: build perf for lctr-a6xx systems. 2016-10-17 23:44:05 +02:00
tsmarques 0eeb5362b9 rules/perf: added rules for perf package. 2016-10-17 23:43:58 +02:00
mariacosta 15dd2b7bd6 pkrootfs: DTB currently is in root folder. 2016-10-03 17:08:52 +01:00
Ricardo Martins eddb1c7611 libpng: upgraded to v1.6.23. 2016-06-20 11:21:26 +01:00
Ricardo Martins 6b7b82786e linux: forced depmod path. 2016-06-14 19:30:56 +01:00
Ricardo Martins f9b7edea6e kmod: fixed symlink. 2016-06-14 19:30:29 +01:00
Ricardo Martins 62730377b2 docker: install file package. 2016-06-14 18:54:37 +01:00
Ricardo Martins 4ff07d69e0 docker: added script to create docker container suitable to build GLUED. 2016-06-03 14:23:22 +01:00
João Teixeira 77752d3db9 lctr-a6xx: added FTDI support to caravela 2016-06-01 16:41:30 +01:00
Ricardo Martins 79e474bd3d filesystem: added support for Raspberry Pi 3. 2016-05-18 12:45:31 +01:00
Ricardo Martins 0e030cb595 linux: install all dtbs to root folder. 2016-05-18 12:44:52 +01:00
Ricardo Martins 08117b4b9a mkdisk: copy boot files recursively, added support for multiple dtbs. 2016-05-18 12:44:21 +01:00
Ricardo Martins e24efe0258 lauv-aux-rpi: moved config.txt to system folder. 2016-05-17 19:10:08 +01:00
Ricardo Martins b648eab591 lauv-aux-rpi: moved config.txt to system folder. 2016-05-17 19:09:55 +01:00
Ricardo Martins c3f5888e1a linux: added support for device tree overlays and added function to find patches. 2016-05-17 19:08:51 +01:00
Ricardo Martins 4ad474f096 filesystem: updated upgrade script to support newer kernels. 2016-05-17 19:06:30 +01:00
Ricardo Martins a61c8e20da Bumped version to 2016.05. 2016-05-02 15:55:25 +01:00
Ricardo Martins 79439e298c Merge pull request #30 from krisklau/pr/ntnu-b2xx/update-20160423
ntnu-b2xx: Complete transition from lctr-b2xx, move to hardfp
2016-04-26 13:59:19 +01:00
Kristian Klausen 8b680c11b2 ntnu-b2xx: Added ntnu-nest-03. To be the next ptu control unit. 2016-04-23 12:10:55 +02:00
Kristian Klausen 10bf35de62 ntnu-b2xx: config: Switch to hardfp. Note, a complete rebuild is nescessary. 2016-04-23 12:10:55 +02:00
Kristian Klausen 96006e300a ntnu-b2xx: All vehicles: Removed override of cfg_target_linux_dtb. Now using default from config, am335x-ntnu-b2xx.dtb 2016-04-23 12:10:55 +02:00
Kristian Klausen 6022716e2d ntnu-b2xx: config: Use new dtb file (am335x-ntnu-b2xx) 2016-04-23 12:10:55 +02:00
Kristian Klausen 8d81ce635f ntnu-b2xx: patches/linux: New patch for ntnu-b2xx that consolidates the two older patches. (lctr-b2xx-dts, lctr-b2xx-ntnu-x-dts) 2016-04-23 12:10:55 +02:00
Kristian Klausen 2b75ec733c ntnu-b2xx: patches/linux: Moved/renamed from 3.14.63/ to 3.14/ 2016-04-23 12:10:55 +02:00
Kristian Klausen 3b99e3575c ntnu-b2xx: cfg: Added config file for linux-rt with PREEMPT_BASE and PREEMPT_RT_FULL. (3.14.64-rt67) 2016-04-23 12:10:55 +02:00
Kristian Klausen 9eed676b32 ntnu-b2xx: All vehicles: Updated IPs. 2016-04-23 12:10:55 +02:00
Kristian Klausen 62c74adb09 lctr-b2xx: Moved all ntnu-* systems to ntnu-b2xx 2016-04-23 12:01:03 +02:00
Jose Braga 46e9d9194d lctr-a6xx: removed mcclibusb package from lauv-xtreme-2. 2016-04-11 14:35:29 +01:00
Jose Braga 56381e306f lctr-a6xx: updated lauv-xtreme-2. 2016-04-11 14:32:44 +01:00
Jose Braga e0635fc1a3 lauv-aux-rpi: added lauv-xtreme-2-aux. 2016-04-11 14:32:07 +01:00
Ricardo Martins 38fd2c73bf filesystem: revamped upgrade script for MTD storage. 2016-04-06 17:19:47 +01:00
Ricardo Martins 699240998f u-boot: install u-boot.bin also. 2016-04-06 16:38:22 +01:00
Ricardo Martins 908cfbb684 stamp9g20: added NAND ECC BCH patch. 2016-04-06 16:10:50 +01:00
Ricardo Martins b31058e7c1 stamp9g20: removed dtb as it is not used. 2016-04-06 16:10:26 +01:00
Ricardo Martins 0d04b0f7c8 stamp9g20: added preliminary support for Taskit Stamp9G20. 2016-04-06 16:01:37 +01:00
Ricardo Martins 108bc4601d architectures: added arm926ej-s architecture. 2016-04-06 16:00:15 +01:00
Ricardo Martins 8626adb881 linux: improved fail logic. 2016-04-06 15:59:33 +01:00
Ricardo Martins 323bbf7998 busybox: added command flash_eraseall. 2016-04-06 15:59:10 +01:00
Ricardo Martins aae5c9d856 Merge pull request #29 from krisklau/pr/rtklib/buildfix
rtklib: Fix bug where extra compile flag was added incorrectly.
2016-03-31 15:27:10 +01:00
Kristian Klausen 3c4cbb7d63 rtklib: Fix bug where extra compile flag was added incorrectly. 2016-03-31 16:20:49 +02:00
José Braga 72627f94f3 lctr-a6xx: added iptables package to caravela. 2016-03-29 18:36:06 +01:00
José Braga 378cb85275 lctr-a6xx: added ppp package to caravela. 2016-03-29 18:08:09 +01:00
Ricardo Martins 7699d8c06a Merge branch 'feature/linux-rt' 2016-03-28 10:48:04 +01:00
Ricardo Martins 0e01d8363e linux: added support for fully preemptive kernel (-rt patches). 2016-03-24 15:27:04 +00:00
Ricardo Martins 73fbb71575 linux: made default rules more flexible and robust. 2016-03-24 15:26:00 +00:00
Ricardo Martins 584337e5bd functions: added ucat() function to cat regular or gzipped files. 2016-03-24 15:22:03 +00:00
Ricardo Martins 2ed29cdea0 Merge pull request #28 from krisklau/pr/rt-tests
rules: rt-tests: Added package rt-tests that install cyclictests for RT performance benchmark
2016-03-24 10:56:03 +00:00
Kristian Klausen c5d0e3040f rules: rt-tests: Added package rt-tests that install cyclictests for RT performance benchmark 2016-03-23 19:30:39 +01:00
Ricardo Martins 6f91882231 Merge pull request #25 from krisklau/pr/rtklib/str2str_reuseaddr
rules: rtklib: Added flag SVR_REUSEADDR on str2str build.
2016-03-23 10:41:44 +00:00
Ricardo Martins 7c382bdfaf Merge pull request #26 from krisklau/pr/ntnu-b2xx/update-1603
Updates of ntnu-b2xx
2016-03-23 10:41:29 +00:00
Kristian Klausen 9765c4e8b0 rules: rtklib: Added flag SVR_REUSEADDR on str2str build. 2016-03-22 23:41:14 +01:00
Kristian Klausen 4aec63ad80 ntnu-b2xx: fs/etc/rtklib: Added cmd files for rtklib. 2016-03-22 23:39:57 +01:00
Kristian Klausen e231dc351c ntnu-b2xx: ntnu-nest-02: Use correct rtklib service. (single) 2016-03-22 23:39:57 +01:00
Kristian Klausen efecd4c1d6 ntnu-b2xx: fs/etc/rtklib: Changed config files to utilize GLONASS 2016-03-22 23:39:57 +01:00
Kristian Klausen fa6027292d ntnu-b2xx: fs/etc/rc.d: rtklib services now checks the nest for cmd file type. 2016-03-22 23:39:57 +01:00
Kristian Klausen b1aedc92b4 ntnu-b2xx: ntnu-x8-002: Removed force_10mbit service. 2016-03-22 23:39:57 +01:00
Kristian Klausen 545559fe7f ntnu-b2xx: ntnu-hexa-003/4: Added rtklib service and package. 2016-03-22 23:39:57 +01:00
Kristian Klausen 6bc755fc4f ntnu-b2xx: Added some services to ntnu-nest-02 2016-03-22 23:39:57 +01:00
Kristian Klausen 8d14d197fa ntnu-b2xx: fs/etc/rtklib/conf/rtkrcv_single.conf: New config file for single positioning. 2016-03-22 23:39:57 +01:00
Kristian Klausen 70063de02f ntnu-b2xx: fs/etc/rc.d/rtklib_single: New service for single position GPS using rtklib. 2016-03-22 23:39:57 +01:00
Kjetil Sørbø e4127668e3 ntnu-b2xx: etc/rtklib/conf/rtkrcv.conf: Use TOW instead of UTC time. 2016-03-22 23:39:57 +01:00
Ricardo Martins 4dc98209b7 util-linux: forced use of toolchain headers. 2016-03-22 12:07:21 +00:00
José Braga fd6fcdeb7b lctr-b2xx: deleted a few systems. 2016-03-07 10:48:50 +00:00
Ricardo Martins d7964b4c14 Preparing release v2016.03. 2016-03-07 10:19:55 +00:00
Ricardo Martins a4ac22d3f2 linux: upgraded to v3.14.63. 2016-03-07 10:12:03 +00:00
José Braga 473148fed2 Merge branch 'feature/update-ips'
Modified IP on a couple of systems.

Authored By: José Braga
2016-02-29 17:42:44 +00:00
José Braga e12ae5d839 lauv-aux-rpi: modified IP on lauv-xplore-2-aux. 2016-02-29 17:37:42 +00:00
José Braga 98d9eb21f7 lctr-a6xx: modified IP on lauv-noptilus-1 and lauv-xplore-2. 2016-02-29 17:37:19 +00:00
mariacosta 8bfe1eb5c0 lctr-a9xx: Deleted x8-01 and x8-04. 2016-02-24 14:22:32 +00:00
mariacosta 18fb81b606 lctr-b2xx: Updated aero-01 cfg_packages. 2016-02-24 14:20:59 +00:00
mariacosta 23c58281c6 lctr-b2xx: Added x8-05, x8-06, mariner-01 and deleted x8-03. 2016-02-24 14:18:47 +00:00
José Braga 45b3108cb4 lctr-a6xx: deleted a few systems. 2016-02-23 16:16:54 +00:00
José Braga 11becbd486 lctr-a6xx: added caravela asv. 2016-02-23 16:15:37 +00:00
Ricardo Martins dfb270ae35 Merge pull request #23 from krisklau/pr/ntnu-linux-3.14.58
ntnu-b2xx: patches: Upgraded linux to v3.14.58
2016-02-22 13:59:16 +00:00
José Braga 31911be6d5 lctr-a6xx: added hg1700 sensor. 2016-02-19 15:08:48 +00:00
Ricardo Martins 6075393a97 mkpackage: fixed last commit logic. 2016-02-11 17:17:53 +00:00
Ricardo Martins febcfa0425 mkpackage: forced CURL to return error if download fails, remove file if download fails. 2016-02-11 17:16:52 +00:00
Kristian Klausen 70f86e932b ntnu-b2xx: patches: Upgraded linux to v3.14.58 2016-02-11 14:31:01 +01:00
Ricardo Martins fe76470a31 filesystem: implemented proper Raspberry Pi 2 upgrade. 2016-01-28 11:52:59 +00:00
Ricardo Martins 06af4b5492 lauv-aux-rpi2: hide harmless exportfs error messages. 2016-01-28 11:52:59 +00:00
Ricardo Martins 91ab44c833 lauv-aux: hide harmless exportfs error messages. 2016-01-28 11:52:59 +00:00
Ricardo Martins daf3745e8d filesystem: hide harmless syshalt error messages, added extra new lines. 2016-01-28 11:52:59 +00:00
Ricardo Martins dc982505a0 ptpd: hide harmless killall error messages. 2016-01-28 11:52:59 +00:00
José Braga 628ae3fefe libexif: removed libexif. 2016-01-28 11:25:07 +00:00
Ricardo Martins e8bbadc1d1 libftd2xx: added FTDI D2XX binary library (for ARM). 2016-01-25 19:08:22 +00:00
Ricardo Martins b1daef0319 lauv-aux-rpi: usbserial and associated modules (ftdi_sio and pl2303) are now modules. 2016-01-22 11:02:50 +00:00
Ricardo Martins 5f732c892b libftdi1: added package. 2016-01-22 11:02:04 +00:00
Ricardo Martins 90bf3d8bf8 confuse: added package. 2016-01-22 11:01:52 +00:00
Ricardo Martins f9fb2fe49b lauv-aux-rpi: enabled FTDI USB serial driver. 2016-01-14 14:46:39 +00:00
Ricardo Martins fd18050b8f lctr-a9xx: enabled iptables in the kernel. 2016-01-13 15:52:30 +00:00
Ricardo Martins 3ac1f523e4 Version 2015.12. 2016-01-13 13:10:09 +00:00
Ricardo Martins e0a4f27dee lctr-a9xx: enabled FTDI kernel module. 2016-01-12 13:36:16 +00:00
José Braga e3a519e46a Removed deprecated manta configurations. 2016-01-08 14:19:46 +00:00
José Braga f991959696 Added manta-22, manta-23 and manta-rugged. 2016-01-08 10:26:27 +00:00
Ricardo Martins 7c8a3aec6f lctr-a6xx: increased HZ to 1000 again. 2016-01-07 17:18:25 +00:00
Ricardo Martins 262b2f01d2 lctr-a6xx: announce USB devices. 2016-01-07 17:04:04 +00:00
Ricardo Martins b2ed7f6185 lctr-a6xx: lowered kernel HZ to 250 to reduce overruns. 2016-01-07 16:58:22 +00:00
Ricardo Martins 965171f488 lctr-a9xx: enabled support for PPP in the kernel. 2016-01-07 14:50:46 +00:00
Ricardo Martins 8a3ebb9519 lctr-a6xx: decreased ST16654 FIFO trigger to 8 bytes. 2016-01-07 14:17:40 +00:00
Ricardo Martins 4db766c7c3 linux: upgraded to v3.14.58. 2016-01-07 11:40:42 +00:00
Ricardo Martins f29c6c624a lctr-a6xx: decreased ST16654 FIFO trigger. 2016-01-07 11:34:46 +00:00
Ricardo Martins eeedb2be55 mkconfig: added cfg_glued_git_version to record git revision. 2015-12-28 10:51:57 +00:00
Ricardo Martins e3a9b36e2c gcc: handle lib64 properly. 2015-12-28 10:38:14 +00:00
Ricardo Martins ed4aa926ce Merge pull request #20 from LSTS/feature/glued-check-sources
Feature/glued check sources
2015-12-28 10:06:51 +00:00
Ricardo Martins 8ab12cbb31 Merge pull request #17 from krisklau/pr/feature/ntnu-b2xx
ntnu-b2xx: New folder for NTNU systems
2015-12-28 10:06:28 +00:00
Ricardo Martins 0738ed2cca Merge pull request #22 from krisklau/pr/feature/RtkLibUpdate
Pr/feature/rtk lib update
2015-12-28 10:05:17 +00:00
Ricardo Martins e91cdef22f lauv-aux: replaced usb2 with usb?. 2015-12-28 09:59:17 +00:00
Kristian Klausen 9a503dd066 ntnu-b2xx: cfg/linux-3.14.16: Added RTC_DRV_DS1307 RTC driver module 2015-12-22 21:15:08 +01:00
Kristian Klausen ddbce85c15 ntnu-b2xx: fs/etc/rc.d/rtklib_rtkrcv: Pipe input to seperate virtual console. Execute in a seperate shell properly with correct working directory 2015-12-22 21:15:08 +01:00
Kristian Klausen 9b3b8defc6 ntnu-b2xx: fs/etc/rc.d/vsp_pair: Added another virtual com port for rtklib console 2015-12-22 21:15:08 +01:00
Kristian Klausen 0fd2bcea84 ntnu-b2xx: fs/etc/rtklib: Added rtklib configuration file 2015-12-22 21:15:08 +01:00
Kristian Klausen a53baec382 ntnu-hexa-003: Added service force_10mbit 2015-12-22 21:15:08 +01:00
Kristian Klausen 07cd482677 ntnu-hexa-003: Added package ethtool 2015-12-22 21:15:07 +01:00
Kristian Klausen bb7b375e12 ntnu-hexa-x: Removed libswiftnav package 2015-12-22 21:15:07 +01:00
Kristian Klausen f459d4ab3c ntnu-b2xx/ntnu-hexa-*: Updated to new IP range. (10.0.60.x) 2015-12-22 21:15:07 +01:00
Kristian Klausen 63e11ff550 ntnu-hexa-testbed: Added package libphidget, and added service rtc-ds3231 2015-12-22 21:15:07 +01:00
Kristian Klausen 8940c89ffb ntnu-hexa-testbed: Moved from lctr-b2xx to ntnu-b2xx 2015-12-22 21:15:07 +01:00
Kristian Klausen b2935756e5 ntnu-hexa-00x: Added package libphidget and ethtool, and added service rtc-ds3231 (and force_10mbit on hexa-004 2015-12-22 21:15:07 +01:00
Kristian Klausen 9d194efc9a ntnu-hexa-00x: Moved from lctr-b2xx to ntnu-b2xx 2015-12-22 21:15:07 +01:00
Kristian Klausen a02c06b55b ntnu-x8-002: Switch to new IP range (10.0.60.x) 2015-12-22 21:15:07 +01:00
Kristian Klausen c5ac20cc4c ntnu-x8-002: Set uart device tree file. Added packages libphidget, ethtool, socat. Removed libswiftnav. Added services for rtc, vsp_pairs, force_10mbit and rtklib_rtkrcv 2015-12-22 21:15:07 +01:00
Kristian Klausen ac8811ccef ntnu-x8-002: Moved from lctr-b2xx to ntnu-b2xx 2015-12-22 21:15:07 +01:00
Kristian Klausen 82c6769448 ntnu-nest-02: Moved to new IP range (10.0.60.x) 2015-12-22 21:15:07 +01:00
Kristian Klausen 0f7b1613b6 ntnu-nest-02: Added service rtklib_str2str, and removed package libswiftnav 2015-12-22 21:15:07 +01:00
Kristian Klausen 313cc1abc8 ntnu-nest-02: Added rtklib package, and set correct device tree file 2015-12-22 21:15:07 +01:00
Kristian Klausen 49e344be66 ntnu-nest-02: Moved from lctr-b2xx to ntnu-b2xx 2015-12-22 21:15:07 +01:00
Kristian Klausen b534d4d992 ntnu-b2xx: Added some services. (force_10mbit, rtc, rtklib, vsp_pair) 2015-12-22 21:15:04 +01:00
Kristian Klausen 87b021ab77 ntnu-b2xx: Added nescesarry configuration files 2015-12-22 20:48:06 +01:00
Kristian Klausen 6cb46ea056 .gitignore: Added ntnu-b2xx 2015-12-22 20:11:25 +01:00
Kristian Klausen fb15a41221 rtklib: Use updated git-hash with velocity info added 2015-12-22 20:09:17 +01:00
Kristian Klausen b41f62aca1 rtklib: Moved configuration file installation to /etc/rtklib 2015-12-22 20:09:04 +01:00
Kristian Klausen e8c8ef29b9 ntnu-b2xx: New folder for NTNU systems 2015-12-22 20:03:44 +01:00
Ricardo Martins bb98b140ba lauv-atom: added next generation LAUV CPU. 2015-12-22 17:51:06 +00:00
Ricardo Martins 06dbd478e3 gcc: added support for 64 bit libraries. 2015-12-22 17:50:07 +00:00
José Braga 34fb3c85c2 Fixed cfg_hostname variable in renamed mantas. 2015-12-22 16:38:32 +00:00
José Braga 2e512d38cf Renamed manta-9 to manta-dmsmw-01, manta-22 to manta-dmsmw-02, manta-23 to manta-dmsmw-03. 2015-12-22 16:37:52 +00:00
Ricardo Martins f0f20735fe glibc: upgraded to v2.22. 2015-12-21 14:52:20 +00:00
Ricardo Martins 8ff1bf1d76 gcc: upgraded to v4.9.3. 2015-12-21 12:39:28 +00:00
Ricardo Martins 6accae5757 busybox: upgraded to v1.24.1. 2015-12-21 12:39:16 +00:00
Ricardo Martins 8f19e7c93a binutils: upgraded to v2.25.1. 2015-12-21 12:39:00 +00:00
Ricardo Martins 90bda9a5c6 lctr-a9xx: disabked CONFIG_DEBUG_PINCTRL kernel option. 2015-12-21 12:32:58 +00:00
Ricardo Martins 35bfba1b11 lctr-a9xx: fixed UART1 setup. 2015-12-21 12:29:58 +00:00
Ricardo Martins f2a98f9654 lauv-aux-rpi: added option to use internal storage only. 2015-12-18 10:56:01 +00:00
Ricardo Martins 7577cd278a lauv-aux-rpi: do not unmount external storage if it does not exist. 2015-12-18 10:54:05 +00:00
Ricardo Martins 823ea58578 lauv-aux-rpi: added option to use internal storage only. 2015-12-18 10:51:00 +00:00
Ricardo Martins cdd4e61144 lctr-a6xx: backported v1.9.x configs. 2015-12-17 18:11:00 +00:00
Ricardo Martins cab7439296 boost: removed obsolete patch. 2015-12-17 17:30:20 +00:00
Ricardo Martins 8c45ce252c lctr-a6xx: enabled NFS client. 2015-12-17 16:28:30 +00:00
Ricardo Martins 38470c2340 mkpackage: added primary mirror (OceanScan-MST server). 2015-12-17 14:23:50 +00:00
Ricardo Martins c718a942c3 Started using date based versioning scheme. 2015-12-17 13:53:57 +00:00
Ricardo Martins a22c7ed60b db: updated url. 2015-12-17 13:53:36 +00:00
Ricardo Martins 06114dd484 linux: don't copy kernel file for distribution. 2015-12-17 13:52:44 +00:00
Ricardo Martins 2685c24f42 libpng: upgraded to v1.6.19. 2015-12-17 13:51:29 +00:00
Ricardo Martins 188d926e1e openssl: upgraded to v1.0.2e. 2015-12-17 13:51:15 +00:00
Ricardo Martins 3b77d530dc rtl-sdr: removed obsolete package. 2015-12-17 13:50:08 +00:00
Ricardo Martins aea118b878 perl-modules: removed obsolete package. 2015-12-17 13:49:59 +00:00
Ricardo Martins adb9286caa muparser: removed obsolete package. 2015-12-17 13:49:50 +00:00
Ricardo Martins 93a5cf5a12 desert: removed obsolete package. 2015-12-17 12:43:41 +00:00
Ricardo Martins 6e025fac0f mcclibusb: upgraded to v1.09. 2015-12-16 17:44:23 +00:00
Ricardo Martins 8d90e03838 lctr-a9xx: added dnsmasq configuration. 2015-12-16 16:26:09 +00:00
Ricardo Martins 6ca98cb0a1 linux: upgraded to 3.14.57. 2015-12-16 15:55:55 +00:00
Ricardo Martins 75e6b2b07d dosfstools: upgraded to v3.0.28. 2015-12-16 15:55:35 +00:00
José Braga 5c80630ba7 glued-check-sources: added check for ftp protocol. 2015-12-11 18:32:10 +00:00
José Braga cb201ab833 glued-check-sources: added script to verify available sources. 2015-12-11 17:37:18 +00:00
José Braga 8d03c57239 dosfstools: use version variable. 2015-12-11 16:23:40 +00:00
José Braga e1f1290809 dosfstools: fixed broken URL. 2015-12-11 16:06:25 +00:00
Ricardo Martins 3a9a91d06e mcclibusb: upgraded to v1.08. 2015-11-18 11:02:54 +00:00
Ricardo Martins 329d92fbbc lctr-a6xx: brought lauv-storage-client from branch 1.9.x 2015-11-16 11:45:06 +00:00
Ricardo Martins ab6c5f7927 dnsmasq: added service script. 2015-11-16 11:42:08 +00:00
Ricardo Martins f0db652d81 lctr-a6xx: reboot in 5 seconds after a kernel panic. 2015-11-16 11:41:22 +00:00
Ricardo Martins 42e277e24f nfs-utils: cleanup to match branch 1.9.x. 2015-11-16 11:40:59 +00:00
Ricardo Martins a3512efa21 filesystem: cleanup to match branch 1.9.x 2015-11-16 11:40:46 +00:00
Ricardo Martins 136c9ae48b dnsmasq: install filesystem files. 2015-11-16 11:40:29 +00:00
Ricardo Martins bbac306988 libusb: disabled concurrent build. 2015-11-04 14:28:22 +00:00
Ricardo Martins d82a072036 i2c-tools: updated package url. 2015-11-03 14:28:22 +00:00
Ricardo Martins 6239ec2931 Merge pull request #15 from krisklau/pr/feature/ethtool
ethtool: Added ethtool package
2015-10-27 15:52:18 +00:00
Ricardo Martins c617d028d3 Merge pull request #16 from krisklau/pr/feature/rtklib
rtklib: Added new package. Installs str2str and rtkrcv
2015-10-27 15:46:49 +00:00
Kristian Klausen ec55819469 rtklib: Added new package. Installs str2str and rtkrcv 2015-10-27 16:08:07 +01:00
Ricardo Martins ed9e3393d1 fconfig: removed obsolete package. 2015-10-26 18:00:39 +00:00
Ricardo Martins 85a1378b8f dtn: removed obsolete package. 2015-10-26 17:58:12 +00:00
Ricardo Martins 2c17a66e08 oasys: removed obsolete package. 2015-10-26 17:58:03 +00:00
Ricardo Martins 9a91ede3c6 xerces-c: removed obsolete package. 2015-10-26 17:57:52 +00:00
Ricardo Martins ed40748169 db: upgraded to v4.8.30. 2015-10-26 17:56:05 +00:00
Ricardo Martins a3301165c1 apr: fixed MD5. 2015-10-26 17:55:54 +00:00
Ricardo Martins 19f0bb64ea apr-util: fixed MD5. 2015-10-26 17:55:49 +00:00
Ricardo Martins a894c5ba33 spidermonkey: changed download URL. 2015-10-26 17:44:32 +00:00
Ricardo Martins 60606194dd libpng: upgraded to v1.6.18. 2015-10-26 17:44:18 +00:00
Ricardo Martins 0e10ec5c26 apr: replaced download URL. 2015-10-26 17:43:54 +00:00
Ricardo Martins f5b5040f5b apr-util: replaced download URL. 2015-10-26 17:43:50 +00:00
Ricardo Martins aaecdeb071 ppp: changed URL to HTTP. 2015-10-26 17:37:31 +00:00
Ricardo Martins f5b6dedad9 netperf: upgraded to v2.7.0. 2015-10-26 17:33:56 +00:00
Kristian Klausen 0a087bbaa8 ethtool: Added ethtool package 2015-10-26 17:54:14 +01:00
Ricardo Martins dd33112a94 Merge pull request #13 from kcisek/master
Configuration changes in ntnu-x8-003, ntnu-x8-004, and ntnu-x8-005.
2015-10-26 16:37:21 +00:00
Ricardo Martins b21b36718b Merge pull request #14 from krisklau/pr/feature/libphidget
Pr/feature/libphidget
2015-10-26 16:32:28 +00:00
Kristian Klausen e231a507e1 libphidget: Changed to libusb from obsolete libusbx 2015-10-26 17:29:50 +01:00
Kristian Klausen 8d348881ab libphidget: Added package libphidget, support for phidgets 2015-10-26 17:29:37 +01:00
Ricardo Martins b188c773b3 lctr-a6xx: added coreboot-lsts and emm-8p-xt-eeprom to list of default packages. 2015-10-26 16:25:32 +00:00
Ricardo Martins e20bb0082a emm-8p-xt-eeprom: added package to configure Diamond Systems EMM-8P-XT board. 2015-10-26 16:25:08 +00:00
Ricardo Martins d7627a9b36 coreboot-lsts: added package. 2015-10-26 16:10:03 +00:00
Ricardo Martins 8837ab35e8 mkdisk: attach and detach loop device after each operation. 2015-10-02 12:38:23 +01:00
Ricardo Martins 1afee2214f Merge branch 'feature/escc-update' into lsts-master 2015-09-30 18:08:21 +01:00
Ricardo Martins e3731bdaa7 escc: updated package to match 1.9.x developments. 2015-09-30 18:08:10 +01:00
José Braga 6ee7cf59ba i2c-tools: updated source URL. 2015-09-29 17:03:58 +01:00
Ricardo Martins 3c728953b2 mcclibusb: added package. 2015-09-28 16:12:18 +01:00
Ricardo Martins 207baf47d5 systemd: added package. 2015-09-28 16:12:18 +01:00
Ricardo Martins 89ac709159 hidapi: added package. 2015-09-28 16:12:18 +01:00
Ricardo Martins 8f7fc2b452 kmod: upgraded to v21, added support for target builds. 2015-09-28 16:12:18 +01:00
Ricardo Martins 342137c4a7 libtool: added package. 2015-09-28 16:12:18 +01:00
Ricardo Martins e31403f964 libcap: added package. 2015-09-28 16:12:18 +01:00
Ricardo Martins 26644c1ced kmod: upgraded to v21, added support for target builds. 2015-09-28 16:12:18 +01:00
Ricardo Martins 646f3049a7 util-linux: added ncurses as a build requirement. 2015-09-28 16:12:18 +01:00
Ricardo Martins b48bc59ee4 gperf: added package. 2015-09-28 16:12:18 +01:00
José Braga 8e51b2b405 lctr-a9xx: added manta-23. 2015-09-28 15:37:12 +01:00
José Braga 7e75f00332 lctr-a9xx: added manta-22. 2015-09-28 15:37:03 +01:00
José Braga d5df6f7836 Replaced BBB with RPI2 in lauv-xplore-1. 2015-09-28 15:35:45 +01:00
Ricardo Martins 0dc1c507f2 Merge branch 'feature/libusb' 2015-09-28 10:54:10 +01:00
Ricardo Martins 2d624a72f3 rtl-sdr: replaced libusbx with libusb. 2015-09-28 10:53:56 +01:00
Ricardo Martins d1ab406c20 usbutils: replaced libusbx with libusb. 2015-09-28 10:53:39 +01:00
Ricardo Martins b637b297e1 uswitch: replaced libusbx with libusb. 2015-09-28 10:53:21 +01:00
Ricardo Martins d269ef392c libusb-compat: updated to version 0.1.5. 2015-09-28 10:52:45 +01:00
Ricardo Martins b42267f548 libusb: added package. 2015-09-28 10:52:17 +01:00
Ricardo Martins ecfb7619c0 libusbx: removed obsolete package. 2015-09-28 10:51:49 +01:00
Krzysztof Cisek bd5e01fe71 003 and 005 configuration 2015-09-11 05:54:12 +02:00
Ricardo Martins 466a53c1f3 nfs: fixed statd run mode. 2015-09-09 16:10:04 +01:00
Krzysztof Cisek 086b84253d configuration changes in ntnu-x8-004 2015-09-04 23:05:07 +02:00
Ricardo Martins cf11934132 openssl: use HTTP url. 2015-09-04 20:47:29 +01:00
Ricardo Martins 779283c960 sshpass: added rules. 2015-09-04 17:56:51 +01:00
Ricardo Martins a4bcbfa5f9 openvpn: added OpenVPN. 2015-09-04 17:46:53 +01:00
Ricardo Martins 21afcd8566 lzo: added default rule. 2015-09-04 17:46:37 +01:00
Ricardo Martins 8aaf72cd19 openssh: added OpenSSH. 2015-09-04 17:35:45 +01:00
Ricardo Martins c92da8191e openssl: updated rules and version to 1.0.2d. 2015-09-04 17:35:31 +01:00
Ricardo Martins 27c5f2764d mpfr: upgraded to v3.1.3. 2015-09-04 16:10:37 +01:00
Ricardo Martins 0a6ba4ef78 lauv-aux: export NFS filesystems in async mode. 2015-09-04 16:03:04 +01:00
Jose Pinto d1474af68a Added Java 8 (armhf). 2015-07-29 10:45:30 +01:00
Ricardo Martins 347b99e4ab gdb: use GLUED termcap. 2015-07-24 15:21:14 +01:00
Ricardo Martins 0805319ae0 pkg-config: fixed commit 7312395055. 2015-07-24 14:48:11 +01:00
Ricardo Martins 2fb3283c8c Added lauv-aux-rpi to list of ignored folders. 2015-07-24 14:45:24 +01:00
José Braga c06e6bde52 lctr-a9xx: Added configuration for manta-21. 2015-06-29 18:23:56 +01:00
Ricardo Martins 49a5682de1 architectures: added Cortex A9. 2015-06-29 17:27:03 +01:00
Ricardo Martins 9c34ddfb81 lauv-aux-rpi: use async nfs server. 2015-06-29 17:23:55 +01:00
Ricardo Martins 756705da70 lauv-aux-rpi: optimized for performance. 2015-06-29 17:23:41 +01:00
Ricardo Martins d5f146d6d6 nfs-utils: upgraded to 1.3.2. 2015-06-29 17:23:18 +01:00
Ricardo Martins 900e6ae753 linux: fixed check for initramfs_init.sh. 2015-06-29 17:23:00 +01:00
Jose Pinto 7312395055 pkg-config: Added flag to use bundled libraries. 2015-06-27 14:42:04 +01:00
Jose Pinto 78ddba34e6 Added configuration files for lauv-xplore-2. 2015-06-23 15:07:56 +01:00
Jose Pinto d95b1c8287 Config: Added system configuration for lauv-xplore-2-aux. 2015-06-15 10:49:21 +01:00
Jose Pinto 023e27ebbf Boost: Library updated to version 1.55. 2015-06-14 10:17:47 +01:00
Renato Caldas a9b52e2436 otcl: added tk to the package dependencies 2015-06-07 19:12:55 +01:00
Ricardo Martins d9d9e0d249 rpi-boot-firmware: quiet kernel boot. 2015-06-03 17:13:34 +01:00
Ricardo Martins c633c1963f rpi-boot-firmware: increased maximum clock frequency to 1 GHz. 2015-06-03 17:13:15 +01:00
Ricardo Martins 1a1b504676 ncurses: fixed build with gcc 5. 2015-06-03 17:12:41 +01:00
Ricardo Martins 1873f904dd lauv-aux-rpi: added lauv-aux variant using a Raspberry Pi 2. 2015-06-03 16:45:47 +01:00
Ricardo Martins bb4485ec29 linux: Added Raspberry Pi kernel. 2015-06-03 16:45:06 +01:00
Ricardo Martins 6f91d5c6e5 rpi-boot-firmware: added Raspberry Pi boot firmware. 2015-06-03 15:58:20 +01:00
Ricardo Martins cfbf86afe3 mkdisk: added support for Rasperry Pi Bootloader. 2015-06-03 15:57:54 +01:00
Ricardo Martins 974a888f55 filesystem: added loop to probe for eth0 device. 2015-06-03 15:57:53 +01:00
Ricardo Martins 4b0d068287 e2fsprogs: upgraded to v1.42.13. 2015-06-03 14:04:02 +01:00
Ricardo Martins 14e91089fb pkg-config: upgraded to v0.28. 2015-06-03 14:03:51 +01:00
Renato Caldas f2b07a7ab8 ntp: updated source URL. 2015-04-28 17:31:41 +01:00
Renato Caldas 67d24b316f make: create symlink gmake->make. 2015-04-07 14:21:22 +01:00
Renato Caldas ac1ee7efd9 opencv: updated to version 2.4.11. 2015-03-17 18:06:10 +00:00
Renato Caldas 419d313a0c ffmpeg: fix install location for pkg-config files. 2015-03-17 15:50:29 +00:00
Renato Caldas 03713da7e2 ffmpeg: install headers on the proper location. 2015-03-17 15:05:08 +00:00
Renato Caldas 27818fd3f7 ffmpeg: updated to version 2.6 2015-03-17 15:05:08 +00:00
Ricardo Martins 94e05e581f nfs-utils: install empty exports. 2015-03-16 12:29:01 +00:00
Ricardo Martins 94c685de8f lauv-aux: added storage server script. 2015-03-16 11:10:20 +00:00
Renato Caldas d5f8a21580 lauv-xtreme-2-doam: added libexif to the packages. 2015-03-06 14:06:33 +00:00
Renato Caldas f022a98f07 lauv-noptilus-3-aux: added libexif to the packages. 2015-03-06 14:05:13 +00:00
Renato Caldas dbe5e873ab libexif: added package. 2015-03-06 14:01:44 +00:00
mariacosta 01ec09831e lctr-b2xx: Create aero-01. 2015-02-13 15:40:30 +00:00
Ricardo Martins 4b2daa4ef8 lauv-aux: improved eMMC detection. 2015-02-12 15:10:35 +00:00
Ricardo Martins caef675567 lauv-aux: added dosfstools. 2015-02-08 20:54:08 +00:00
Ricardo Martins dc9a0be12f e2fsprogs: added mkfs.* and fsck.* symlinks. 2015-02-08 20:53:58 +00:00
Ricardo Martins 3cfd62da49 dosfstools: added target rules. 2015-02-08 20:53:36 +00:00
Ricardo Martins 7e2a4f9e0c nfs-utils: install init script. 2015-02-08 20:27:43 +00:00
Ricardo Martins b19eb70d84 filesystem: improved beaglebone bootloader upgrade. 2015-02-08 20:23:40 +00:00
Ricardo Martins 2ab3dadef9 lauv-aux: added rpcbind and nfs-utils. 2015-02-08 20:10:08 +00:00
Ricardo Martins fae2ab9bb4 Merge branch 'feature/toolchain-update' 2015-02-08 20:03:21 +00:00
Ricardo Martins 0d3903b374 rpcbind: added package. 2015-02-08 20:02:50 +00:00
Ricardo Martins a3ef5d1a7b nfs-utils: added NFS tools. 2015-02-08 20:02:35 +00:00
Ricardo Martins 4352339fe0 libtirpc: added library. 2015-02-08 20:02:18 +00:00
Ricardo Martins 2ccad90ad4 iana-etc: added full /etc/services. 2015-02-08 20:01:09 +00:00
Ricardo Martins cfaaaa1476 Ignored lauv-auv build. 2015-02-08 19:39:41 +00:00
Ricardo Martins 2c33d08785 lauv-aux: enabled NFS server and a few vfat codepages. 2015-02-08 19:33:04 +00:00
Ricardo Martins 02e988e4bd glibc: legacy RPC fixes. 2015-02-08 19:32:41 +00:00
Ricardo Martins a0052cbc1a lauv-aux: cleaned up warnings. 2015-02-08 18:57:00 +00:00
Ricardo Martins adda9f7614 lauv-aux: added new system type for LAUV's auxiliary and storage CPU. 2015-02-08 18:42:48 +00:00
Ricardo Martins 2cba596d8d linux: added support for initramfs script. 2015-02-08 18:41:53 +00:00
Ricardo Martins 0759db5937 linux: added support for initramfs script. 2015-02-08 18:41:17 +00:00
Ricardo Martins 40e67343ca busybox: added switch_root. 2015-02-08 18:40:57 +00:00
Ricardo Martins 8e96dcf771 filesystem: don't fail if /dev/pts exists. 2015-02-08 15:53:32 +00:00
Ricardo Martins bbbdb9d54e filesystem: mount devtmpfs if not already mounted. 2015-02-08 15:50:41 +00:00
Ricardo Martins 0456bd2193 qemu-i686: updated linux config. 2015-02-08 15:50:09 +00:00
Ricardo Martins 01135c56e3 qemu-i686: updated linux configuration. 2015-02-08 15:01:38 +00:00
Ricardo Martins cae6aa46ff glibc: upgraded to v2.21. 2015-02-08 13:31:42 +00:00
Ricardo Martins 08611f5df5 socat: upgraded to v1.7.3.0. 2015-02-08 13:31:24 +00:00
Ricardo Martins 5b78d1f5b5 eglibc: removed eglibc. 2015-02-05 13:48:45 +00:00
Ricardo Martins 722d66e44f gcc: replaced eglibc with glibc. 2015-02-05 13:48:29 +00:00
Ricardo Martins d803cebac2 architectures: added cortex-a8-hardfp. 2015-02-05 13:47:56 +00:00
Ricardo Martins 56d4d48814 Replaced eglibc with glibc. 2015-02-05 13:47:07 +00:00
Ricardo Martins b5e6423a35 glibc: removed locales rule. 2015-02-05 13:45:19 +00:00
Ricardo Martins 4bc42cd533 dropbear: upgraded to v2015.67. 2015-02-05 13:44:46 +00:00
Ricardo Martins 31d6679322 binutils: upgraded to v2.25. 2015-02-05 13:44:19 +00:00
Ricardo Martins 8c6f3dc50c gdb: upgraded to v7.8.2. 2015-02-05 13:44:03 +00:00
Ricardo Martins a677c5cde0 gcc: upgraded to v4.9.2. 2015-02-05 13:43:52 +00:00
Ricardo Martins 3ef893936b base: removed eglibc/locales. 2015-02-05 13:43:36 +00:00
Ricardo Martins d8049825b3 linux-headers: upgraded to 3.14.31. 2015-02-05 13:39:05 +00:00
Ricardo Martins bc74969ead gmp: updated URL. 2015-02-03 17:33:43 +00:00
Ricardo Martins ae17be3a42 isl: added host rule. 2015-02-03 17:32:53 +00:00
Ricardo Martins fca7f8bdcf cloog: added host rule. 2015-02-03 17:32:48 +00:00
Ricardo Martins 996d6a78eb pktoolchain: added prefix to base folder. 2014-12-14 21:24:44 +00:00
Ricardo Martins 597a4a709c lctr-b2xx: use mdev-ttyusb for ttyUSB serial ports. 2014-12-12 16:14:52 +00:00
Ricardo Martins 7a79621a3c leviathan: huawei and uswitch are no longer needed. 2014-12-12 16:14:31 +00:00
Ricardo Martins eee2296f59 filesystem: added script to create unique ttyUSB devices. 2014-12-12 16:13:58 +00:00
Ricardo Martins f1265e4e7a busybox: enabled 'stat' command. 2014-12-12 16:13:12 +00:00
Ricardo Martins 25856c4fb9 leviathan: updated services and packages. 2014-12-10 18:43:15 +00:00
Ricardo Martins 92a037b248 lctr-b2xx: added PPP to kernel. 2014-12-10 18:43:02 +00:00
Ricardo Martins cb8cc42660 leviathan: added huawei service. 2014-12-10 17:38:47 +00:00
Ricardo Martins 2ef9f90110 zip: update URL. 2014-12-09 21:28:32 +00:00
Ricardo Martins e43d6393e2 lctr-b2xx: create x8-03. 2014-11-25 17:34:22 +00:00
Ricardo Martins 20ccf0f4f7 lctr-b2xx: enabled UART2 by default. 2014-11-25 17:34:09 +00:00
Ricardo Martins 3d0a0d189b wget: upgraded to version 1.16 2014-11-04 09:23:05 +00:00
357 changed files with 45690 additions and 1915 deletions

6
.gitignore vendored
View File

@ -6,3 +6,9 @@
/lctr-b1xx
/lctr-b2xx
/qemu-i686
/lauv-aux
/lauv-aux-rpi
/ntnu-b2xx
/stamp9g20
/lctr-rpi
build.bash

View File

@ -0,0 +1,4 @@
cfg_target_canonical="armv5te-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mtune=arm926ej-s -mfloat-abi=soft'
cfg_target_gcc_configure_flags='--with-arch=armv5te --with-tune=arm926ej-s --with-float=soft'

View File

@ -0,0 +1,6 @@
cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm'
cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a72 -mtune=cortex-a72 -mfloat-abi=hard -mfpu=neon-fp-armv8'
cfg_target_gcc_configure_flags='--with-cpu=cortex-a72 --with-tune=cortex-a72 --with-fpu=neon-fp-armv8 --with-float=hard'
cfg_target_ar_flags='aarch64-elf'

View File

@ -0,0 +1,6 @@
cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabihf"
cfg_target_linux='arm'
cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=hard -mfpu=vfpv3'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=cortex-a8 --with-tune=cortex-a8 --with-fpu=vfpv3 --with-float=hard'
cfg_target_ar_flags='elf32-littlearm'

View File

@ -0,0 +1,6 @@
cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabihf"
cfg_target_linux='arm'
cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a9 -mtune=cortex-a9 -mfloat-abi=hard -mfpu=vfpv3'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=cortex-a9 --with-tune=cortex-a9 --with-fpu=vfpv3 --with-float=hard'
cfg_target_ar_flags='elf32-littlearm'

View File

@ -2,4 +2,4 @@ cfg_target_canonical="i586-$cfg_glued_vendor-linux-gnu"
cfg_target_linux='x86'
cfg_target_gcc_configure_flags='--with-arch=i586 --with-cpu=i586 --with-tune=i586'
cfg_target_gcc_flags='-O2 -pipe -march=i586 -funit-at-a-time'
cfg_target_eglibc_configure_flags='--with-cpu=i586'
cfg_target_glibc_configure_flags='--with-cpu=i586'

View File

@ -2,5 +2,5 @@ cfg_target_canonical="i686-$cfg_glued_vendor-linux-gnu"
cfg_target_linux='x86'
cfg_target_gcc_flags='-O2 -pipe -march=i686 -funit-at-a-time'
cfg_target_gcc_configure_flags='--with-cpu=i686'
cfg_target_eglibc_configure_flags='--with-cpu=i686'
cfg_target_glibc_configure_flags='--with-cpu=i686'
cfg_target_linux_kernel='arch/x86/boot/bzImage'

View File

@ -2,4 +2,4 @@ cfg_target_canonical="mipsisa32r2-$cfg_glued_vendor-linux-gnu"
cfg_target_linux='mips'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mabi=32 -mips32r2 -mtune=mips32r2 -msoft-float'
cfg_target_gcc_configure_flags='--with-abi=32 --with-tune=mips32r2 --with-float=soft'
cfg_target_eglibc_configure_flags='--without-fp'
cfg_target_glibc_configure_flags='--without-fp'

38
docker/Dockerfile Normal file
View File

@ -0,0 +1,38 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
###########################################################################
# 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 2 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, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
FROM debian:8
MAINTAINER Ricardo Martins <rasm@oceanscan-mst.com>
ENV DEBIAN_FRONTEND noninteractive
# Update distro.
RUN apt-get update -y
RUN apt-get dist-upgrade -y
RUN apt-get install -y wget
RUN apt-get install -y bzip2
RUN apt-get install -y git
RUN apt-get install -y g++-multilib
RUN apt-get install -y cmake
RUN apt-get install -y file
RUN apt-get install -y kmod

32
docker/Makefile Normal file
View File

@ -0,0 +1,32 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
###########################################################################
# 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 2 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, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
TAG := glued
VERSION := 2016.05.0
VOLUME := $(CURDIR)/..
DNS := 8.8.8.8
all:
docker build -t $(TAG):$(VERSION) .
shell:
docker run -w $(VOLUME) --dns=$(DNS) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)

View File

@ -1,6 +1,6 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -40,3 +40,15 @@ err()
{
echo -e "[$(date +"%Y-%m-%d %H:%M:%S")] \033[0m\033[1;31mERROR: $*\033[0m"
}
ucat()
{
case "$1" in
*.gz)
zcat "$1"
;;
*)
cat "$1"
;;
esac
}

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -23,7 +23,7 @@
###########################################################################
# Config: GLUED version.
cfg_glued_version='1.12.x'
cfg_glued_version='2017.11'
# Config: GLUED vendor.
cfg_glued_vendor='lsts'
@ -166,6 +166,19 @@ if [ -z $cfg_toolchain_tar ]; then
cfg_toolchain_tar="$cfg_dir_base/$cfg_sys_family/glued-$cfg_glued_version-$cfg_sys_family-toolchain-$cfg_host_canonical-$cfg_target_canonical.tar.bz2"
fi
# Config: Git revision.
git_branch=$(echo $(git rev-parse --symbolic-full-name --abbrev-ref HEAD 2> /dev/null))
git_revision=$(echo $(git rev-parse --short HEAD 2> /dev/null))
git_status=$(echo $(git status -s 2> /dev/null))
if [ -z "$git_branch" ] || [ -z "$git_revision" ]; then
cfg_glued_git_version='unknown'
else
cfg_glued_git_version="$git_branch-$git_revision"
if [ -n "$git_status" ]; then
cfg_glued_git_version="$cfg_glued_git_version-dirty"
fi
fi
if ! [ -d "$cfg_sys_family" ]; then
mkdir -p "$cfg_sys_family"
fi &&

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -24,16 +24,16 @@
cmd_parted()
{
dev="$1"; shift
"$cmd_parted" "$dev" -a cylinder -s -- $@
bdev="$1"; shift
"$cmd_parted" "$bdev" -a cylinder -s -- $@
}
cmd_mount()
{
fs="$1"
dev="$2"
bdev="$2"
mkdir -p mount &&
mount -t "$fs" "$dev" mount
mount -t "$fs" "$bdev" mount
}
cmd_unmount()
@ -47,7 +47,7 @@ cmd_unmount()
die()
{
umount mount > /dev/null 2>&1
umount -v mount > /dev/null 2>&1
rmdir mount > /dev/null 2>&1
[ -n "$dev_loop" ] && losetup -d "$dev_loop"
exit 1
@ -84,6 +84,44 @@ create_part_xboot()
cmd_parted "$dev_loop" print > /dev/null
}
create_part_rpiboot()
{
nfo1 "RPi-Boot partition ($part_label)"
nfo2 "Creating partition"
cmd_parted "$dev_loop" \
mkpart primary fat32 "$part_start" "$part_end" \
set "$part_nr" boot on \
align-check minimal "$part_nr" \
|| die
nfo2 "Creating filesystem"
$cmd_mkdosfs -n "$part_label" "$part_dev" > /dev/null || die
nfo2 "Populating filesystem"
cmd_mount vfat "$part_dev" || die
for f in "$cfg_sys_family/rootfs/boot/"*; do
nfo2 installing $f to boot partition
cp -r "$f" mount || die
done
nfo2 renaming kernel to kernel7.img
mv mount/kernel mount/kernel7.img
if [ -f mount/board.dtb ]; then
dtb=$(basename "$cfg_target_linux_dtb")
nfo2 renaming board.dtb to "$dtb"
mv "mount/board.dtb" "mount/$dtb"
fi
cmd_parted "$dev_loop" \
set "$part_nr" lba on \
|| die
cmd_parted "$dev_loop" print > /dev/null
}
create_part_root()
{
nfo1 "Root partition ($part_label)"
@ -217,27 +255,46 @@ if [ -z "$cfg_partitions" ]; then
)
fi
# Loop device.
dev_loop="$(losetup -f)"
cmd_loop_attach()
{
export dev="$1"
export dev_loop="$(losetup -f)"
nfo1 "Attaching $dev to $dev_loop"
losetup -v "$dev_loop" "$dev"
if [ $? -ne 0 ]; then
nfo1 "Attaching $dev to $dev_loop"
losetup -v "$dev_loop" "$dev"
if [ $? -ne 0 ]; then
unset dev_loop
die
fi
}
cmd_loop_detach()
{
nfo1 "Detaching $dev_loop"
sync && sync && sync && sync
blockdev --flushbufs "$dev_loop"
losetup -v -d "$dev_loop"
sync && sync && sync && sync
unset dev_loop
die
fi
}
nfo1 "Obliterating partition table"
cmd_loop_attach "$dev"
dd if=/dev/zero of="$dev_loop" bs=1 count=1M count=32 > /dev/null 2>&1 || die
losetup -a
cmd_loop_detach
losetup -a
nfo1 "Creating empty partition table"
cmd_parted "$dev_loop" \
mklabel msdos \
|| die
cmd_loop_attach "$dev"
cmd_parted "$dev_loop" mklabel msdos || die
cmd_loop_detach
part_nr=1
xboot_system_id=0
for ((i = 0; i < ${#cfg_partitions[@]}; i += 4)); do
cmd_loop_attach "$dev"
part_type="${cfg_partitions[$i+0]}"
part_label="${cfg_partitions[$i+1]}"
part_start="${cfg_partitions[$i+2]}"
@ -249,6 +306,10 @@ for ((i = 0; i < ${#cfg_partitions[@]}; i += 4)); do
create_part_xboot
xboot_system_id=1
;;
'rpi-boot')
create_part_rpiboot
xboot_system_id=1
;;
'root')
create_part_root
;;
@ -261,22 +322,23 @@ for ((i = 0; i < ${#cfg_partitions[@]}; i += 4)); do
;;
esac
cmd_loop_detach
let part_nr++
done
if [ -f "$cfg_sys_family/rootfs/boot/extlinux/mbr.bin" ]; then
nfo1 "Installing bootloader in MBR..."
cmd_loop_attach "$dev"
dd if="$cfg_sys_family/rootfs/boot/extlinux/mbr.bin" of="$dev_loop" > /dev/null 2>&1
cmd_loop_detach
fi
nfo1 "Synchronizing caches"
sync && sync && sync && sync && sync && sync
blockdev --flushbufs "$dev_loop" || die
# Make sure the partition has 0x0e type.
if [ $xboot_system_id -eq 1 ]; then
cmd_loop_attach "$dev"
echo -en "t\n1\ne\nw\n" | $cmd_fdisk "$dev_loop" > /dev/null 2>&1
cmd_loop_detach
fi
nfo1 "Detaching loop device $dev_loop"
losetup -v -d "$dev_loop"

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -31,11 +31,12 @@ download_tool()
return 0
fi
curl -C - "$1" -o "$2"
curl -f -C - "$1" -o "$2"
if [ $? -eq 0 ]; then
return 0
fi
rm -f "$2"
return 1
}
@ -56,6 +57,7 @@ md5sum_tool()
download()
{
n=0; while [ -n "${url[$n]}" ]; do
u="${url[$n]}"
s="${md5[$n]}"
file=$(basename "$u")
@ -69,11 +71,22 @@ download()
fi
fi
download_tool "$u" "$cfg_dir_downloads/$file"
# First try LSTS mirror.
lsts_url="https://www.lsts.pt/glued/$(basename $u)"
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
echo "ERROR: download failed"
exit 1
fi
# Then try OceanScan-MST mirror.
omst_url="http://www.omst.pt/glued/$(basename $u)"
download_tool "$omst_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
# On failure try upstream URL.
download_tool "$u" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
echo "ERROR: download failed"
exit 1
fi
fi
fi
md5="$(md5sum_tool "$cfg_dir_downloads/$file")"
if [ "$s" != "$md5" ]; then

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

68
mkupdate.bash Executable file
View File

@ -0,0 +1,68 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# 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 2 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, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Tiago Marques #
###########################################################################
update_tool()
{
rsync -v "$1" root@"$2":/opt/"$cfg_glued_vendor"/glued/
if [ $? -eq 0 ]; then
return 0
fi
scp "$1" root@"$2":/opt/"$cfg_glued_vendor"/glued/
if [ $? -eq 0 ]; then
return 0
fi
return 1
}
# Check command line arguments.
if [ $# -lt 1 ]; then
echo "Usage: $0 <config>"
exit 1
fi
# Read system configuration file.
if ! [ -f "$1" ]; then
echo -e "\e[1;31mERROR: invalid configuration file '$1'\e[0m"
exit 1
fi
# Read system configuration file.
source "$1"
if [ ! -f "$cfg_rootfs_tar" ];
then
echo -e "\e[1;31mERROR: You should run ./pkrootfs $1\e[0m"
exit 1
fi
# check for dirty repo
if [[ "$cfg_glued_git_version" =~ .*-dirty$ ]]
then
echo -e "\e[1;31mThis glued's version is dirty\e[0m"
fi
# send package to the system
update_tool "$cfg_rootfs_tar" "$cfg_eth_ext_ip"

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -60,7 +60,7 @@ done
# Copy DTB.
if [ -n "$cfg_target_linux_dtb" ]; then
cp -v "$cfg_dir_toolchain/boot/$(basename $cfg_target_linux_dtb)" "$cfg_dir_rootfs/boot/board.dtb"
cp -v "$cfg_dir_rootfs/boot/$(basename $cfg_target_linux_dtb)" "$cfg_dir_rootfs/boot/board.dtb"
fi
# Write config vars.

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -40,10 +40,13 @@ fi
source "$1"
toolchain_prefix="glued-$cfg_glued_version-$cfg_sys_family-toolchain-$cfg_host_canonical-$cfg_target_canonical"
tar \
-v \
-j \
-c \
--transform="s,^\./,$toolchain_prefix/," \
-C "$cfg_dir_toolchain" \
-f "$cfg_toolchain_tar" \
.

View File

@ -5,12 +5,12 @@ version=\
url=\
(
"http://www.eu.apache.org/dist/apr/apr-util-$version.tar.bz2"
"http://archive.apache.org/dist/apr/apr-util-$version.tar.bz2"
)
md5=\
(
'89c1348aa79e898d7c34a6206311c9c2'
'6f3417691c7a27090f36e7cf4d94b36e'
)
maintainer=\

View File

@ -5,7 +5,7 @@ version=\
url=\
(
"http://www.eu.apache.org/dist/apr/apr-util-$version.tar.bz2"
"http://archive.apache.org/dist/apr/apr-util-$version.tar.bz2"
)
md5=\

View File

@ -5,12 +5,12 @@ version=\
url=\
(
"http://www.eu.apache.org/dist/apr/apr-$version.tar.bz2"
"http://archive.apache.org/dist/apr/apr-$version.tar.bz2"
)
md5=\
(
'ffee70a111fd07372982b0550bbb14b7'
'5486180ec5a23efb5cae6d4292b300ab'
)
maintainer=\

View File

@ -5,7 +5,7 @@ version=\
url=\
(
"http://mirror.nohup.it/apache/apr/apr-$version.tar.bz2"
"http://archive.apache.org/dist/apr/apr-$version.tar.bz2"
)
md5=\
@ -15,7 +15,6 @@ md5=\
# @todo patch.
configure()
{
cd apr-${version}

View File

@ -4,6 +4,5 @@ requires=\
(
'base/host'
'gcc/cross'
'eglibc/locales'
'gdb/cross'
)

View File

@ -4,5 +4,6 @@ requires=\
(
'base/host'
'base/cross'
'iana-etc/default'
'filesystem/target'
)

View File

@ -26,4 +26,5 @@ requires=\
'parted/host'
'dosfstools/host'
'e2fsprogs/host'
'cmake/host'
)

View File

@ -1,6 +1,6 @@
version=\
(
"2.22"
'2.25.1'
)
url=\
@ -10,30 +10,26 @@ url=\
md5=\
(
"ee0f10756c84979622b992a4a61ea3f5"
'ac493a78de4fee895961d025b7905be4'
)
maintainer=\
(
"Ricardo Martins <rasm@fe.up.pt>"
'Ricardo Martins <rasm@fe.up.pt>'
)
build_dir=$pkg_var
configure()
{
../binutils-$version/configure $extra_flags \
--prefix=$cfg_dir_toolchain \
--target=${cfg_target_canonical} \
--host=${cfg_host_canonical} \
--build=${cfg_host_canonical} \
--with-sysroot=$cfg_dir_toolchain_sysroot \
--with-mpfr=${cfg_dir_toolchain} \
--with-gmp=${cfg_dir_toolchain} \
--with-mpc=${cfg_dir_toolchain} \
--disable-nls \
--disable-werror \
--disable-multilib
"../binutils-$version/configure" \
--prefix="$cfg_dir_toolchain" \
--target="$cfg_target_canonical" \
--host="$cfg_host_canonical" \
--build="$cfg_host_canonical" \
--with-sysroot="$cfg_dir_toolchain_sysroot" \
--disable-multilib \
--disable-nls
}
build()
@ -43,6 +39,5 @@ build()
host_install()
{
$cmd_make install
rm -rf $cfg_dir_toolchain/{info,man}
$cmd_make install-strip
}

View File

@ -1,6 +1,6 @@
version=\
(
"1.53.0"
"1.55.0"
)
vendor_version="$(echo $version | tr . _)"
@ -17,7 +17,7 @@ maintainer=\
md5=\
(
"a00d22605d5dbcfb4c9936a9b35bc4c2"
"d6eef4b4cacb2183f2bf265a5a03a354"
)
requires=\
@ -37,7 +37,8 @@ configure()
{
cd "../boost_$vendor_version" &&
./bootstrap.sh \
--with-icu="$cfg_dir_toolchain_sysroot/usr"
--with-icu="$cfg_dir_toolchain_sysroot/usr" \
--with-libraries="regex,filesystem,system,thread"
GXX_VER=$(${cmd_target_cxx} -dumpversion)
echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam

View File

@ -1,11 +0,0 @@
--- boost_1_47_0/boost/config/stdlib/libstdcpp3.hpp 2011-04-25 14:10:48.000000000 +0200
+++ boost_1_47_0/boost/config/stdlib/libstdcpp3.hpp 2013-04-08 16:26:05.222543782 +0200
@@ -33,7 +33,7 @@
#ifdef __GLIBCXX__ // gcc 3.4 and greater:
# if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \
- || defined(_GLIBCXX__PTHREADS)
+ || defined(_GLIBCXX__PTHREADS) || defined(_GLIBCXX_HAS_GTHREADS)
//
// If the std lib has thread support turned on, then turn it on in Boost
// as well. We do this because some gcc-3.4 std lib headers define _REENTANT

View File

@ -1,16 +1,16 @@
version=\
(
'1.5'
'1.6'
)
url=\
(
"http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$version.tar.gz"
"http://www.kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils-$version.tar.gz"
)
md5=\
(
'ec7b381160b340648dede58c31bb2238'
'f369e90e85e4bb46baa26a7b9d66b578'
)
maintainer=\

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.20.2
# Tue May 14 09:03:37 2013
# Busybox version: 1.24.1
# Tue Apr 5 18:00:54 2016
#
CONFIG_HAVE_DOT_CONFIG=y
@ -36,12 +36,15 @@ CONFIG_LAST_SUPPORTED_WCHAR=767
# CONFIG_UNICODE_BIDI_SUPPORT is not set
# CONFIG_UNICODE_NEUTRAL_TABLE is not set
# CONFIG_UNICODE_PRESERVE_BROKEN is not set
# CONFIG_PAM is not set
CONFIG_FEATURE_USE_SENDFILE=y
CONFIG_LONG_OPTS=y
CONFIG_FEATURE_DEVPTS=y
# CONFIG_FEATURE_CLEAN_UP is not set
# CONFIG_FEATURE_UTMP is not set
# CONFIG_FEATURE_WTMP is not set
# CONFIG_FEATURE_PIDFILE is not set
CONFIG_PID_FILE_PATH=""
CONFIG_FEATURE_SUID=y
# CONFIG_FEATURE_SUID_CONFIG is not set
# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
@ -72,6 +75,7 @@ CONFIG_EXTRA_LDLIBS=""
#
# CONFIG_DEBUG is not set
# CONFIG_DEBUG_PESSIMIZE is not set
# CONFIG_UNIT_TEST is not set
# CONFIG_WERROR is not set
CONFIG_NO_DEBUG_LIB=y
# CONFIG_DMALLOC is not set
@ -96,6 +100,7 @@ CONFIG_PREFIX="./_install"
CONFIG_FEATURE_RTMINMAX=y
CONFIG_PASSWORD_MINLEN=6
CONFIG_MD5_SMALL=1
CONFIG_SHA3_SMALL=1
CONFIG_FEATURE_FAST_TOP=y
# CONFIG_FEATURE_ETC_NETWORKS is not set
CONFIG_FEATURE_USE_TERMIOS=y
@ -133,7 +138,14 @@ CONFIG_FEATURE_SEAMLESS_BZ2=y
# CONFIG_AR is not set
# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
# CONFIG_FEATURE_AR_CREATE is not set
# CONFIG_UNCOMPRESS is not set
CONFIG_GUNZIP=y
CONFIG_BUNZIP2=y
# CONFIG_UNLZMA is not set
# CONFIG_FEATURE_LZMA_FAST is not set
# CONFIG_LZMA is not set
CONFIG_UNXZ=y
CONFIG_XZ=y
# CONFIG_BZIP2 is not set
# CONFIG_CPIO is not set
# CONFIG_FEATURE_CPIO_O is not set
@ -141,10 +153,10 @@ CONFIG_BUNZIP2=y
# CONFIG_DPKG is not set
# CONFIG_DPKG_DEB is not set
# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set
CONFIG_GUNZIP=y
# CONFIG_GZIP is not set
# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set
CONFIG_GZIP_FAST=0
# CONFIG_FEATURE_GZIP_LEVELS is not set
# CONFIG_LZOP is not set
# CONFIG_LZOP_COMPR_HIGH is not set
# CONFIG_RPM2CPIO is not set
@ -161,12 +173,6 @@ CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
# CONFIG_FEATURE_TAR_UNAME_GNAME is not set
# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set
# CONFIG_FEATURE_TAR_SELINUX is not set
# CONFIG_UNCOMPRESS is not set
# CONFIG_UNLZMA is not set
# CONFIG_FEATURE_LZMA_FAST is not set
# CONFIG_LZMA is not set
CONFIG_UNXZ=y
CONFIG_XZ=y
# CONFIG_UNZIP is not set
#
@ -178,16 +184,27 @@ CONFIG_DATE=y
CONFIG_FEATURE_DATE_ISOFMT=y
# CONFIG_FEATURE_DATE_NANO is not set
CONFIG_FEATURE_DATE_COMPAT=y
CONFIG_DD=y
CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set
# CONFIG_FEATURE_DD_IBS_OBS is not set
CONFIG_FEATURE_DD_STATUS=y
# CONFIG_HOSTID is not set
CONFIG_ID=y
CONFIG_GROUPS=y
CONFIG_SHUF=y
CONFIG_SYNC=y
CONFIG_FEATURE_SYNC_FANCY=y
CONFIG_TEST=y
# CONFIG_FEATURE_TEST_64 is not set
CONFIG_TOUCH=y
CONFIG_FEATURE_TOUCH_NODEREF=y
CONFIG_FEATURE_TOUCH_SUSV3=y
CONFIG_TR=y
CONFIG_FEATURE_TR_CLASSES=y
CONFIG_FEATURE_TR_EQUIV=y
CONFIG_TRUNCATE=y
CONFIG_UNLINK=y
CONFIG_BASE64=y
# CONFIG_WHO is not set
# CONFIG_USERS is not set
@ -203,10 +220,6 @@ CONFIG_CHROOT=y
CONFIG_CP=y
# CONFIG_FEATURE_CP_LONG_OPTIONS is not set
CONFIG_CUT=y
CONFIG_DD=y
CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set
# CONFIG_FEATURE_DD_IBS_OBS is not set
CONFIG_DF=y
# CONFIG_FEATURE_DF_FANCY is not set
CONFIG_DIRNAME=y
@ -263,6 +276,7 @@ CONFIG_SEQ=y
# CONFIG_SHA1SUM is not set
# CONFIG_SHA256SUM is not set
# CONFIG_SHA512SUM is not set
CONFIG_SHA3SUM=y
CONFIG_SLEEP=y
# CONFIG_FEATURE_FANCY_SLEEP is not set
# CONFIG_FEATURE_FLOAT_SLEEP is not set
@ -270,11 +284,10 @@ CONFIG_SORT=y
# CONFIG_FEATURE_SORT_BIG is not set
# CONFIG_SPLIT is not set
# CONFIG_FEATURE_SPLIT_FANCY is not set
# CONFIG_STAT is not set
# CONFIG_FEATURE_STAT_FORMAT is not set
CONFIG_STAT=y
CONFIG_FEATURE_STAT_FORMAT=y
CONFIG_STTY=y
# CONFIG_SUM is not set
CONFIG_SYNC=y
# CONFIG_TAC is not set
CONFIG_TAIL=y
# CONFIG_FEATURE_FANCY_TAIL is not set
@ -283,6 +296,7 @@ CONFIG_TEE=y
CONFIG_TRUE=y
CONFIG_TTY=y
CONFIG_UNAME=y
CONFIG_UNAME_OSNAME="GNU/Linux"
# CONFIG_UNEXPAND is not set
# CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS is not set
CONFIG_UNIQ=y
@ -294,6 +308,11 @@ CONFIG_WC=y
CONFIG_WHOAMI=y
CONFIG_YES=y
#
# Common options
#
CONFIG_FEATURE_VERBOSE=y
#
# Common options for cp and mv
#
@ -310,7 +329,7 @@ CONFIG_FEATURE_AUTOWIDTH=y
CONFIG_FEATURE_HUMAN_READABLE=y
#
# Common options for md5sum, sha1sum, sha256sum, sha512sum
# Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum
#
# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set
@ -356,7 +375,16 @@ CONFIG_WHICH=y
#
# Editors
#
CONFIG_AWK=y
# CONFIG_FEATURE_AWK_LIBM is not set
CONFIG_FEATURE_AWK_GNU_EXTENSIONS=y
CONFIG_CMP=y
# CONFIG_DIFF is not set
# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set
# CONFIG_FEATURE_DIFF_DIR is not set
# CONFIG_ED is not set
# CONFIG_PATCH is not set
CONFIG_SED=y
CONFIG_VI=y
CONFIG_FEATURE_VI_MAX_LEN=4096
CONFIG_FEATURE_VI_8BIT=y
@ -371,15 +399,9 @@ CONFIG_FEATURE_VI_USE_SIGNALS=y
# CONFIG_FEATURE_VI_SET is not set
CONFIG_FEATURE_VI_WIN_RESIZE=y
CONFIG_FEATURE_VI_ASK_TERMINAL=y
# CONFIG_FEATURE_VI_OPTIMIZE_CURSOR is not set
CONFIG_AWK=y
# CONFIG_FEATURE_AWK_LIBM is not set
CONFIG_CMP=y
# CONFIG_DIFF is not set
# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set
# CONFIG_FEATURE_DIFF_DIR is not set
# CONFIG_ED is not set
CONFIG_SED=y
CONFIG_FEATURE_VI_UNDO=y
CONFIG_FEATURE_VI_UNDO_QUEUE=y
CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=256
CONFIG_FEATURE_ALLOW_EXEC=y
#
@ -396,6 +418,7 @@ CONFIG_FEATURE_FIND_MAXDEPTH=y
# CONFIG_FEATURE_FIND_NEWER is not set
# CONFIG_FEATURE_FIND_INUM is not set
CONFIG_FEATURE_FIND_EXEC=y
CONFIG_FEATURE_FIND_EXEC_PLUS=y
CONFIG_FEATURE_FIND_USER=y
CONFIG_FEATURE_FIND_GROUP=y
CONFIG_FEATURE_FIND_NOT=y
@ -417,6 +440,7 @@ CONFIG_XARGS=y
CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y
#
# Init Utilities
@ -453,6 +477,7 @@ CONFIG_USE_BB_CRYPT=y
CONFIG_ADDUSER=y
# CONFIG_FEATURE_ADDUSER_LONG_OPTIONS is not set
# CONFIG_FEATURE_CHECK_NAMES is not set
CONFIG_LAST_ID=60000
CONFIG_FIRST_SYSTEM_ID=100
CONFIG_LAST_SYSTEM_ID=999
CONFIG_ADDGROUP=y
@ -464,7 +489,6 @@ CONFIG_DELGROUP=y
CONFIG_GETTY=y
CONFIG_LOGIN=y
# CONFIG_LOGIN_SESSION_AS_CHILD is not set
# CONFIG_PAM is not set
# CONFIG_LOGIN_SCRIPTS is not set
CONFIG_FEATURE_NOLOGIN=y
# CONFIG_FEATURE_SECURETTY is not set
@ -522,13 +546,26 @@ CONFIG_DEFAULT_DEPMOD_FILE="modules.dep"
# Linux System Utilities
#
CONFIG_BLOCKDEV=y
CONFIG_FATATTR=y
CONFIG_FSTRIM=y
CONFIG_MDEV=y
CONFIG_FEATURE_MDEV_CONF=y
CONFIG_FEATURE_MDEV_RENAME=y
CONFIG_FEATURE_MDEV_RENAME_REGEXP=y
CONFIG_FEATURE_MDEV_EXEC=y
CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=y
CONFIG_MOUNT=y
# CONFIG_FEATURE_MOUNT_FAKE is not set
# CONFIG_FEATURE_MOUNT_VERBOSE is not set
# CONFIG_FEATURE_MOUNT_HELPERS is not set
CONFIG_FEATURE_MOUNT_LABEL=y
# CONFIG_FEATURE_MOUNT_NFS is not set
# CONFIG_FEATURE_MOUNT_CIFS is not set
CONFIG_FEATURE_MOUNT_FLAGS=y
CONFIG_FEATURE_MOUNT_FSTAB=y
CONFIG_FEATURE_MOUNT_OTHERTAB=y
CONFIG_REV=y
CONFIG_UEVENT=y
# CONFIG_ACPID is not set
# CONFIG_FEATURE_ACPID_COMPAT is not set
CONFIG_BLKID=y
@ -574,15 +611,6 @@ CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y
# CONFIG_MKSWAP is not set
# CONFIG_FEATURE_MKSWAP_UUID is not set
CONFIG_MORE=y
CONFIG_MOUNT=y
# CONFIG_FEATURE_MOUNT_FAKE is not set
# CONFIG_FEATURE_MOUNT_VERBOSE is not set
# CONFIG_FEATURE_MOUNT_HELPERS is not set
CONFIG_FEATURE_MOUNT_LABEL=y
# CONFIG_FEATURE_MOUNT_NFS is not set
# CONFIG_FEATURE_MOUNT_CIFS is not set
CONFIG_FEATURE_MOUNT_FLAGS=y
CONFIG_FEATURE_MOUNT_FSTAB=y
CONFIG_PIVOT_ROOT=y
# CONFIG_RDATE is not set
# CONFIG_RDEV is not set
@ -592,8 +620,9 @@ CONFIG_PIVOT_ROOT=y
# CONFIG_SCRIPTREPLAY is not set
# CONFIG_SETARCH is not set
# CONFIG_SWAPONOFF is not set
# CONFIG_FEATURE_SWAPON_DISCARD is not set
# CONFIG_FEATURE_SWAPON_PRI is not set
# CONFIG_SWITCH_ROOT is not set
CONFIG_SWITCH_ROOT=y
CONFIG_UMOUNT=y
CONFIG_FEATURE_UMOUNT_ALL=y
@ -608,32 +637,45 @@ CONFIG_VOLUMEID=y
#
# Filesystem/Volume identification
#
CONFIG_FEATURE_VOLUMEID_EXT=y
# CONFIG_FEATURE_VOLUMEID_BTRFS is not set
# CONFIG_FEATURE_VOLUMEID_REISERFS is not set
# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set
CONFIG_FEATURE_VOLUMEID_EXFAT=y
CONFIG_FEATURE_VOLUMEID_EXT=y
CONFIG_FEATURE_VOLUMEID_F2FS=y
CONFIG_FEATURE_VOLUMEID_FAT=y
# CONFIG_FEATURE_VOLUMEID_HFS is not set
# CONFIG_FEATURE_VOLUMEID_JFS is not set
# CONFIG_FEATURE_VOLUMEID_XFS is not set
# CONFIG_FEATURE_VOLUMEID_NTFS is not set
# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set
# CONFIG_FEATURE_VOLUMEID_UDF is not set
# CONFIG_FEATURE_VOLUMEID_LUKS is not set
# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set
# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set
# CONFIG_FEATURE_VOLUMEID_ROMFS is not set
# CONFIG_FEATURE_VOLUMEID_SYSV is not set
# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set
# CONFIG_FEATURE_VOLUMEID_JFS is not set
# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set
# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set
# CONFIG_FEATURE_VOLUMEID_LUKS is not set
CONFIG_FEATURE_VOLUMEID_NILFS=y
# CONFIG_FEATURE_VOLUMEID_NTFS is not set
# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set
# CONFIG_FEATURE_VOLUMEID_REISERFS is not set
# CONFIG_FEATURE_VOLUMEID_ROMFS is not set
CONFIG_FEATURE_VOLUMEID_SQUASHFS=y
# CONFIG_FEATURE_VOLUMEID_SYSV is not set
# CONFIG_FEATURE_VOLUMEID_UDF is not set
# CONFIG_FEATURE_VOLUMEID_XFS is not set
#
# Miscellaneous Utilities
#
# CONFIG_CONSPY is not set
# CONFIG_CROND is not set
# CONFIG_FEATURE_CROND_D is not set
# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
CONFIG_FEATURE_CROND_DIR=""
CONFIG_I2CGET=y
CONFIG_I2CSET=y
CONFIG_I2CDUMP=y
CONFIG_I2CDETECT=y
CONFIG_LESS=y
CONFIG_FEATURE_LESS_MAXLINES=9999999
CONFIG_FEATURE_LESS_BRACKETS=y
CONFIG_FEATURE_LESS_FLAGS=y
CONFIG_FEATURE_LESS_TRUNCATE=y
# CONFIG_FEATURE_LESS_MARKS is not set
# CONFIG_FEATURE_LESS_REGEXP is not set
# CONFIG_FEATURE_LESS_WINCH is not set
@ -642,13 +684,17 @@ CONFIG_FEATURE_LESS_FLAGS=y
# CONFIG_FEATURE_LESS_LINENUMS is not set
# CONFIG_NANDWRITE is not set
# CONFIG_NANDDUMP is not set
# CONFIG_RFKILL is not set
CONFIG_SETSERIAL=y
# CONFIG_TASKSET is not set
# CONFIG_FEATURE_TASKSET_FANCY is not set
# CONFIG_UBIATTACH is not set
# CONFIG_UBIDETACH is not set
CONFIG_UBIMKVOL=y
CONFIG_UBIRMVOL=y
CONFIG_UBIRSVOL=y
CONFIG_UBIUPDATEVOL=y
# CONFIG_WALL is not set
# CONFIG_ADJTIMEX is not set
# CONFIG_BBCONFIG is not set
# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set
@ -664,10 +710,6 @@ CONFIG_FEATURE_BEEP_LENGTH_MS=0
# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set
# CONFIG_FEATURE_CHAT_CLR_ABORT is not set
# CONFIG_CHRT is not set
# CONFIG_CROND is not set
# CONFIG_FEATURE_CROND_D is not set
# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
CONFIG_FEATURE_CROND_DIR=""
# CONFIG_CRONTAB is not set
# CONFIG_DC is not set
# CONFIG_FEATURE_DC_LIBM is not set
@ -683,7 +725,7 @@ CONFIG_FEATURE_CROND_DIR=""
CONFIG_FLASHCP=y
CONFIG_FLASH_LOCK=y
CONFIG_FLASH_UNLOCK=y
# CONFIG_FLASH_ERASEALL is not set
CONFIG_FLASH_ERASEALL=y
# CONFIG_IONICE is not set
# CONFIG_INOTIFYD is not set
# CONFIG_LAST is not set
@ -705,18 +747,14 @@ CONFIG_MOUNTPOINT=y
# CONFIG_MT is not set
# CONFIG_RAIDAUTORUN is not set
# CONFIG_READAHEAD is not set
# CONFIG_RFKILL is not set
# CONFIG_RUNLEVEL is not set
# CONFIG_RX is not set
# CONFIG_SETSID is not set
# CONFIG_STRINGS is not set
# CONFIG_TASKSET is not set
# CONFIG_FEATURE_TASKSET_FANCY is not set
CONFIG_TIME=y
# CONFIG_TIMEOUT is not set
# CONFIG_TTYSIZE is not set
# CONFIG_VOLNAME is not set
# CONFIG_WALL is not set
CONFIG_WATCHDOG=y
#
@ -732,6 +770,13 @@ CONFIG_NC_EXTRA=y
CONFIG_PING=y
# CONFIG_PING6 is not set
CONFIG_FEATURE_FANCY_PING=y
CONFIG_WGET=y
# CONFIG_FEATURE_WGET_STATUSBAR is not set
CONFIG_FEATURE_WGET_AUTHENTICATION=y
# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set
CONFIG_FEATURE_WGET_TIMEOUT=y
CONFIG_FEATURE_WGET_OPENSSL=y
CONFIG_FEATURE_WGET_SSL_HELPER=y
CONFIG_WHOIS=y
# CONFIG_FEATURE_IPV6 is not set
# CONFIG_FEATURE_UNIX_LOCAL is not set
@ -748,13 +793,13 @@ CONFIG_ETHER_WAKE=y
CONFIG_FTPD=y
CONFIG_FEATURE_FTP_WRITE=y
CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST=y
CONFIG_FEATURE_FTP_AUTHENTICATION=y
# CONFIG_FTPGET is not set
# CONFIG_FTPPUT is not set
# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
CONFIG_HOSTNAME=y
# CONFIG_HTTPD is not set
# CONFIG_FEATURE_HTTPD_RANGES is not set
# CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set
# CONFIG_FEATURE_HTTPD_SETUID is not set
# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set
@ -793,6 +838,7 @@ CONFIG_IP=y
CONFIG_FEATURE_IP_ADDRESS=y
CONFIG_FEATURE_IP_LINK=y
CONFIG_FEATURE_IP_ROUTE=y
CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2"
# CONFIG_FEATURE_IP_TUNNEL is not set
# CONFIG_FEATURE_IP_RULE is not set
# CONFIG_FEATURE_IP_SHORT_FORMS is not set
@ -811,6 +857,7 @@ CONFIG_FEATURE_IP_ROUTE=y
# CONFIG_NSLOOKUP is not set
# CONFIG_NTPD is not set
# CONFIG_FEATURE_NTPD_SERVER is not set
# CONFIG_FEATURE_NTPD_CONF is not set
# CONFIG_PSCAN is not set
CONFIG_ROUTE=y
# CONFIG_SLATTACH is not set
@ -844,6 +891,7 @@ CONFIG_FEATURE_TELNET_AUTOLOGIN=y
CONFIG_DHCPD_LEASES_FILE=""
CONFIG_UDHCPC=y
# CONFIG_FEATURE_UDHCPC_ARPING is not set
CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y
# CONFIG_FEATURE_UDHCP_PORT is not set
CONFIG_UDHCP_DEBUG=9
CONFIG_FEATURE_UDHCP_RFC3397=y
@ -853,11 +901,6 @@ CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS=""
# CONFIG_UDPSVD is not set
# CONFIG_VCONFIG is not set
CONFIG_WGET=y
# CONFIG_FEATURE_WGET_STATUSBAR is not set
CONFIG_FEATURE_WGET_AUTHENTICATION=y
# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set
CONFIG_FEATURE_WGET_TIMEOUT=y
# CONFIG_ZCIP is not set
#
@ -890,6 +933,13 @@ CONFIG_POWERTOP=y
CONFIG_PSTREE=y
CONFIG_PWDX=y
CONFIG_SMEMCAP=y
CONFIG_TOP=y
CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
# CONFIG_FEATURE_TOP_SMP_CPU is not set
# CONFIG_FEATURE_TOP_DECIMALS is not set
# CONFIG_FEATURE_TOP_SMP_PROCESS is not set
CONFIG_FEATURE_TOPMEM=y
CONFIG_UPTIME=y
# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set
CONFIG_FREE=y
@ -910,13 +960,6 @@ CONFIG_FEATURE_PS_LONG=y
# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set
CONFIG_RENICE=y
# CONFIG_BB_SYSCTL is not set
CONFIG_TOP=y
CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
# CONFIG_FEATURE_TOP_SMP_CPU is not set
# CONFIG_FEATURE_TOP_DECIMALS is not set
# CONFIG_FEATURE_TOP_SMP_PROCESS is not set
CONFIG_FEATURE_TOPMEM=y
# CONFIG_FEATURE_SHOW_THREADS is not set
# CONFIG_WATCH is not set
@ -962,6 +1005,7 @@ CONFIG_ASH_GETOPTS=y
# CONFIG_ASH_BUILTIN_ECHO is not set
CONFIG_ASH_BUILTIN_PRINTF=y
CONFIG_ASH_BUILTIN_TEST=y
CONFIG_ASH_HELP=y
# CONFIG_ASH_CMDCMD is not set
# CONFIG_ASH_MAIL is not set
CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
@ -1011,6 +1055,11 @@ CONFIG_FEATURE_IPC_SYSLOG=y
CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
CONFIG_LOGREAD=y
CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y
CONFIG_FEATURE_KMSG_SYSLOG=y
CONFIG_KLOGD=y
#
# klogd should not be used together with syslog to kernel printk buffer
#
CONFIG_FEATURE_KLOGD_KLOGCTL=y
CONFIG_LOGGER=y

View File

@ -1,6 +1,6 @@
version=\
(
'1.22.1'
'1.24.1'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'337d1a15ab1cb1d4ed423168b1eb7d7e'
'be98a40cadf84ce2d6b05fa41a275c6a'
)
post_unpack()

37
rules/cloog/host.bash Normal file
View File

@ -0,0 +1,37 @@
version=\
(
'0.18.1'
)
url=\
(
"ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-$version.tar.gz"
)
md5=\
(
'e34fca0540d840e5d0f6427e98c92252'
)
maintainer=\
(
'Ricardo Martins <rasm@oceanscan-mst.com>'
)
configure()
{
"../cloog-$version/configure" \
--prefix="$cfg_dir_toolchain" \
--disable-shared \
--enable-static
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install-strip
}

View File

@ -0,0 +1,50 @@
version=\
(
'2.8'
)
url=\
(
"https://github.com/martinh/libconfuse/releases/download/v$version/confuse-$version.tar.gz"
)
md5=\
(
'e94ade0372a43e80b35031046bbc2a33'
)
maintainer=\
(
'Ricardo Martins <rasm@oceanscan-mst.com>'
)
configure()
{
export PKG_CONFIG="${cfg_dir_toolchain}/bin/pkg-config"
export PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig"
"../confuse-$version/configure" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--disable-static \
--enable-shared
}
build()
{
$cmd_make
}
host_install()
{
export PKG_CONFIG="${cfg_dir_toolchain}/bin/pkg-config"
export PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig"
$cmd_make install
}
target_install()
{
cp -a "$cfg_dir_toolchain_sysroot/usr/lib/libconfuse"*.so* "$cfg_dir_rootfs/lib" &&
$cmd_target_strip "$cfg_dir_rootfs/lib/libconfuse"*.so*
}

View File

@ -0,0 +1,26 @@
version=\
(
'1.1.0'
)
url=\
(
"http://www.lsts.pt/glued/coreboot-lsts-$version.tar.gz"
)
md5=\
(
'a7c77a981778bec54f28f598814f11c6'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
target_install()
{
dir="$cfg_dir_rootfs/usr/share/coreboot-lsts"
$cmd_mkdir "$dir" &&
$cmd_cp "coreboot-lsts-$version.rom" "$dir"
}

View File

@ -35,6 +35,11 @@ build()
host_install()
{
$cmd_make install
# make available for cross compilation
for f in "${cfg_dir_toolchain_sysroot}/usr/lib/"libcurl*so*; do
echo "Doing $f"
ln -s -f "$f" "${cfg_dir_toolchain}/lib"
done
}
target_install()

52
rules/czmq/default.bash Normal file
View File

@ -0,0 +1,52 @@
version=\
(
"3.0.2"
)
url=\
(
"https://github.com/zeromq/czmq/archive/v$version.tar.gz"
)
md5=\
(
"23e9885f7ee3ce88d99d0425f52e9be1"
)
configure()
{
./autogen.sh && \
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
requires=\
(
'libtool/host'
'zeromq'
)
target_install()
{
# Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libczmq.*; do
if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi
done
}

View File

@ -1,16 +1,16 @@
version=\
(
"4.8.26"
'4.8.30'
)
url=\
(
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/db-$version.tar.gz"
"http://download.oracle.com/berkeley-db/db-$version.tar.gz"
)
md5=\
(
"3476bac9ec0f3c40729c8a404151d5e3"
'f80022099c5742cd179343556179aa8c'
)
configure()

View File

@ -1,79 +0,0 @@
version=\
(
'1.0'
)
ns_version=\
(
'2.34'
)
url=\
(
"http://www.lsts.pt/glued/desert-$version.tar.gz"
)
md5=\
(
'5b83d1d6e5390a44f1dc0c5a3794581c'
)
requires=\
(
'ns-miracle/default'
)
post_unpack()
{
patches=$(ls "$pkg_dir/patches/"*.patch)
if [ -n "$patches" ]; then
cat $patches | patch -p0
fi
}
configure()
{
find . -name "*.o" -exec rm {} \;
/usr/bin/aclocal -I m4 --force && /usr/bin/libtoolize --force && /usr/bin/automake --foreign --add-missing && /usr/bin/autoconf
prefix="/DESERT_lib"
sed "s#@TCL2CPP@#qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++#g" "./m4/Makefile.in" -i
sed "s#@TCL2CPP@#qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++#g" "./Makefile.in" -i
"./configure" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--with-ns-allinone=${cfg_dir_builds}/ns/ \
--with-nsmiracle=${cfg_dir_builds}/ns-miracle/ns-miracle-1.0/trunk/main/ \
--prefix="$prefix"
}
build()
{
$cmd_make -j1 \
TCL2CPP="qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++"
}
host_install()
{
$cmd_mkdir \
"$cfg_dir_toolchain_sysroot/ns2/DESERT_lib/lib" &&
$cmd_make \
DESTDIR="$cfg_dir_toolchain_sysroot/ns2/" \
install
}
target_install()
{
cp -r "${cfg_dir_toolchain_sysroot}/ns2/DESERT_lib/lib" "${cfg_dir_rootfs}/usr/ns2/DESERT/"
for f in "$cfg_dir_toolchain_sysroot/ns2/DESERT_lib/lib/"lib*.so.0.0.0; do
$cmd_target_strip "$f" -o ${cfg_dir_rootfs}/usr/ns2/DESERT/"$(basename "$f")"
done
}

View File

@ -1,19 +0,0 @@
--- ./m4/nsallinone.m4 2012-09-21 14:09:26.000000000 +0200
+++ ./m4/nsallinone.m4 2012-09-21 17:08:21.807075643 +0200
@@ -49,12 +49,10 @@
NS_ALLINONE_PATH=$withval
NS_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d ns-* | head -n 1`
- TCL_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d * | grep -e 'tcl[0-9].*' | head -n 1`
- TCLCL_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d tclcl-* | head -n 1`
- OTCL_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d otcl-* | head -n 1`
-
- NS_CPPFLAGS="-I$NS_ALLINONE_PATH/include -I$NS_PATH -I$TCLCL_PATH -I$OTCL_PATH"
-
+ TCL_PATH="${cfg_dir_builds}/tcl/"`cd "${cfg_dir_builds}/tcl/"; ls -d * | grep -e 'tcl[0-9].*' | head -n 1`
+ TCLCL_PATH="${cfg_dir_builds}/tclcl/"`cd "${cfg_dir_builds}/tclcl"; ls -d tclcl-* | head -n 1`
+ OTCL_PATH="${cfg_dir_builds}/otcl/"`cd "${cfg_dir_builds}/otcl/"; ls -d otcl-* | head -n 1`
+ NS_CPPFLAGS="${cfg_dir_toolchain_sysroot}/usr/include -I$NS_PATH -I$TCLCL_PATH -I$OTCL_PATH"
NS_ALLINONE_DISTCHECK_CONFIGURE_FLAGS="--with-ns-allinone=$withval"
AC_SUBST(NS_ALLINONE_DISTCHECK_CONFIGURE_FLAGS)

View File

@ -1,11 +0,0 @@
--- configure.ac 2012-09-27 11:57:58.190424449 +0200
+++ configure.ac 2012-09-27 12:03:02.599357310 +0200
@@ -42,6 +42,8 @@
DESERT_CPPFLAGS="$DESERT_CPPFLAGS "'-I$(top_srcdir)/mobility/uwdriftposition'
DESERT_CPPFLAGS="$DESERT_CPPFLAGS "'-I$(top_srcdir)/mobility/uwgmposition'
+TCL2CPP="qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++"
+
AC_SUBST(DESERT_CPPFLAGS)
AC_SUBST(DESERT_LDFLAGS)

View File

@ -26,5 +26,6 @@ build()
target_install()
{
$cmd_target_strip src/dnsmasq -o "$cfg_dir_rootfs/usr/sbin/dnsmasq"
$cmd_target_strip src/dnsmasq -o "$cfg_dir_rootfs/usr/sbin/dnsmasq" &&
tar -C "$pkg_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@ -0,0 +1,10 @@
start()
{
mkdir -p /var/lib/misc
dnsmasq
}
stop()
{
killall dnsmasq
}

View File

@ -0,0 +1,24 @@
version=\
(
'3.0.28'
)
url=\
(
"https://github.com/dosfstools/dosfstools/releases/download/v$version/dosfstools-$version.tar.xz"
)
md5=\
(
'6a047a6c65186b9ebb1853709adb36db'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
configure()
{
$cmd_make distclean
}

View File

@ -0,0 +1,17 @@
source $pkg_common
build()
{
CC="$cmd_target_cc" \
$cmd_make \
PREFIX="$cfg_dir_toolchain_sysroot/usr"
}
target_install()
{
$cmd_target_strip --strip-unneeded "../dosfstools-$version/mkfs.fat" -o "$cfg_dir_rootfs/sbin/mkfs.fat" &&
$cmd_target_strip --strip-unneeded "../dosfstools-$version/fsck.fat" -o "$cfg_dir_rootfs/sbin/fsck.fat" &&
$cmd_target_strip --strip-unneeded "../dosfstools-$version/fatlabel" -o "$cfg_dir_rootfs/sbin/fatlabel" &&
ln -fs mkfs.fat "$cfg_dir_rootfs/sbin/mkfs.vfat" &&
ln -fs fsck.fat "$cfg_dir_rootfs/sbin/fsck.vfat"
}

View File

@ -1,22 +1,4 @@
version=\
(
'3.0.20'
)
url=\
(
"http://daniel-baumann.ch/files/software/dosfstools/dosfstools-$version.tar.gz"
)
md5=\
(
'7f1c1afd4ae4622e07b24ec0ddfc4184'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
source $pkg_common
build()
{

View File

@ -1,6 +1,6 @@
version=\
(
'2012.55'
'2015.67'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'8c784baec3054cdb1bb4bfa792c87812'
'e967e320344cd4bfebe321e3ab8514d6'
)
maintainer=\
@ -43,7 +43,7 @@ configure()
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--with-zlib="$cfg_dir_toolchain"
--with-zlib="$cfg_dir_toolchain_sysroot/usr"
}
build()

View File

@ -1,30 +0,0 @@
diff --git a/Makefile.in b/Makefile.in
index cec35f1..46a9365 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -56,7 +56,7 @@ HEADERS=options.h dbutil.h session.h packet.h algo.h ssh.h buffer.h kex.h \
loginrec.h atomicio.h x11fwd.h agentfwd.h tcpfwd.h compat.h \
listener.h fake-rfc2553.h
-dropbearobjs=$(COMMONOBJS) $(CLISVROBJS) $(SVROBJS) @CRYPTLIB@
+dropbearobjs=$(COMMONOBJS) $(CLISVROBJS) $(SVROBJS)
dbclientobjs=$(COMMONOBJS) $(CLISVROBJS) $(CLIOBJS)
dropbearkeyobjs=$(COMMONOBJS) $(KEYOBJS)
dropbearconvertobjs=$(COMMONOBJS) $(CONVERTOBJS)
@@ -169,14 +169,14 @@ scp: $(SCPOBJS) $(HEADERS) Makefile
# multi-binary compilation.
MULTIOBJS=
ifeq ($(MULTI),1)
- MULTIOBJS=dbmulti.o $(sort $(foreach prog, $(PROGRAMS), $($(prog)objs))) @CRYPTLIB@
+ MULTIOBJS=dbmulti.o $(sort $(foreach prog, $(PROGRAMS), $($(prog)objs)))
CFLAGS+=$(addprefix -DDBMULTI_, $(PROGRAMS)) -DDROPBEAR_MULTI
endif
dropbearmulti: multilink
multibinary: $(HEADERS) $(MULTIOBJS) $(LIBTOM_DEPS) Makefile
- $(CC) $(LDFLAGS) -o dropbearmulti$(EXEEXT) $(MULTIOBJS) $(LIBS)
+ $(CC) $(LDFLAGS) -o dropbearmulti$(EXEEXT) $(MULTIOBJS) $(LIBS) @CRYPTLIB@
multilink: multibinary $(addprefix link, $(PROGRAMS))

View File

@ -1,80 +0,0 @@
version=\
(
'2.9.0'
)
url=\
(
"http://downloads.sourceforge.net/dtn/dtn-$version.tgz"
)
md5=\
(
'adfc25b561c1eeda30d9b68a6b088bd8'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
requires=\
(
'db/default'
'tcl/default'
'xerces-c/default'
'oasys/default'
)
configure()
{
"../dtn-$version/configure" \
--prefix="/usr" \
--sysconfdir="/etc/dtn" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--with-oasys="$cfg_dir_toolchain_sysroot/usr" \
--enable-ecl \
--without-python \
--disable-python
}
build()
{
$cmd_make -j1 -C servlib &&
$cmd_make -j1 -C applib libdtnapi.a &&
$cmd_make -j1 -C applib libdtnapi++.a &&
$cmd_make -j1 -C applib libdtnapisrv.a &&
$cmd_make -j1 -C daemon &&
$cmd_make -j1 -C apps
}
host_install()
{
cp -a servlib/libdtnserv.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
cp -a applib/libdtnapi++.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
cp -a applib/libdtnapi++-$version.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
cp -a applib/libdtnapi-$version.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
cp -a applib/libdtnapi.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
cp -a applib/libdtnapisrv.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
mkdir -p "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
cp -a applib/dtn_ipc.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
cp -a applib/dtn_errno.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
cp -a applib/sdnv-c.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
cp -a applib/dtn_api.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
cp -a applib/dtn_types.h "$cfg_dir_toolchain_sysroot/usr/include/dtn"
}
target_install()
{
$cmd_target_strip apps/dtnsend/dtnsend -o "$cfg_dir_rootfs/usr/bin/dtnsend" &&
$cmd_target_strip apps/dtnrecv/dtnrecv -o "$cfg_dir_rootfs/usr/bin/dtnrecv" &&
$cmd_target_strip apps/dtncp/dtncp -o "$cfg_dir_rootfs/usr/bin/dtncp" &&
$cmd_target_strip apps/dtnping/dtnping -o "$cfg_dir_rootfs/usr/bin/dtnping" &&
$cmd_target_strip daemon/dtnd -o "$cfg_dir_rootfs/usr/bin/dtnd" &&
$cmd_mkdir "$cfg_dir_rootfs/etc/dtn" "$cfg_dir_rootfs/usr/share/dtn" &&
cp servlib/conv_layers/clevent.xsd "$cfg_dir_rootfs/usr/share/dtn" &&
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@ -1,29 +0,0 @@
# Configuration parameters
# cfg_dtnd_config: DTN Daemon configuration file.
# cfg_dtnd_name: DTN node name.
start()
{
export DTN_NODE="$cfg_dtnd_name"
db="/opt/lsts/dtn/var/$DTN_NODE/db"
if [ -f "$cfg_dtnd_config" ]; then
mkdir -p /opt/lsts/dtn
if ! [ -d "$db" ]; then
mkdir -p "$db"
/usr/bin/dtnd \
-c "$cfg_dtnd_config" \
--init-db
fi
/usr/bin/dtnd -d \
-c "$cfg_dtnd_config" \
-o /opt/lsts/dtn/log.txt
fi
}
stop()
{
killall dtnd > /dev/null 2>&1
}

37
rules/dune/default.bash Normal file
View File

@ -0,0 +1,37 @@
version=\
(
'master'
)
requires=\
(
'cmake/host'
)
download()
{
git clone "git@github.com:LSTS/dune.git" dune &&
cd dune && git checkout "$version" && cd - &&
git clone "git@git.lsts.pt:dune-private.git" dune/private &&
cd dune/private && git checkout "$version" && cd -
}
configure()
{
$cmd_mkdir build &&
cd build &&
cmake \
-DCMAKE_INSTALL_PREFIX="$cfg_dir_toolchain_sysroot/usr" \
-DCROSS="$cmd_target_cc" \
../dune
}
build()
{
$cmd_make -C build
}
host_install()
{
$cmd_make -C build install
}

View File

@ -1,6 +1,6 @@
version=\
(
'1.41.9'
'1.42.13'
)
url=\
@ -10,5 +10,5 @@ url=\
md5=\
(
'52f60a9e19a02f142f5546f1b5681927'
'bc759fc62666786f5436e2075beb3265'
)

View File

@ -20,7 +20,13 @@ build()
target_install()
{
$cmd_target_strip --strip-unneeded ../e2fsprogs-$version/e2fsck/e2fsck -o $cfg_dir_rootfs/sbin/e2fsck &&
$cmd_target_strip --strip-unneeded ../e2fsprogs-$version/misc/mke2fs -o $cfg_dir_rootfs/sbin/mke2fs &&
$cmd_target_strip --strip-unneeded ../e2fsprogs-$version/misc/tune2fs -o $cfg_dir_rootfs/sbin/tune2fs
$cmd_target_strip --strip-unneeded ../e2fsprogs-$version/e2fsck/e2fsck -o "$cfg_dir_rootfs/sbin/e2fsck" &&
$cmd_target_strip --strip-unneeded ../e2fsprogs-$version/misc/mke2fs -o "$cfg_dir_rootfs/sbin/mke2fs" &&
$cmd_target_strip --strip-unneeded ../e2fsprogs-$version/misc/tune2fs -o "$cfg_dir_rootfs/sbin/tune2fs" &&
ln -fs e2fsck "$cfg_dir_rootfs/sbin/fsck.ext2" &&
ln -fs e2fsck "$cfg_dir_rootfs/sbin/fsck.ext3" &&
ln -fs e2fsck "$cfg_dir_rootfs/sbin/fsck.ext4" &&
ln -fs mke2fs "$cfg_dir_rootfs/sbin/mkfs.ext2" &&
ln -fs mke2fs "$cfg_dir_rootfs/sbin/mkfs.ext3" &&
ln -fs mke2fs "$cfg_dir_rootfs/sbin/mkfs.ext4"
}

View File

@ -1,199 +0,0 @@
/*
* timepps.h -- PPS API main header
*
* Copyright (C) 2005-2007 Rodolfo Giometti <giometti@linux.it>
*
* 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 2 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, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef _SYS_TIMEPPS_H_
#define _SYS_TIMEPPS_H_
#include <unistd.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <linux/types.h>
#include <linux/pps.h>
#define LINUXPPS 1 /* signal we are using LinuxPPS */
/*
* New data structures
*/
struct ntp_fp {
unsigned int integral;
unsigned int fractional;
};
union pps_timeu {
struct timespec tspec;
struct ntp_fp ntpfp;
unsigned long longpad[3];
};
struct pps_info {
unsigned long assert_sequence; /* seq. num. of assert event */
unsigned long clear_sequence; /* seq. num. of clear event */
union pps_timeu assert_tu; /* time of assert event */
union pps_timeu clear_tu; /* time of clear event */
int current_mode; /* current mode bits */
};
struct pps_params {
int api_version; /* API version # */
int mode; /* mode bits */
union pps_timeu assert_off_tu; /* offset compensation for assert */
union pps_timeu clear_off_tu; /* offset compensation for clear */
};
typedef int pps_handle_t; /* represents a PPS source */
typedef unsigned long pps_seq_t; /* sequence number */
typedef struct ntp_fp ntp_fp_t; /* NTP-compatible time stamp */
typedef union pps_timeu pps_timeu_t; /* generic data type for time stamps */
typedef struct pps_info pps_info_t;
typedef struct pps_params pps_params_t;
#define assert_timestamp assert_tu.tspec
#define clear_timestamp clear_tu.tspec
#define assert_timestamp_ntpfp assert_tu.ntpfp
#define clear_timestamp_ntpfp clear_tu.ntpfp
#define assert_offset assert_off_tu.tspec
#define clear_offset clear_off_tu.tspec
#define assert_offset_ntpfp assert_off_tu.ntpfp
#define clear_offset_ntpfp clear_off_tu.ntpfp
/*
* The PPS API
*/
static __inline int time_pps_create(int source, pps_handle_t *handle)
{
int ret;
struct pps_kparams dummy;
if (!handle) {
errno = EINVAL;
return -1;
}
/* First we check if current device is a valid PPS one by
* doing a dummy PPS_GETPARAMS...
*/
ret = ioctl(source, PPS_GETPARAMS, &dummy);
if (ret) {
errno = EOPNOTSUPP;
return -1;
}
/* ... then since in LinuxPPS there are no differences between a
* "PPS source" and a "PPS handle", we simply return the same value.
*/
*handle = source;
return 0;
}
static __inline int time_pps_destroy(pps_handle_t handle)
{
return close(handle);
}
static __inline int time_pps_getparams(pps_handle_t handle,
pps_params_t *ppsparams)
{
int ret;
struct pps_kparams __ppsparams;
ret = ioctl(handle, PPS_GETPARAMS, &__ppsparams);
ppsparams->api_version = __ppsparams.api_version;
ppsparams->mode = __ppsparams.mode;
ppsparams->assert_off_tu.tspec.tv_sec = __ppsparams.assert_off_tu.sec;
ppsparams->assert_off_tu.tspec.tv_nsec = __ppsparams.assert_off_tu.nsec;
ppsparams->clear_off_tu.tspec.tv_sec = __ppsparams.clear_off_tu.sec;
ppsparams->clear_off_tu.tspec.tv_nsec = __ppsparams.clear_off_tu.nsec;
return ret;
}
static __inline int time_pps_setparams(pps_handle_t handle,
const pps_params_t *ppsparams)
{
struct pps_kparams __ppsparams;
__ppsparams.api_version = ppsparams->api_version;
__ppsparams.mode = ppsparams->mode;
__ppsparams.assert_off_tu.sec = ppsparams->assert_off_tu.tspec.tv_sec;
__ppsparams.assert_off_tu.nsec = ppsparams->assert_off_tu.tspec.tv_nsec;
__ppsparams.clear_off_tu.sec = ppsparams->clear_off_tu.tspec.tv_sec;
__ppsparams.clear_off_tu.nsec = ppsparams->clear_off_tu.tspec.tv_nsec;
return ioctl(handle, PPS_SETPARAMS, &__ppsparams);
}
/* Get capabilities for handle */
static __inline int time_pps_getcap(pps_handle_t handle, int *mode)
{
return ioctl(handle, PPS_GETCAP, mode);
}
static __inline int time_pps_fetch(pps_handle_t handle, const int tsformat,
pps_info_t *ppsinfobuf,
const struct timespec *timeout)
{
struct pps_fdata __fdata;
int ret;
/* Sanity checks */
if (tsformat != PPS_TSFMT_TSPEC) {
errno = EINVAL;
return -1;
}
if (timeout) {
__fdata.timeout.sec = timeout->tv_sec;
__fdata.timeout.nsec = timeout->tv_nsec;
__fdata.timeout.flags = ~PPS_TIME_INVALID;
} else
__fdata.timeout.flags = PPS_TIME_INVALID;
ret = ioctl(handle, PPS_FETCH, &__fdata);
ppsinfobuf->assert_sequence = __fdata.info.assert_sequence;
ppsinfobuf->clear_sequence = __fdata.info.clear_sequence;
ppsinfobuf->assert_tu.tspec.tv_sec = __fdata.info.assert_tu.sec;
ppsinfobuf->assert_tu.tspec.tv_nsec = __fdata.info.assert_tu.nsec;
ppsinfobuf->clear_tu.tspec.tv_sec = __fdata.info.clear_tu.sec;
ppsinfobuf->clear_tu.tspec.tv_nsec = __fdata.info.clear_tu.nsec;
ppsinfobuf->current_mode = __fdata.info.current_mode;
return ret;
}
static __inline int time_pps_kcbind(pps_handle_t handle,
const int kernel_consumer,
const int edge, const int tsformat)
{
/* LinuxPPS doesn't implement kernel consumer feature */
errno = EOPNOTSUPP;
return -1;
}
#endif /* _SYS_TIMEPPS_H_ */

View File

@ -1,39 +0,0 @@
source $pkg_common
requires=\
(
'eglibc/cross'
)
configure()
{
"../eglibc-$version/localedef/configure" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--with-glibc=."./eglibc-$version/libc"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_mkdir "$cfg_dir_toolchain_sysroot/usr/lib/locale" &&
if [ -f "$cfg_dir_toolchain_sysroot/usr/share/i18n/charmaps/UTF-8.gz" ]; then
gunzip -f "$cfg_dir_toolchain_sysroot/usr/share/i18n/charmaps/UTF-8.gz"
fi &&
if [ -f "$cfg_dir_toolchain_sysroot/usr/share/i18n/charmaps/ISO-8859-1.gz" ]; then
gunzip -f "$cfg_dir_toolchain_sysroot/usr/share/i18n/charmaps/ISO-8859-1.gz"
fi &&
./localedef -v -c -i pt_PT -f UTF-8 pt_PT
./localedef -v -c -i ru_RU -f UTF-8 ru_RU
true
}
target_install()
{
$cmd_mkdir "$cfg_dir_rootfs/usr/lib/locale" &&
cp -v "$cfg_dir_toolchain_sysroot/usr/lib/locale/locale-archive" "$cfg_dir_rootfs/usr/lib/locale"
}

View File

@ -1,24 +0,0 @@
diff -Nru eglibc-2.15-16611/libc/include/libc-symbols.h eglibc-2.15-16611-rasm/libc/include/libc-symbols.h
--- eglibc-2.15-16611/libc/include/libc-symbols.h 2012-01-09 21:16:30.000000000 +0000
+++ eglibc-2.15-16611-rasm/libc/include/libc-symbols.h 2012-01-10 23:37:36.863616530 +0000
@@ -647,7 +647,7 @@
# define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
# define libc_hidden_def(name) hidden_def (name)
# define libc_hidden_weak(name) hidden_weak (name)
-# define libc_hidden_nolink(name, version) hidden_nolink (name, libc, version)
+# define libc_hidden_nolink(name, version) hidden_def (name)
# define libc_hidden_ver(local, name) hidden_ver (local, name)
# define libc_hidden_data_def(name) hidden_data_def (name)
# define libc_hidden_data_weak(name) hidden_data_weak (name)
diff -Nru eglibc-2.15-16611/libc/sunrpc/Makefile eglibc-2.15-16611-rasm/libc/sunrpc/Makefile
--- eglibc-2.15-16611/libc/sunrpc/Makefile 2012-01-09 21:16:30.000000000 +0000
+++ eglibc-2.15-16611-rasm/libc/sunrpc/Makefile 2012-01-10 23:38:14.574076188 +0000
@@ -55,7 +55,7 @@
des_crypt.h)
headers-not-in-tirpc = $(addprefix rpc/,key_prot.h rpc_des.h) \
$(rpcsvc:%=rpcsvc/%) rpcsvc/bootparam.h
-headers = rpc/netdb.h
+headers = rpc/netdb.h $(headers-in-tirpc) $(headers-not-in-tirpc)
generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \
$(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen
generated-dirs := rpcsvc

View File

@ -1,15 +0,0 @@
diff -Nru eglibc-2.15-16611/libc/nis/Makefile eglibc-2.15-16611-rasm/libc/nis/Makefile
--- eglibc-2.15-16611/libc/nis/Makefile 2012-01-09 21:16:30.000000000 +0000
+++ eglibc-2.15-16611-rasm/libc/nis/Makefile 2012-01-10 23:40:26.409018009 +0000
@@ -25,9 +25,9 @@
aux := nis_hash
+headers := $(wildcard rpcsvc/*.[hx])
distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \
- nisplus-parser.h nis_xdr.h nss \
- $(wildcard rpcsvc/*.[hx])
+ nisplus-parser.h nis_xdr.h nss
# These are the databases available for the nis (and perhaps later nisplus)
# service. This must be a superset of the services in nss.

View File

@ -1,107 +0,0 @@
diff -Nru eglibc-2.15.17955/libc/elf/dl-close.c eglibc-2.15.17955.rasm/libc/elf/dl-close.c
--- eglibc-2.15.17955/libc/elf/dl-close.c 2012-04-07 20:58:55.000000000 +0100
+++ eglibc-2.15.17955.rasm/libc/elf/dl-close.c 2012-10-23 22:33:33.351846745 +0100
@@ -119,17 +119,8 @@
if (map->l_direct_opencount > 0 || map->l_type != lt_loaded
|| dl_close_state != not_pending)
{
- if (map->l_direct_opencount == 0)
- {
- if (map->l_type == lt_loaded)
- dl_close_state = rerun;
- else if (map->l_type == lt_library)
- {
- struct link_map **oldp = map->l_initfini;
- map->l_initfini = map->l_orig_initfini;
- _dl_scope_free (oldp);
- }
- }
+ if (map->l_direct_opencount == 0 && map->l_type == lt_loaded)
+ dl_close_state = rerun;
/* There are still references to this object. Do nothing more. */
if (__builtin_expect (GLRO_dl_debug_mask & DL_DEBUG_FILES, 0))
diff -Nru eglibc-2.15.17955/libc/elf/dl-deps.c eglibc-2.15.17955.rasm/libc/elf/dl-deps.c
--- eglibc-2.15.17955/libc/elf/dl-deps.c 2012-04-07 20:58:55.000000000 +0100
+++ eglibc-2.15.17955.rasm/libc/elf/dl-deps.c 2012-10-23 22:38:17.124208092 +0100
@@ -689,6 +689,7 @@
l_initfini[nlist] = NULL;
atomic_write_barrier ();
map->l_initfini = l_initfini;
+ map->l_free_initfini = 1;
if (l_reldeps != NULL)
{
atomic_write_barrier ();
@@ -697,7 +698,7 @@
_dl_scope_free (old_l_reldeps);
}
if (old_l_initfini != NULL)
- map->l_orig_initfini = old_l_initfini;
+ _dl_scope_free (old_l_initfini);
if (errno_reason)
_dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname,
diff -Nru eglibc-2.15.17955/libc/elf/dl-libc.c eglibc-2.15.17955.rasm/libc/elf/dl-libc.c
--- eglibc-2.15.17955/libc/elf/dl-libc.c 2012-04-07 20:58:55.000000000 +0100
+++ eglibc-2.15.17955.rasm/libc/elf/dl-libc.c 2012-10-23 22:39:02.388449874 +0100
@@ -270,13 +270,13 @@
for (Lmid_t ns = 0; ns < GL(dl_nns); ++ns)
{
- /* Remove all additional names added to the objects. */
for (l = GL(dl_ns)[ns]._ns_loaded; l != NULL; l = l->l_next)
{
struct libname_list *lnp = l->l_libname->next;
l->l_libname->next = NULL;
+ /* Remove all additional names added to the objects. */
while (lnp != NULL)
{
struct libname_list *old = lnp;
@@ -284,6 +284,10 @@
if (! old->dont_free)
free (old);
}
+
+ /* Free the initfini dependency list. */
+ if (l->l_free_initfini)
+ free (l->l_initfini);
}
if (__builtin_expect (GL(dl_ns)[ns]._ns_global_scope_alloc, 0) != 0
diff -Nru eglibc-2.15.17955/libc/elf/rtld.c eglibc-2.15.17955.rasm/libc/elf/rtld.c
--- eglibc-2.15.17955/libc/elf/rtld.c 2012-04-07 20:58:55.000000000 +0100
+++ eglibc-2.15.17955.rasm/libc/elf/rtld.c 2012-10-23 22:39:30.692348894 +0100
@@ -2277,6 +2277,8 @@
lnp->dont_free = 1;
lnp = lnp->next;
}
+ /* Also allocated with the fake malloc(). */
+ l->l_free_initfini = 0;
if (l != &GL(dl_rtld_map))
_dl_relocate_object (l, l->l_scope, GLRO(dl_lazy) ? RTLD_LAZY : 0,
diff -Nru eglibc-2.15.17955/libc/include/link.h eglibc-2.15.17955.rasm/libc/include/link.h
--- eglibc-2.15.17955/libc/include/link.h 2012-04-07 20:58:55.000000000 +0100
+++ eglibc-2.15.17955.rasm/libc/include/link.h 2012-10-23 22:40:31.526900046 +0100
@@ -192,6 +192,9 @@
during LD_TRACE_PRELINKING=1
contains any DT_SYMBOLIC
libraries. */
+ unsigned int l_free_initfini:1; /* Nonzero if l_initfini can be
+ freed, ie. not allocated with
+ the dummy malloc in ld.so. */
/* Collected information about own RPATH directories. */
struct r_search_path_struct l_rpath_dirs;
@@ -240,9 +243,6 @@
/* List of object in order of the init and fini calls. */
struct link_map **l_initfini;
- /* The init and fini list generated at startup, saved when the
- object is also loaded dynamically. */
- struct link_map **l_orig_initfini;
/* List of the dependencies introduced through symbol binding. */
struct link_map_reldeps

View File

@ -1,12 +0,0 @@
diff -Naur eglibc-2.15-16526.orig/config.make.in eglibc-2.15-16526/config.make.in
--- eglibc-2.15-16526.orig/libc/config.make.in 2012-07-24 17:49:58.000000000 -0400
+++ eglibc-2.15-16526/libc/config.make.in 2012-07-24 17:51:01.000000000 -0400
@@ -5,7 +5,7 @@
release = @RELEASE@
# Installation prefixes.
-install_root = $(DESTDIR)
+install_root ?= $(DESTDIR)
prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = @datadir@

View File

@ -0,0 +1,21 @@
version=\
(
'1.8.0_51'
)
url=\
(
"https://github.com/zepinto/glued_pkg/raw/master/ejre_armhf_$version.tar.bz2"
)
md5=\
(
'c1619ad3fe3c069cbb09064711f4f9e4'
)
target_install()
{
$cmd_mkdir "$cfg_dir_rootfs/usr/share/java" &&
$cmd_cp "../ejre$version/"* "$cfg_dir_rootfs/usr/share/java" &&
ln -rs "$cfg_dir_rootfs/usr/share/java/bin/java" "$cfg_dir_rootfs/usr/bin/java"
}

View File

@ -0,0 +1,30 @@
version=\
(
'1.0.0'
)
url=\
(
"http://www.lsts.pt/glued/emm-8p-xt-eeprom-$version.tar.gz"
)
md5=\
(
'6a71321ad9ea385c9a7c9b53d930d09d'
)
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then
kernel="$(echo $cfg_dir_builds/linux/linux-*)"
fi
build()
{
$cmd_make CC=$cmd_target_cc
}
target_install()
{
for f in emm-8p-xt-eeprom-lauv; do
$cmd_target_strip "$f" -o "$cfg_dir_rootfs/usr/bin/$f"
done
}

View File

@ -1,6 +1,6 @@
version=\
(
'1.0.5'
'1.0.71'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'8400860f2daa98d559b1b9b6fcc630c2'
'075c9256fe20cf6ce867dc2b1c974ebe'
)
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then
@ -25,7 +25,7 @@ build()
M=`pwd` \
-C "$kernel" &&
for util in setescc esccclock esccsettings; do
for util in setescc esccclock esccsettings esccfs6131; do
make CC="$cmd_target_cc" -C "utils/$util"
done
}
@ -40,7 +40,7 @@ target_install()
-C "$kernel" \
modules_install &&
for util in setescc esccclock esccsettings; do
for util in setescc esccclock esccsettings esccfs6131; do
$cmd_target_strip "utils/$util/$util" -o "$cfg_dir_rootfs/usr/bin/$util"
done &&

View File

@ -1,9 +1,15 @@
# IMU
/usr/bin/setescc 0 0x200 5 0 0 0
/usr/bin/esccclock 0 0x5d1460 23
/usr/bin/esccsettings 0 /etc/escc/hg1700.cfg
# Channels:
# * 0: Honeywell HG1700
# * 1: LSTS PSIMAR
# PSIMAR
# Create channels.
/usr/bin/setescc 0 0x200 5 0 0 0
/usr/bin/setescc 1 0x200 5 0 0 1
# Set clocks (Hz).
"$cmd_escc_set_clock" 0 1000000
"$cmd_escc_set_clock" 1 25804800
# Set registers.
/usr/bin/esccsettings 0 /etc/escc/hg1700.cfg
/usr/bin/esccsettings 1 /etc/escc/psimar.cfg
/usr/bin/esccclock 1 0xc8920 22

View File

@ -1,3 +1,11 @@
# Channels:
# * 0: Honeywell HG1700
# Create channels.
/usr/bin/setescc 0 0x200 5 0 0 0
/usr/bin/esccclock 0 0x5d1460 23
# Set clocks (Hz).
"$cmd_escc_set_clock" 0 1000000
# Set registers.
/usr/bin/esccsettings 0 /etc/escc/hg1700.cfg

View File

@ -1,8 +1,14 @@
# IMU
/usr/bin/setescc 0 0x200 5 0 0 0
/usr/bin/esccsettings 0 /etc/escc/ifog-imu-1-a.cfg
# Channels:
# * 0: iMAR iFOG-IMU-1-A
# * 1: LSTS PSIMAR
# PSIMAR
# Create channels.
/usr/bin/setescc 0 0x200 5 0 0 0
/usr/bin/setescc 1 0x200 5 0 0 1
# Set clock.
"$cmd_escc_set_clock" 1 25804800
# Set registers.
/usr/bin/esccsettings 0 /etc/escc/ifog-imu-1-a.cfg
/usr/bin/esccsettings 1 /etc/escc/psimar.cfg
/usr/bin/esccclock 1 0xc8920 22

View File

@ -5,6 +5,14 @@ start()
mknod /dev/escc0 c 261 0 &&
rm -f /dev/escc1 &&
mknod /dev/escc1 c 261 1 &&
# Clock command.
if [ -z "$cfg_escc_et" ]; then
cmd_escc_set_clock='/usr/bin/esccclock'
else
cmd_escc_set_clock='/usr/bin/esccfs6131'
fi &&
if [ -f "$cfg_escc_script" ]; then
source "$cfg_escc_script"
fi

View File

@ -0,0 +1,45 @@
version=\
(
"4.2"
)
url=\
(
"https://www.kernel.org/pub/software/network/ethtool/ethtool-${version}.tar.gz"
)
md5=\
(
"5b55f7cd76e901dfc2738ac22cab96ca"
)
maintainer=\
(
'Kristian Klausen <kristian.klausen@itk.ntnu.no>'
)
configure()
{
../ethtool-${version}/configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target=$cfg_target_canonical \
--host=$cfg_target_canonical \
--config-cache
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
cp -a "${cfg_dir_toolchain_sysroot}/usr/sbin/ethtool" "${cfg_dir_rootfs}/usr/sbin/" &&
$cmd_target_strip "${cfg_dir_rootfs}/usr/sbin/ethtool"
}

View File

@ -0,0 +1,37 @@
version=\
(
"10.96"
)
url=\
(
"https://lsts.pt/glued/exiftoolBin-${version}.tar.gz"
)
md5=\
(
"71d52bf2d75f023b844dd8c9100daaff"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
requires=\
(
'perl/default'
)
post_unpack()
{
$cmd_cp -r ../exiftoolBin-${version}/* .
}
target_install()
{
$cmd_cp -rv usr/* $cfg_dir_toolchain_sysroot/usr/
$cmd_cp -rv usr/* $cfg_dir_rootfs/usr/
$cmd_cp -rv usr/local/bin/* $cfg_dir_rootfs/usr/bin/
}

57
rules/exiv2/default.bash Normal file
View File

@ -0,0 +1,57 @@
version=\
(
"0.25"
)
url=\
(
"http://lsts.pt/glued/exiv2-${version}.tar.gz"
)
md5=\
(
"258d4831b30f75a01e0234065c6c2806"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
requires=\
(
"gettext/host"
)
configure()
{
./configure \
--datadir="$cfg_dir_toolchain_sysroot" \
--prefix="$cfg_dir_rootfs/usr" \
--includedir="$cfg_dir_toolchain_sysroot/usr/include" \
--enable-cross-compile \
--build=$cfg_target_linux \
--host="$cfg_target_canonical" \
--enable-shared \
--disable-static \
--disable-xmp
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
# Libs:
for f in "$cfg_dir_rootfs/lib/"libexiv2*; do
cp -av "$f" "$cfg_dir_toolchain_sysroot/usr/lib"
done
}

View File

@ -1,30 +0,0 @@
version=\
(
"20080329"
)
url=\
(
"http://andrzejekiert.ovh.org/software/fconfig/fconfig-$version.tar.gz"
)
md5=\
(
"dac355e9f2a0f48c414c52e2034b6346"
)
post_unpack()
{
patch -d ../fconfig -p1 < "$pkg_dir"/patches/limits.patch
}
build()
{
$cmd_make -C ../fconfig CC=$cmd_target_cc
}
target_install()
{
cp -a ../fconfig/fconfig $cfg_dir_rootfs/usr/sbin
$cmd_target_strip $cfg_dir_rootfs/usr/sbin/fconfig
}

View File

@ -1,24 +0,0 @@
diff -uNr fconfig/fconfig.c fconfig.mod/fconfig.c
--- fconfig/fconfig.c 2010-02-05 05:01:14.000000000 +0000
+++ fconfig.mod/fconfig.c 2010-02-05 05:02:37.000000000 +0000
@@ -103,7 +103,7 @@
struct config_data *get_fconfig_handle(struct config_data *data,
uint8_t *dev, int offset, mode_t mode)
{
- uint16_t count;
+ uint32_t count;
if ((data->fd = open(dev, mode)) < 0) {
MESSAGE(VERB_LOW, "Failed to open device or file %s!\n", dev);
diff -uNr fconfig/ftypes.h fconfig.mod/ftypes.h
--- fconfig/ftypes.h 2010-02-05 05:01:14.000000000 +0000
+++ fconfig.mod/ftypes.h 2010-02-05 05:02:11.000000000 +0000
@@ -32,7 +32,7 @@
#define MAX_STRING_LENGTH 128
//CYGNUM_REDBOOT_FLASH_CONFIG_SIZE
-#define MAX_CONFIG_DATA 4096
+#define MAX_CONFIG_DATA 0x20000
/*
* RedBoot flash configuration type description.

View File

@ -1,6 +1,6 @@
version=\
(
"1.0"
"2.6"
)
url=\
@ -10,18 +10,23 @@ url=\
md5=\
(
3ed526cea20c1bffb5a37f7730f710bd
'5bf6097833a3fea6a9e51b0a456c6922'
)
configure()
{
mkdir -p ../build
./configure \
--sysroot="$cfg_dir_toolchain_sysroot" \
--prefix="$cfg_dir_rootfs/usr" \
--incdir="$cfg_dir_toolchain_sysroot/usr/include" \
--enable-cross-compile \
--cross-prefix="$cfg_target_canonical-" \
--libdir="$cfg_dir_builds/ffmpeg/build" \
--target-os="linux" \
--enable-memalign-hack \
--enable-shared \
--disable-static \
--enable-pic \
--enable-gpl \
--arch=$cfg_architecture
}
@ -31,8 +36,21 @@ build()
$cmd_make
}
host_install()
{
$cmd_make \
LIBDIR="$cfg_dir_toolchain_sysroot/usr/lib" \
install-headers
$cmd_make \
install-libs
}
target_install()
{
$cmd_make \
install
install-libs
$cmd_cp -r "$cfg_dir_builds/ffmpeg/build/"* "$cfg_dir_rootfs/usr/lib/"
$cmd_cp -r "$cfg_dir_builds/ffmpeg/build/"* "$cfg_dir_toolchain_sysroot/usr/lib/"
}

View File

@ -0,0 +1,15 @@
start()
{
if [ ! -f /opt/check_wlan ]; then
cp -ri /etc/check_wlan /opt/
fi
sh /opt/check_wlan < /dev/null > /dev/null 2>&1 &
}
stop()
{
echo "* Stopping process..."
killall sh /opt/check_wlan -9 > /dev/null 2>&1
echo "* Process not running."
}

View File

@ -1,5 +1,14 @@
start()
{
if [ -n "$cfg_eth_ext_ip$cfg_eth_prv_ip" ]; then
while [ 1 ]; do
echo "* Waiting for eth0 device..."
ifconfig eth0 > /dev/null 2>&1
[ $? -eq 0 ] && break
usleep 250000
done
fi
if [ -n "$cfg_bridge0_ip" ]; then
for itf in $cfg_bridge0_itfs; do
ifconfig $itf 0.0.0.0

View File

@ -0,0 +1,87 @@
start()
{
ifconfig wlan0 up
if [ -n "$cfg_eth_ext_ip$cfg_eth_prv_ip" ]; then
while [ 1 ]; do
echo "* Waiting for wlan0 device..."
ifconfig wlan0 > /dev/null 2>&1
[ $? -eq 0 ] && break
usleep 250000
done
fi
if [ -n "$cfg_bridge0_ip" ]; then
for itf in $cfg_bridge0_itfs; do
ifconfig $itf 0.0.0.0
done
brctl addbr bridge0
for itf in $cfg_bridge0_itfs; do
brctl addif bridge0 $itf
done
ifconfig bridge0 $cfg_bridge0_ip netmask $cfg_bridge0_nmask up
ifconfig bridge0 multicast
route add -net 224.0.0.0 netmask 240.0.0.0 dev bridge0
fi
# Public ethernet.
if [ -n "$cfg_eth_ext_ip" ]; then
if [ -n "$cfg_eth_ext_mk" ]; then
ifconfig wlan0 "$cfg_eth_ext_ip" netmask "$cfg_eth_ext_mk" up
else
ifconfig wlan0 "$cfg_eth_ext_ip" up
fi
ifconfig wlan0 multicast
route add -net 224.0.0.0 netmask 240.0.0.0 dev wlan0
# Fixed mac address with $cfg_eth_ext_mac based derivated from IP address $cfg_eth_ext_ip
if [ -n "$cfg_eth_ext_mac" ]; then
ifconfig wlan0 hw ether $cfg_eth_ext_mac
fi
fi
if [ -n "$cfg_eth_ext_gw" ]; then
route add default gw "$cfg_eth_ext_gw"
fi
if [ -n "$cfg_eth_ext_dns" ]; then
echo "nameserver $cfg_eth_ext_dns" > /etc/resolv.conf
fi
# Private ethernet.
if [ -n "$cfg_eth_prv_ip" ]; then
ifconfig wlan0:prv "$cfg_eth_prv_ip" up
fi
# Static ARP table.
if [ -n "$cfg_arp_table" ]; then
for e in $cfg_arp_table; do
ip="$(echo $e | cut -f1 -d'|')"
mac="$(echo $e | cut -f2 -d'|')"
arp -s "$ip" "$mac"
done
fi
iw wlan0 connect LSTS
ifconfig eth0 down
}
stop()
{
# Public ethernet.
if [ -n "$cfg_eth_ext_gw" ]; then
route del default
fi
if [ -n "$cfg_eth_ext_ip" ]; then
route del -net 224.0.0.0 netmask 240.0.0.0 dev wlan0
ifconfig wlan0 down
fi
# Private ethernet.
if [ -n "$cfg_eth_prv_ip" ]; then
ifconfig wlan0:prv down
fi
}

View File

@ -60,24 +60,17 @@ new_unpack()
return 1
}
kernel_dst()
kernel_mtd_part()
{
echo -n "* Detecting kernel destination... "
echo -n "* Detecting kernel MTD partition... "
# Kernel resides in the root filesystem.
if [ -d /boot/extlinux ]; then
echo "filesystem"
echo "not present"
return 0
fi
if ! [ -f /proc/mtd ]; then
echo "filesystem"
return 0
fi
grep 'uboot=ext2' /proc/cmdline > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "filesystem"
echo "not present"
return 0
fi
@ -85,21 +78,65 @@ kernel_dst()
if [ -z "$fw_kernel_mtd" ]; then
export fw_kernel_mtd="$(grep \"Kernel\" /proc/mtd | cut -f1 -d':')"
if [ -z "$fw_kernel_mtd" ]; then
echo "failed to detect kernel's MTD partition"
echo "not present"
return 1
fi
fi
echo "mtd"
echo "$fw_kernel_mtd"
return 0
}
kernel_upgrade()
uboot_mtd_part()
{
echo -n "* Detecting u-boot MTD partition... "
if ! [ -f /proc/mtd ]; then
echo "filesystem"
return 0
fi
export fw_uboot_mtd="$(grep \"uboot\" /proc/mtd | cut -f1 -d':')"
if [ -z "$fw_uboot_mtd" ]; then
export fw_uboot_mtd="$(grep \"u-boot\" /proc/mtd | cut -f1 -d':')"
if [ -z "$fw_uboot_mtd" ]; then
echo "not present"
return 1
fi
fi
echo "$fw_uboot_mtd"
return 0
}
uboot_mtd_upgrade()
{
bin="$base/.glued-new/boot/u-boot.bin"
if ! [ -f "$bin" ]; then
return 0
fi
if [ -z "$fw_uboot_mtd" ]; then
return 0
fi
echo -n "* Upgrading u-boot MTD partition... "
"$flashcp" -v "$bin" /dev/"$fw_uboot_mtd"
if [ $? -ne 0 ]; then
echo "failed"
return 1
fi
echo "done"
return 0
}
kernel_mtd_upgrade()
{
# Upgrade MTD
if [ -n "$fw_kernel_mtd" ]; then
echo -n "* Upgrading kernel... "
"$flashcp" -v "$base/.glued-new/boot/kernel" /dev/"$fw_kernel_mtd" > /dev/null 2>&1
"$flashcp" -v "$base/.glued-new/boot/kernel" /dev/"$fw_kernel_mtd"
if [ $? -ne 0 ]; then
echo "failed"
return 1
@ -130,9 +167,11 @@ uboot_part_upgrade()
echo 'done'
for f in MLO u-boot.img; do
echo -en "* $label: Replacing $f... "
cp "$base/.glued-new/boot/$f" /mnt
echo 'done'
if [ -f "/mnt/$f" ]; then
echo -en "* $label: Replacing $f... "
cp "$base/.glued-new/boot/$f" /mnt
echo 'done'
fi
done
echo -en "* $label: unmounting bootloader partition... "
@ -152,7 +191,8 @@ uboot_part_upgrade_check()
# Check if board is a BeagleBone black.
dmesg | grep -i 'machine model' | grep -i beaglebone > /dev/null 2>&1
if [ $? -eq 0 ]; then
uboot_part_upgrade 'BeagleBone Black' '/dev/mmcblk1p1'
dev="$(ls /sys/class/mmc_host/mmc?/mmc?:0001/block)"
uboot_part_upgrade 'BeagleBone Black' "/dev/${dev}p1"
return 0
fi
@ -162,7 +202,7 @@ uboot_part_upgrade_check()
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
return 0
fi
grep "IGEP v2" /proc/cpuinfo > /dev/null 2>&1
dmesg | grep Machine | grep 'IGEP v2' > /dev/null 2>&1
if [ $? -eq 0 ]; then
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
return 0
@ -171,6 +211,80 @@ uboot_part_upgrade_check()
return 0
}
rpi2_boot_part_upgrade()
{
label="$1"
dev="$2"
echo -en "* $label: probing bootloader partition... "
if ! [ -b "$dev" ]; then
echo 'not present'
return 0
fi
echo 'present'
echo -en "* $label: mounting bootloader partition... "
mount -t vfat "$dev" /mnt > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "failed"
return 0
fi
echo 'done'
for f in bootcode.bin cmdline.txt config.txt fixup.dat start.elf; do
if [ -f "/mnt/$f" ]; then
echo -en "* $label: Replacing $f... "
cp "$base/.glued-new/boot/$f" /mnt
echo 'done'
fi
done
for f in overlays; do
if [ -d "/mnt/$f" ]; then
echo -en "* $label: Replacing $f... "
rm -rf "/mnt/$f" && cp -r "$base/.glued-new/boot/$f" /mnt
echo 'done'
fi
done
for dtb in "$base/.glued-new/boot/"*.dtb; do
echo -en "* $label: Replacing $dtb... "
cp "$dtb" "/mnt"
echo 'done'
done
kernel='kernel7.img'
if [ -f "/mnt/$kernel" ]; then
echo -en "* $label: Replacing $kernel... "
cp "$base/.glued-new/boot/kernel" "/mnt/$kernel"
echo 'done'
fi
echo -en "* $label: unmounting bootloader partition... "
umount /mnt > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo 'failed'
return 1
fi
sync && sync && sync && sync
echo 'done'
return 0
}
# Check if board is a Raspberry Pi 2/3.
rpi2_boot_part_upgrade_check()
{
for machine in 'bcm2709' 'raspberry pi'; do
dmesg | grep Machine | grep -i "$machine" > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "* rpi2: machine detected"
rpi2_boot_part_upgrade "rpi2" "/dev/mmcblk0p1"
return 0
fi
done
}
old_move()
{
echo "* Mounting rootfs read-write..."
@ -216,10 +330,13 @@ start()
{
clean
version || return 1
kernel_dst || return 1
kernel_mtd_part || return 1
uboot_mtd_part || return 1
new_unpack || return 1
uboot_part_upgrade_check || return 1
kernel_upgrade || return 1
rpi2_boot_part_upgrade_check || return 1
kernel_mtd_upgrade || return 1
uboot_mtd_upgrade || return 1
old_move || return 1
}

View File

@ -1,4 +0,0 @@
ssh 22/tcp # The Secure Shell (SSH) Protocol
ssh 22/udp # The Secure Shell (SSH) Protocol
ntp 123/tcp # Network Time Protocol
ntp 123/udp # Network Time Protocol

View File

@ -0,0 +1,43 @@
#! /bin/sh
[ "$SUBSYSTEM" -ne "tty" ] && exit 0
if [ -z "$MAJOR" ] || [ -z "$MINOR" ]; then
exit 0
fi
MAJOR_HEX=$(echo $(printf %2x "$MAJOR"))
MINOR_HEX=$(echo $(printf %2x "$MINOR"))
# env | while read line; do
# logger -t "$0" "$line"
# done
case "$ACTION" in
add)
dev_root="/sys/$DEVPATH/../../../../"
itf_root="/sys/$DEVPATH/../../../"
vid="$(cat $dev_root/idVendor 2> /dev/null)"
pid="$(cat $dev_root/idProduct 2> /dev/null)"
serial="$(cat $dev_root/serial 2> /dev/null)"
[ -z "$serial" ] && serial='0'
itf="$(cat $itf_root/bInterfaceNumber 2> /dev/null)"
dev_name="${vid}_${pid}_${serial}_${itf}"
dev_file="/dev/uart/$dev_name"
logger -t "$0" "creating device: $dev_file"
mknod "$dev_file" c "$MAJOR" "$MINOR"
;;
remove)
removed_major_minor="$MAJOR_HEX:$MINOR_HEX"
for f in /dev/uart/*; do
file_major_minor="$(stat -c %t:%T "$f")"
#logger -t "$0" "$f | $removed_major_minor | $file_major_minor"
if [ "$file_major_minor" = "$removed_major_minor" ]; then
logger -t "$0" "removing device: $f"
rm -f "$f"
fi
done
;;
esac

View File

@ -14,6 +14,12 @@ fi
sysinit()
{
echo ""
if ! [ -c /dev/null ]; then
mount -t devtmpfs devtmpfs /dev
fi
if [ -f /.reboot ]; then
mount -t proc proc /proc
mount -o remount,rw /
@ -23,44 +29,45 @@ sysinit()
return 0
fi
# Mount pseudo-filesystems.
# Mount pseudo-filesystems.
mount -t sysfs sysfs /sys &&
mount -t proc proc /proc &&
mkdir /dev/shm /dev/pts &&
mkdir -p /dev/shm /dev/pts &&
mount -t tmpfs -o size="$cfg_tmpfs_size" tmpfs /dev/shm &&
mount -t devpts devpts /dev/pts &&
# Register mdev as hotplug event handler.
# Register mdev as hotplug event handler.
echo >/dev/mdev.seq &&
echo /sbin/mdev > /proc/sys/kernel/hotplug &&
# Update ld cache, populate /dev.
# mount -o remount,rw / &&
# Update ld cache, populate /dev.
/sbin/mdev -s &&
# /sbin/ldconfig &&
# mount -o remount,ro / &&
# Set minimum free kbytes.
# Set minimum free kbytes.
echo "$cfg_min_free_kbytes" > /proc/sys/vm/min_free_kbytes &&
# Set hostname.
# Set hostname.
hostname "$cfg_hostname" &&
# Loopback device.
# Loopback device.
ifconfig lo 127.0.0.1 netmask 255.0.0.0 up &&
# Load modules.
# Load modules.
modprobe -a $cfg_modules $cfg_modules1
# Start services.
# Start services.
for service in $cfg_services0 $cfg_services1 $cfg_services2; do
. /etc/rc.d/$service
start
done
echo ""
}
syshalt()
{
echo ""
if [ -f /.reboot ]; then
return 0
fi
@ -76,7 +83,9 @@ syshalt()
stop
done
umount -r /dev/pts /dev/shm /sys / /proc
umount -r /dev/pts /dev/shm /sys / /proc > /dev/null 2>&1
echo ""
}
service()

View File

@ -4,7 +4,7 @@ config='/etc/config'
if [ -f "$config" ]; then
source "$config"
echo "$cfg_glued_version"
echo "$cfg_glued_version ($cfg_glued_git_version)"
exit 0
fi

View File

@ -11,7 +11,7 @@ maintainer=\
target_install()
{
$cmd_mkdir \
"$cfg_dir_rootfs"/{dev,boot,proc,sys,mnt,etc,bin,sbin,opt,var,root} \
"$cfg_dir_rootfs"/{dev,boot,proc,sys,etc,bin,sbin,opt,var,mnt,root} \
"$cfg_dir_rootfs"/usr/{bin,sbin,lib,lib/firmware} \
"$cfg_dir_rootfs"/opt \
"$cfg_dir_rootfs"/dev/{shm,pts} \
@ -23,6 +23,7 @@ target_install()
ln -fs ../tmp "$cfg_dir_rootfs"/var/run &&
ln -fs ../tmp "$cfg_dir_rootfs"/var/log &&
ln -fs ../tmp "$cfg_dir_rootfs"/var/lock &&
ln -fs ../tmp "$cfg_dir_rootfs"/var/lib &&
ln -fs /sbin/init "$cfg_dir_rootfs"/init &&
ln -fs /tmp/resolv.conf "$cfg_dir_rootfs"/etc/resolv.conf &&
ln -fs /proc/self/mounts "$cfg_dir_rootfs"/etc/mtab &&

View File

@ -1,6 +1,6 @@
version=\
(
'4.8.2'
'4.9.3'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'a3d7d63b9cb6b6ea049469a0c4a43c9d'
'6f831b4d251872736e8e9cc09746f327'
)
build_dir=$pkg_var

View File

@ -2,7 +2,7 @@ source $pkg_common
requires=\
(
'eglibc/cross'
'glibc/cross'
)
configure()
@ -11,6 +11,7 @@ configure()
"../gcc-$version/configure" $cfg_target_gcc_configure_flags \
--target="$cfg_target_canonical" \
--prefix="$cfg_dir_toolchain" \
--with-build-sysroot="$cfg_dir_toolchain_sysroot" \
--with-sysroot="$cfg_dir_toolchain_sysroot" \
--with-mpfr="$cfg_dir_toolchain" \
--with-gmp="$cfg_dir_toolchain" \
@ -31,22 +32,32 @@ build()
host_install()
{
libdir=lib
if [ -d "$cfg_dir_toolchain/$cfg_target_canonical/lib64" ]; then
libdir=lib64
fi
$cmd_make install &&
cp -d \
"$cfg_dir_toolchain/$cfg_target_canonical/lib/"libgcc_s.so* \
"$cfg_dir_toolchain_sysroot/lib" &&
"$cfg_dir_toolchain/$cfg_target_canonical/$libdir"/libgcc_s.so* \
"$cfg_dir_toolchain_sysroot/lib" &&
cp -d \
"$cfg_dir_toolchain/$cfg_target_canonical/lib/"libstdc++.so* \
"$cfg_dir_toolchain_sysroot/usr/lib"
"$cfg_dir_toolchain/$cfg_target_canonical/$libdir"/libstdc++.so* \
"$cfg_dir_toolchain_sysroot/usr/lib"
}
target_install()
{
$cmd_mkdir \
"$cfg_dir_rootfs/usr/lib" &&
libdir=lib
if [ -d "$cfg_dir_toolchain/$cfg_target_canonical/lib64" ]; then
libdir=lib64
fi
for f in "$cfg_dir_toolchain/$cfg_target_canonical/lib/"{libgcc_s,libstdc++}.so*; do
$cmd_mkdir \
"$cfg_dir_rootfs/usr/$libdir" &&
for f in "$cfg_dir_toolchain/$cfg_target_canonical/$libdir/"{libgcc_s,libstdc++}.so*; do
base="$(basename $f)"
if [ $(echo "$base" | grep '\.py' 2> /dev/null) ]; then

View File

@ -2,7 +2,7 @@ source $pkg_common
requires=\
(
'eglibc/headers'
'glibc/headers'
)
configure()
@ -10,6 +10,7 @@ configure()
MAKEINFO='/bin/true' \
"../gcc-$version/configure" $cfg_target_gcc_configure_flags \
--prefix="$cfg_dir_toolchain" \
--with-build-sysroot="$cfg_dir_toolchain_sysroot" \
--with-sysroot="$cfg_dir_toolchain_sysroot" \
--target="$cfg_target_canonical" \
--host="$cfg_host_canonical" \

View File

@ -1,14 +1,14 @@
version=\
(
'7.7.1'
'7.10.1'
)
url=\
(
"http://ftp.gnu.org/gnu/gdb/gdb-$version.tar.bz2"
"http://ftp.gnu.org/gnu/gdb/gdb-$version.tar.xz"
)
md5=\
(
'77b20b515e7c25f032cb9732a66620fe'
'39e654460c9cdd80200a29ac020cfe11'
)

View File

@ -8,13 +8,14 @@ requires=\
configure()
{
cd "$pkg_build_dir" &&
CFLAGS=-I"$cfg_dir_toolchain/include" \
LDFLAGS=-L"$cfg_dir_toolchain/lib" \
"../gdb-$version/configure" \
LDFLAGS="-static -L$cfg_dir_toolchain/lib" \
CFLAGS="-I$cfg_dir_toolchain/include" \
"../gdb-$version/configure" \
--prefix="$cfg_dir_toolchain" \
--target="$cfg_target_canonical" \
--host="$cfg_host_canonical" \
--build="$cfg_host_canonical" \
--with-build-sysroot="$cfg_dir_toolchain_sysroot" \
--with-sysroot="$cfg_dir_toolchain_sysroot" \
--disable-nls \
--disable-tui
@ -28,5 +29,4 @@ build()
host_install()
{
$cmd_make -C "$pkg_build_dir" install
rm -rf "$cfg_dir_toolchain"/{info,man}
}

View File

@ -1,16 +1,16 @@
version=\
(
'2.15.17955'
'2.22'
)
url=\
(
"http://www.lsts.pt/glued/eglibc-$version.tar.bz2"
"http://ftp.gnu.org/pub/gnu/glibc/glibc-$version.tar.xz"
)
md5=\
(
'0694f304863e3c97562857388137a83e'
'e51e02bf552a0a1fbbdc948fb2f5e83c'
)
maintainer=\
@ -22,11 +22,9 @@ build_dir=$pkg_var
post_unpack()
{
ln -fs ../ports ../eglibc-$version/libc/ports
patches=$(ls "$pkg_dir"/patches/*.patch)
cd ../eglibc-$version
cd ../glibc-$version
if [ -n "$patches" ]; then
cat $patches | patch -p1
fi
@ -41,17 +39,24 @@ configure()
CC="$cfg_dir_toolchain/bin/$cfg_target_canonical-gcc" \
CXX="$cfg_dir_toolchain/bin/$cfg_target_canonical-g++" \
CFLAGS=$cfg_target_gcc_flags \
"../eglibc-$version/libc/configure" \
$cfg_target_eglibc_configure_flags \
"../glibc-$version/configure" \
$cfg_target_glibc_configure_flags \
--prefix=/usr \
--with-headers="$cfg_dir_toolchain_sysroot/usr/include" \
--with-build-sysroot="$cfg_dir_toolchain_sysroot" \
--with-sysroot="$cfg_dir_toolchain_sysroot" \
--build="$cfg_host_canonical" \
--host="$cfg_target_canonical" \
--disable-multilib \
--disable-profile \
--without-gd \
--without-cvs \
--enable-add-ons \
--with-tls \
--enable-kernel=2.6.32 \
--disable-nls
--disable-nls \
--enable-static-nss \
--disable-werror \
--enable-obsolete-rpc \
--enable-bind-now
}

View File

@ -7,13 +7,12 @@ requires=\
build()
{
$cmd_make -j1
$cmd_make
}
host_install()
{
$cmd_make install_root="$cfg_dir_toolchain_sysroot" -j1 install &&
cp "$pkg_dir"/files/timepps.h "$cfg_dir_toolchain_sysroot/usr/include"
$cmd_make install_root="$cfg_dir_toolchain_sysroot" install
}
target_install()

View File

@ -21,4 +21,6 @@ EOF
$cmd_make csu/subdir_lib &&
cp csu/crt1.o csu/crti.o csu/crtn.o "$cfg_dir_toolchain_sysroot/usr/lib" &&
$cmd_target_cc -nostdlib -nostartfiles -shared -x c /dev/null -o "$cfg_dir_toolchain_sysroot/usr/lib/libc.so"
$cmd_mkdir "$cfg_dir_toolchain_sysroot/usr/include/gnu" &&
touch "$cfg_dir_toolchain_sysroot/usr/include/gnu/stubs.h"
}

View File

@ -1,27 +1,27 @@
version=\
(
"5.0.4"
'5.0.4'
)
url=\
(
"ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.bz2"
"http://ftp.gnu.org/pub/gnu/gmp/gmp-$version.tar.bz2"
)
md5=\
(
"50c3edcb7c9438e04377ee9a1a061b79"
'50c3edcb7c9438e04377ee9a1a061b79'
)
maintainer=\
(
"Ricardo Martins <rasm@fe.up.pt>"
'Ricardo Martins <rasm@oceanscan-mst.com>'
)
configure()
{
./configure \
--prefix="${cfg_dir_toolchain}" \
--prefix="$cfg_dir_toolchain" \
--disable-shared \
--enable-static
}

34
rules/gperf/host.bash Normal file
View File

@ -0,0 +1,34 @@
version=\
(
'3.0.4'
)
url=\
(
"http://ftp.gnu.org/pub/gnu/gperf/gperf-$version.tar.gz"
)
md5=\
(
'c1f1db32fb6598d6a93e6e88796a8632'
)
maintainer=\
(
'Ricardo Martins <rasm@oceanscan-mst.com>'
)
configure()
{
"../gperf-$version/configure" \
--prefix="$cfg_dir_toolchain"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}

66
rules/hidapi/default.bash Normal file
View File

@ -0,0 +1,66 @@
version=\
(
'0.8.0-rc1'
)
url=\
(
"https://github.com/signal11/hidapi/archive/hidapi-$version.tar.gz"
)
md5=\
(
'069f9dd746edc37b6b6d0e3656f47199'
)
maintainer=\
(
'Ricardo Martins <rasm@oceanscan-mst.com>'
)
requires=\
(
'libtool/host'
'libusb/default'
'systemd/default'
)
post_unpack()
{
patches=$(ls "$pkg_dir/patches/"*.patch)
if [ -n "$patches" ]; then
cat $patches | patch -p1
fi
}
configure()
{
cd "../hidapi-hidapi-$version" &&
./bootstrap
./configure \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical"
}
build()
{
$cmd_make -C "../hidapi-hidapi-$version"
}
host_install()
{
$cmd_make -C "../hidapi-hidapi-$version" install
}
target_install()
{
$cmd_cp \
"$cfg_dir_toolchain_sysroot/usr/lib/libhidapi"*.so* \
"$cfg_dir_rootfs/lib" &&
$cmd_target_strip \
"$cfg_dir_rootfs/lib/libhidapi"*.so*
}

37
rules/htop/default.bash Normal file
View File

@ -0,0 +1,37 @@
version=\
(
'2.0.2'
)
url=\
(
"https://hisham.hm/htop/releases/$version/htop-$version.tar.gz"
)
md5=\
(
'7d354d904bad591a931ad57e99fea84a'
)
maintainer=\
(
'Jose Pinto <zepinto@lsts.pt>'
)
build()
{
$cmd_make
}
configure()
{
cd "../htop-$version"
./configure --disable-unicode --prefix="${cfg_dir_rootfs}"
}
target_install()
{
cd "../htop-$version"
$cmd_make install
}

View File

@ -1,16 +1,18 @@
version=\
(
'3.0.2'
'3.1.0'
)
git_tag="$(echo $version | sed 's/\./-/g')"
url=\
(
"http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-$version.tar.bz2"
"https://github.com/groeck/i2c-tools/archive/V$git_tag.tar.gz"
)
md5=\
(
'b546345ac19db56719dea6b8199f11e0'
'7ed75853fe3c3dfd2d0d70d5831abfef'
)
maintainer=\
@ -20,12 +22,12 @@ maintainer=\
build()
{
$cmd_make CC="$cmd_target_cc"
$cmd_make -C "../i2c-tools-$git_tag" CC="$cmd_target_cc"
}
target_install()
{
$cmd_target_strip tools/i2cdetect -o "$cfg_dir_rootfs/usr/bin/i2cdetect" &&
$cmd_target_strip tools/i2cget -o "$cfg_dir_rootfs/usr/bin/i2cget" &&
$cmd_target_strip tools/i2cset -o "$cfg_dir_rootfs/usr/bin/i2cset"
for t in i2cdetect i2cget i2cset; do
$cmd_target_strip "../i2c-tools-$git_tag/tools/$t" -o "$cfg_dir_rootfs/usr/bin/$t"
done
}

View File

@ -0,0 +1,29 @@
version=\
(
'2.30'
)
url=\
(
"http://sethwklein.net/iana-etc-$version.tar.bz2"
)
md5=\
(
'3ba3afb1d1b261383d247f46cb135ee8'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
build()
{
$cmd_make STRIP=yes
}
target_install()
{
$cmd_make DESTDIR="$cfg_dir_rootfs" install
}

37
rules/isl/host.bash Normal file
View File

@ -0,0 +1,37 @@
version=\
(
'0.12.2'
)
url=\
(
"ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-$version.tar.bz2"
)
md5=\
(
'e039bfcfb6c2ab039b8ee69bf883e824'
)
maintainer=\
(
'Ricardo Martins <rasm@oceanscan-mst.com>'
)
configure()
{
"../isl-$version/configure" \
--prefix="$cfg_dir_toolchain" \
--disable-shared \
--enable-static
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install-strip
}

34
rules/iw/default.bash Normal file
View File

@ -0,0 +1,34 @@
version=\
(
"4.9"
)
url=\
(
"http://lsts.pt/glued/iw-$version.tar.bz2"
)
md5=\
(
"ae8ccaa154449300c2c02eb90a37eebb"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
configure()
{
mv "../iw_$version/etc" "../iw-$version/"
mv "../iw_$version/lib" "../iw-$version/"
mv "../iw_$version/sbin" "../iw-$version/"
}
target_install()
{
$cmd_cp -r "etc/"* "$cfg_dir_rootfs/etc/"
$cmd_cp -r "sbin/"* "$cfg_dir_rootfs/sbin/"
$cmd_cp -r "lib/"* "$cfg_dir_rootfs/lib/"
$cmd_cp -r "$pkg_dir/fs/"* "$cfg_dir_rootfs/"
}

Some files were not shown because too many files have changed in this diff Show More