Commit Graph

174 Commits

Author SHA1 Message Date
Arne Fitzenreiter
7939a65ff8 checkrootfiles: fix checks on hosts with newer grep
newer grep versions ignore * in --exclude
work around this by excluding all arch specific directories with
--exclude-dir

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2023-05-16 18:52:50 +00:00
Arne Fitzenreiter
2a9688211e checkrootfiles: add riscv64 checks 2023-03-04 14:01:43 +00:00
Arne Fitzenreiter
f5ee536b72 rootfile: add many rootfiles for riscv64
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-02-21 10:15:39 +00:00
Michael Tremer
39f94ee8eb Drop support for armv6l (and armv7hl)
This removes support for building IPFire for 32 bit ARM architectures.

This has been decided in August 2022 with six months notice as there are
not very many users and hardware is generally not available any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-02-10 09:26:37 +00:00
Adolf Belka
75bbee2ae3 manualpages: Correct link to wiki for Network (other)
- Network (other) help link was set to go to Network (internal) wiki page
  Link modified
- Running the check_manualpages.pl script requires it to be executable so the build
   changed the permissions mode from 644 to 755

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2022-09-23 10:39:33 +00:00
Arne Fitzenreiter
57a61862f9 checkrootfiles: exclude update.sh at x86_64 check
the updatescript also contains this string so the check
produce a false positive.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-20 10:21:24 +00:00
Leo-Andres Hofmann
64db1faf67 manualpages: Add path and file extension to the configuration
This allows to correctly assign an URL to a file without relying
on unique base names.
A custom read function is required because General::readhash()
doesn't allow paths as hash keys. Modifying the existing functions
could affect other CGIs and was therefore dismissed.

Fixes: #12806

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
2022-06-04 09:23:42 +00:00
Peter Müller
98b761a557 download-rust-crate: Switch from MD5 to BLAKE2
https://wiki.ipfire.org/devel/telco/2022-05-02

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-02 20:26:46 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Arne Fitzenreiter
66ea201513 checkrootfiles: exclude some rust paks and fix armv6l
some new rust packages contain files with x86_64 or aarch64 on
all archictectures. They are now excluded from check.
also this fix the check for armv6l.
2022-02-05 08:59:08 +00:00
Michael Tremer
5352e92361 rust: Add script to automatically generate packages
This is a very tiring and repetitive process which is now automated in
this script which will find the latest version and create a LFS file for
it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:32 +00:00
Arne Fitzenreiter
59e683df25 checkrootfiles: don't report aarch64 in gdb and liburcu
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-02 14:27:09 +00:00
Michael Tremer
6cf219c427 Drop support for i586
This patch removes support for i586 according to the decision being
taken over a year ago.

It removes the architecture from the build system and removes all
required hacks and other quirks that have been necessary before.

There is no need to ship any changed files to the remaining
architectures as the removed code branches have not been used.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-04 23:27:26 +01:00
Leo-Andres Hofmann
4edcd4b217 make.sh: Add check-manualpages function
This patch adds a function to verify the user manual links
configuration file at build time.
Run with "./make.sh check-manualpages"

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2021-11-19 07:18:25 +01:00
Arne Fitzenreiter
e1253a4d34 rootfile-check: exclude gdb
gdb always contain aarch64 in a syscall list.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-12-03 07:50:41 +01:00
Michael Tremer
ba137dd898 make.sh: Add command to find dependencies
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 08:04:47 +00:00
Arne Fitzenreiter
289a86a320 rootfiles: change MACHINE to xxxMACHINExxx
berkeley has a file that nane contain MACHINE wich should not
replaced by the build architecture.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-10 17:27:28 +00:00
Arne Fitzenreiter
30b3b2cde7 checkrootfiles: ignore arch folder and add x86_64,aarch64
rust has arch depending rootfiles which make no sense to
replache the arch by machine.
Also added missing arches to check.
2019-12-29 13:42:31 +00:00
Michael Tremer
21eead8d17 Add script to search for missing libraries
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-02-24 11:45:55 +00:00
Michael Tremer
4fc73ace76 docker: Always agree to install all updates
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-11-30 20:16:08 +00:00
Michael Tremer
22aefdbe83 docker: Install wget in docker environment
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-11-23 22:23:27 +00:00
Michael Tremer
4e4327994d docker: Add Debian image with basic build environment
By running "./make.sh docker" the current build environment
will be mounted into a Debian-based docker container.

