summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/manual-config.nix
Commit message (Collapse)AuthorAge
* linux_testing (5.2.0-rc1): fix build, include 'cpio' in nativeBuildInputsAustin Seipp2019-05-21
| | | | | | | | | | | | | | | | | | 81d4e65891f92e8e72c244da663c83c1e40dc919 automatically bumped linux_testing to 5.2.0-rc1, but the 5.2 merge window included a new feature adding compressed headers for compiled kernels into /proc/kheaders.tar.xz See https://github.com/torvalds/linux/commit/43d8ce9d65a54846d378545770991e65838981e0 This feature requires 'cpio' to now be included in nativeBuildInputs since it's used to construct that archive. This wasn't caught by Hydra since we turn off build of linuxPackages, but ideally we should at least build the kernel in the future (linux_testing itself.) Signed-off-by: Austin Seipp <aseipp@pobox.com>
* linux: Makes the -dev output reproducibleSamuel Dionne-Riel2019-05-04
|
* kernel: extend the RANDSTRUCT seed with a user-configurable sectionPierre Bourdon2019-01-24
|
* kernel: make the RANDSTRUCT seed deterministicPierre Bourdon2019-01-11
|
* Revert "linux: inside nix-shell, allow make menuconfig"Patrick Hilhorst2018-12-10
|
* treewide: disable pie in more placesMatthew Bauer2018-11-13
| | | | | | | | | | | | Some packages don’t work correctly with pie. Here I disable it for: - busybox - linux kernel - kexectools I also get rid of the Musl conditional for disabling pie in GCC and Binutils. Some day we might want to enable PIE without Musl and it will be useful to have the *just* work with our compiler and linkers.
* linux: inside nix-shell, allow make menuconfigMatthieu Coudron2018-10-05
| | | | Use stdenv.lib.inNixShell to check for nix-shell and potentially bring pkgconfig/ncurses.
* linux kernel: increase build timeout from 2 to 4 hrs (#47564)xeji2018-10-01
| | | | We've recently seen a lot of kernel build timeouts on hydra, so let's increase the timeout.
* kernel: increase build timeout to two hoursWael M. Nasreddine2018-09-04
|
* treewide: Remove usage of remaining redundant platform compatability stuffJohn Ericson2018-08-30
| | | | | Want to get this out of here for 18.09, so it can be deprecated thereafter.
* [RFC] ppc64le enablement (#45340)CrystalGamma2018-08-21
| | | | | | | | | | | | | | | | * ppc64le enablement * gcc, glibc: properly handle __float128 * lib/systems, stdenv: syntax cleanup * gcc7: remove ugly hack * gcc: add/update __float128 flags * stdenv: add another pair of quotes for consistency * gcc: move __float128 flag for ppc64le-glibc into common/platform-flags.nix
* kernel: Reduce peak disk usage during buildTuomas Tynkkynen2018-07-24
| | | | | | | | | | | Since commit f620b1b693ec25af, the build directory is located inside the source directory. Thus, the `cp -dpR` copies gigabytes worth of .o files only to be deleted later on when we trim all non-essential files from `$dev/lib/modules/${modDirVersion}/source/` thus causing a significant amount of wasted I/O and peak disk usage. As `cp` doesn't come with a `--exclude` flag, use rsync. And throw out the Documentation folder while at it.
* kernel: Respect makeFlagsArray in more placesTuomas Tynkkynen2018-07-24
| | | | It's used two lines above, so be consistent.
* kernel: Remove dead codeTuomas Tynkkynen2018-07-24
| | | | It's set in the same phase
* kernel: Remove empty preUnpackTuomas Tynkkynen2018-07-24
|
* pkgs/*: remove unreferenced function argumentsvolth2018-07-21
|
* linux: translate config to structured configDan Peebles2018-06-30
| | | | | | | | | | | | Instead of using a string to describe kernel config, use a nix attribute set, then converted to a string. - allows to override the config, aka convert 'yes' into 'modules' or vice-versa - while for now merging different configs is still crude (last spec wins), at least there should be only one CONFIG_XYZ value compared to the current string config where the first defined would be used and others ignored. [initial idea by copumpkin in 2016, a major rebase to 2018 by teto]
* linuxPackages_custom: fix missing argument and add testRobert Hensing2018-04-07
| | | | | | | | | | | | | | | The required argument 'hostPlatform' was missing from linuxPackages_custom's call to linuxManualConfig. In order to prevent this in the future, this commit adds linuxPackages_custom_tinyconfig_kernel so linuxPackages_custom gets tested. This also adds linuxConfig, to derivate default linux configurations via make defconfig, make tinyconfig, etc. Closes #38034. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* linux: Don't try to install firmware on newer kernels.Shea Levy2018-02-19
| | | | This was disabled in torvalds/linux@5620a0d1aacd554ebebcff373e31107bb1ef7769
* linuxManualConfig: Fix build on non-modular kernelsShea Levy2018-02-19
|
* kernel: Add deps for building 4.16Tuomas Tynkkynen2018-02-16
|
* linux: use absolute paths for compilersVladimír Čunát2018-02-12
| | | | | HOSTCC was taking precedence before stdenv's normal CC, at least in case of non-cross build.
* linuxPackages: build by kernel's stdenvVladimír Čunát2018-02-11
|
* linux: Use concatStringsSepTuomas Tynkkynen2018-02-11
|
* kernel: buildLinux replaces import ./generic.nixMatthieu Coudron2018-02-07
| | | | | | | - defined buildLinux as generic.nix instead of manual-config.nix. This makes kernel derivations a tad more similar to your typical derivations. - moved $buildRoot to within the source folder, this way it doesn't have to be created before the unpackPhase and make it easier to work on kernel source without running the unpackPhase
* kernel: fix dependenciesBen Wolsieffer2018-01-15
|
* kernel: revert seemingly incorrect change to extraMeta mergingBen Wolsieffer2018-01-15
|
* kernel: Fix cross-compilationBen Gamari2018-01-15
|
* kernel: Use build kmodBen Gamari2018-01-15
|
* kernel: Enable cross compilingBen Gamari2018-01-15
|
* kernel 4.14 require libelf to compile modules.David Guibert2017-12-29
| | | | | | | | | | [...] make modules -C /nix/store/h1vzl6bq4wif3m8dd1bw2p3fv4shjg3n-linux-4.14.9-dev/lib/modules/4.14.9/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/tmp/nix-build-spl-kernel-2017-11-16-4.14.9.drv-0/source/build /nix/store/h1vzl6bq4wif3m8dd1bw2p3fv4shjg3n-linux-4.14.9-dev/lib/modules/4.14.9/source/Makefile:939: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop. This patch introduces kernel.moduleBuildDependencies to avoid the logic "stdenv.lib.optional (stdenv.lib.versionAtLeast kernel.version "4.14") libelf" in multiple places. [dezgeg did some minor tweaks on top]
* linux: 4.14.8 -> 4.14.9Andreas Rammhold2017-12-26
| | | | | Besides fixes for the recent BPF issues there is also a patch included that fixes booting on aarch64 (e.g. RPi3) ;-)
* linux-4.13: mark as insecure (+required generic changes)Vladimír Čunát2017-12-04
| | | | | extraMeta was being fed as passthru without being processed by stdenv, so without those changes, adding the security attribute would be useless.
* linux-testing: 4.14-rc8 -> 4.15-rc1Philipp Steinpass2017-11-28
| | | | Closes #32137
* kernel: improve modDirVersion error messageMatthieu Coudron2017-11-21
| | | | Now prints the current modDirVersion. Close #31887.
* kernel: Fix out-of-tree modules on aarch64Tuomas Tynkkynen2017-11-17
| | | | https://hydra.nixos.org/build/62813493
* platforms.nix: Clean up more 'uboot' legacyTuomas Tynkkynen2017-11-05
| | | | | | For a while now, the only thing the 'uboot' attribute does is to tell whether to add ubootTools to kernel/initrd builds. That can be determined with platform.kernelTarget == "uImage" just as well.
* kernel, initrd: Remove legacy ubootChooserTuomas Tynkkynen2017-11-05
|
* buildLinux: allow overriding stdenv on each callVladimír Čunát2017-08-20
|
* Update homepage attributes: http -> httpsmimadrid2017-08-03
| | | | | Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
* kernel manual-config: Don't use stdenv.crosshsloan2017-06-28
|
* linux: support using gcc pluginsJoachim Fasting2017-05-06
| | | | | | linux 4.8 onwards support gcc plugins. This patch adds build inputs required to make use of gcc plugins to the generic kernel build environment.
* kernel: do not remove .o files on installPhaseVolth2017-04-01
|
* kernel: Add a validity check for modDirVersionTuomas Tynkkynen2017-03-13
| | | | | | Because if you get it wrong, you get a very confusing error message at the end of the kernel build, which is quite painful as the build can take a long time.
* linux: fix installTargets for AArch64Nathan Zadoks2017-01-25
| | | | | | [dezgeg: note that we are currently using just 'Image' instead of 'Image.gz' as U-Boot doesn't support the latter yet. We might switch once it does since the kernel images are quite big]
* kernel: Use built-in dtbs_install target instead of rolling our ownTuomas Tynkkynen2016-12-10
| | | | | In particular, on aarch64 all the .dtb files will be in subdirectories and *.dtb won't match anything.
* kernel: Remove propagatedBuildOutputsTuomas Tynkkynen2016-08-29
| | | | Not needed after the shuffle.
* Merge branch 'hardened-stdenv' into stagingobadz2016-08-22
|\ | | | | | | | | | | | | Closes #12895 Amazing work by @globin & @fpletz getting hardened compiler flags by enabled default on the whole package set
| * Merge remote-tracking branch 'origin/master' into hardened-stdenvFranz Pletz2016-05-18
| |\
| * | kernel: turn off bindnow hardeningRobin Gloster2016-04-19
| | |