Commit Graph

117 Commits

Author SHA1 Message Date
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
Michael Tremer
b0ad5600db ccache: Include architecture in hashing
ccache was configured to neglegt the compiler it is using
which causes conflicts when using the same cache for compiling
multiple architectures. Hence we include the architecture
(and the toolchain version) in the hash so that a different
hash will be generated.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-09-14 13:07:43 +01:00
Michael Tremer
9f3bbb9d30 make.sh: Fix cross-architecture builds when using the --target= parameter
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-09-13 17:56:24 +01:00
Michael Tremer
fc155193bd Allow building for x86_64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-22 12:24:20 +02:00
Arne Fitzenreiter
e0c923f424 Add rootfile check for hardcoded machine type. 2015-04-25 13:23:34 +02:00
Michael Tremer
5ae2227566 installer+setup: Automatically update language lists 2015-02-04 13:31:36 +01:00
Michael Tremer
584601c70e Update some stuff for the Italian translation 2014-10-28 02:04:05 +01:00
Michael Tremer
bc0c55088e Remove old installer/setup translations 2014-08-21 20:35:48 +02:00
Michael Tremer
da3dbb2a42 buildsystem: Explicitely compile with -mtune=generic 2014-07-18 10:20:41 +02:00
Arne Fitzenreiter
261624fb99 checkwronglinks: add a check for var/run/* in rootfiles. 2014-07-17 06:59:37 +02:00
Michael Tremer
e8546b858c make.sh: Fix variable name that sets the architecture. 2014-05-28 20:21:01 +02:00
Michael Tremer
4e6c35f77d make.sh: Add more information to the chroot bash prompt. 2014-05-24 18:22:44 +02:00
Michael Tremer
c8859a8213 make.sh: Remove C{,XX}2FLAGS. 2014-05-24 18:22:44 +02:00
Michael Tremer
6f67c28d99 make.sh: Remove KGCC variable.
This has been unused since a long time any way.
2014-05-24 18:22:44 +02:00
Michael Tremer
a153194620 Make it a proper login shell when entering the build chroot. 2014-05-24 18:22:44 +02:00
Michael Tremer
bcb9dc13d7 Support emulation of an ARM environment on Intel systems.
qemu-user is used to emulate an ARM chroot environment
that is used to compile the system for ARM target systems.
2014-05-24 18:22:44 +02:00
Alexander Marx
33e64584dd TOOLS: new script langdiff added. With this script one can check a languagefile against another and gets a txtfile conatining the missing lines. 2013-12-13 08:03:23 +01:00
Arne Fitzenreiter
5b6acb88c6 Fix empty system-release. 2013-10-02 16:24:24 +02:00
Michael Tremer
42e4fa805e cdrom: Update /etc/system-release when needed. 2013-09-30 21:28:52 +02:00
Michael Tremer
d02853e73c Create /etc/system-release in stage2. 2013-09-30 21:16:03 +02:00
Michael Tremer
065c9931ac Write /opt/pakfire/db/core/mine in stage2. 2013-09-30 21:08:44 +02:00
Michael Tremer
99093fa516 Use hardened compiler flags. 2013-09-27 01:46:44 +02:00
Arne Fitzenreiter
dd8565044b buildsystem: remove linux-xen from logs to check.
This log was always listed because parsing problems.
2013-06-21 23:20:05 +02:00
Arne Fitzenreiter
39e56fae74 buildsystem: add a check for wrong "etc/init.d/..." entries.
This will destroy the symlink from /etc/init.d to /etc/rc.d/init.d at unpack.
2013-06-21 23:17:46 +02:00
Ersan Yildirim
910193da52 Add Turkish translation. 2013-05-19 14:56:19 +02:00
Michael Tremer
b34dac1ff5 make.sh: Add Dutch to the language management code. 2013-02-05 21:17:06 +01:00
Michael Tremer
bc259fdcc1 Fix stripping. 2012-08-21 14:40:48 +02:00
Michael Tremer
bb0ab3814f make.sh: Don't use linux32 anymore. 2012-08-15 20:01:30 +02:00
Michael Tremer
6e0bd65765 fake-environ: Don't do that on a toolchain build. 2012-08-15 19:09:04 +02:00
Michael Tremer
e4783340bf Enable ccache for all stages. 2012-08-12 16:50:38 -04:00
Michael Tremer
b7d60471a2 Remove tons of old uClibc/installer system related stuff. 2012-08-11 18:13:23 -04:00
Michael Tremer
c1b57e252c toolchain: Add CROSSTARGET variable.
This is to create an intermediate toolchain, which will
build the target binutils/glibc/gcc.
2012-08-11 17:38:36 -04:00
Michael Tremer
51537b2aa8 Merge branch 'ccache-update' into glibc-update2 2012-08-06 22:06:36 +02:00
Michael Tremer
ad92a4b8ad ccache: Update to 3.1.7. 2012-07-31 22:40:33 +02:00
Arne Fitzenreiter
d30f0e5ad8 build: add armv6l to supported buildplatforms. 2012-05-23 13:38:18 +02:00
Michael Tremer
8bd492fd49 CFLAGS: Explicitely enforce softfp. 2011-12-11 13:15:27 +01:00
Michael Tremer
5e3aa60749 Enable build for armv5tel on armv7l. 2011-12-11 12:29:54 +01:00
Michael Tremer
b848d53c84 Build preload lib to fake output of uname. 2011-12-11 12:29:46 +01:00
Arne Fitzenreiter
33e7a2609e Fix package version display. 2011-10-05 20:20:13 +02:00
Michael Tremer
32b6efe8da Remove tons of code from the buildscripts that was not used anymore. 2011-09-18 14:51:23 +02:00
Michael Tremer
3c9374292a Remove ED=full.
This was needed to distinct between a full version of IPFire,
a light one without a package manager and a development version
containing a C compiler and stuff.
None of that except the full version were ever realized and so
we can drop the code.
2011-09-18 14:43:49 +02:00
Michael Tremer
846e756e16 Add possibility to disable packages for some arches. 2011-09-18 02:15:28 +02:00
Michael Tremer
df94e866a3 Add MACHINE_TYPE variable to be able to support multiple versions of one platform. 2011-09-15 23:53:00 +02:00
Michael Tremer
51f9e7ace1 Add support to build an ARM toolchain. 2011-09-02 12:06:09 +00:00
Arne Fitzenreiter
2bb7b134c3 langs: add russian to buildsystem. 2011-07-30 12:29:19 +02:00
Arne Fitzenreiter
e21677b139 langs_checker: fix sort_strings. 2011-07-25 00:15:56 +02:00
Arne Fitzenreiter
196e5f8fa0 langs: include polish to build and core50. 2011-06-19 16:19:44 +02:00