This clean build environment can be used to compile the
toolchain or something...

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-11-23 19:48:16 +00:00
Michael Tremer
db6b40500c lang: Show the full untranslated string
This will help translators to add missing strings easier

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-11-09 15:03:27 +00:00
Arne Fitzenreiter
151c8dfc0b checknewlog: don't report u-boot mkimage rootfile.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-03-24 11:41:45 +01:00
Michael Tremer
4406bd1525 English is the reference language
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:15:41 +00:00
Michael Tremer
69a6ec55ad make.sh: Merge make-functions into make.sh
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-23 15:57:50 +00:00
Michael Tremer
6c4cc7ea1b Move toolchain from /tools to /tools_${arch}
This will allow us to run multiple builds on the same
system at the same time (or at least have them on disk).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-23 15:57:28 +00:00
Michael Tremer
5a4fb99e8a make.sh: Default to armv5tel on armv7* build hosts
We won't offer a native port to ARMv7 in the near future
and to default to an architecture that is working on these
machines, we select armv5tel as default

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 21:56:27 +00:00
Michael Tremer
32e6d3e320 Revert "make.sh: Use -pipe in CFLAGS when host has >1GB of memory"
This reverts commit 7e1639a481.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 21:49:15 +00:00
Michael Tremer
a98ab1d7fd make.sh: Calculate MAKETUNING depending on available memory
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 15:43:14 +01:00
Michael Tremer
1445a5ac43 make.sh: Add function to determine how many CPU cores the build host has
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 15:25:11 +01:00
Michael Tremer
7e1639a481 make.sh: Use -pipe in CFLAGS when host has >1GB of memory
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 15:27:00 +01:00
Michael Tremer
5190eea24f make.sh: Determine how much memory the build host has
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 15:25:56 +01:00
Arne Fitzenreiter
fbe365b955 make-functions: move MAKETUNING before make
this is needed to edit MAKTUNING in the lfs file
which is used by boost and cmake to build on
machines with less than 4GB Memory.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-07-08 15:31:15 +02:00
Arne Fitzenreiter
6993e8fab4 checknewlog: skip cmake because log contain space in filenames
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-07-05 08:03:46 +02:00
Matthias Fischer
2be66b3d85 Cosmetic fix for 'make-functions'-output
'$LAST_STAGE_TIME'-output got overwritten by the following 'version/options/time/status'-line.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-06-07 09:53:50 +01:00
Michael Tremer
fdc0944aa7 make.sh: Fix MAKETUNING
This variable was not passed any more after the toolchain stage
which caused builds to be very slow.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-06-01 10:13:31 +01:00
Michael Tremer
deb99a74d3 make.sh: Show architecture we are building for
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-20 10:15:56 +01:00
Michael Tremer
9f172a3db0 make.sh: Correctly set environment variables in toolchain pass
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-20 09:33:27 +01:00
Michael Tremer
2b4156d2e4 make.sh: Drop installmake()
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:21:03 +01:00
Michael Tremer
489145db2d make.sh: Drop ipfiremake() which is identical to lfsmake2
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:20:55 +01:00
Michael Tremer
9c82fea2c7 make.sh: Pass BUILD_PLATFORM variable to build environment
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:07:04 +01:00
Michael Tremer
e5ecbf7d6b make.sh: Use enterchroot function in ipfiredist
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:03:18 +01:00
Michael Tremer
1977473d4a make.sh: Let lfsmake2 use the new enterchroot function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:02:29 +01:00
Michael Tremer
9d928e829c make.sh: Create a function to execute a command in chroot
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:02:18 +01:00
Michael Tremer
58256cf152 make.sh: Correctly configure ccache in toolchain stage
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:02:10 +01:00
Michael Tremer
dc7d6b204d make.sh: Cleanup of polluted environment
The build environment is using a number of variables which
occasionally conflicted with some other build systems.

This patch cleans that up by renaming some variables and
later unexporting them in the lfs files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:02:03 +01:00
Michael Tremer
ff92f1ac38 armv7hl: Build without -mthumb
Causes some linking problems when bootstrapping the toolchain

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:01:19 +01:00
Michael Tremer
4162dbaef1 Support building for armv7hl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:01:07 +01:00
Michael Tremer
16449f7504 Build for aarch64 by default on aarch64 hosts
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 11:59:23 +01:00