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
Michael Tremer
bab5ff7c5b
Allow building for aarch64
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-05-18 11:59:17 +01:00
Michael Tremer
e259f335ae
toolchain: Build without hardening
...
The toolchain will be built without hardening which makes
the entire bootstrapping process way more complicated than
necessary and sometimes fail on some host distribution.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-05-18 11:59:00 +01:00
Michael Tremer
b4b62a3414
make.sh: Set TOOLCHAIN=1 in toolchain stage
...
This allows better lfs files and fewer ifdefs in toolchain stage.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-05-18 11:51:22 +01:00
Michael Tremer
e467a2f274
make.sh: Adjust toolchain PATH in lfsmake1 instead of globally
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-05-18 11:51:12 +01:00
Michael Tremer
3f9ecfdc27
make.sh: Show last lines of log when build aborts
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-05-18 11:49:27 +01:00
Michael Tremer
48396bdffe
buildsystem: Escape curly brackets
...
Newer versions of perl complain about using unescaped
left curly brackets.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2016-06-01 22:17:10 +01:00
Arne Fitzenreiter
6378290f73
make-functions: enable build on aarch64 multilib
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2016-04-30 03:49:06 -04:00
Michael Tremer
857b2c795e
Improve hardening by using -fstack-protector-strong
...
This functionality is now available for us since we updated
to GCC 4.9 and just improves the stack smashing protector
in GCC.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2016-01-18 22:26:23 +00:00
Arne Fitzenreiter
764a3f1ff2
toolchain: fix full toolchain crossbuild
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2016-01-07 17:41:43 +01:00
Arne Fitzenreiter
1f4fea71a6
make-functions: check working binfmt_misc and add x86_64 helper.
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2015-09-20 17:06:59 +02:00
Michael Tremer
c0d5649e99
make.sh: Fix typo in variable name COMPILERCACHE -> COMPILERCHECK
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2015-09-14 13:48:45 +01:00