Target overrides for linux hybrid depot packages
This commit is contained in:
parent
9f631d1f2d
commit
44184862cc
|
@ -75,6 +75,7 @@ in depotPkgs // {
|
||||||
base-linux = buildUpstream {
|
base-linux = buildUpstream {
|
||||||
name = "base-linux";
|
name = "base-linux";
|
||||||
KERNEL = "linux";
|
KERNEL = "linux";
|
||||||
|
BOARD = "linux";
|
||||||
targets = [ "core" "timer" "lib/ld" ];
|
targets = [ "core" "timer" "lib/ld" ];
|
||||||
patches = basePatches;
|
patches = basePatches;
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
{ buildPackages, ports }:
|
{ buildPackages, ports }:
|
||||||
with ports;
|
with ports;
|
||||||
let
|
let
|
||||||
|
includeDir = pkg: buildPackages.lib.getDev pkg + "/include";
|
||||||
|
|
||||||
|
hostLibcInc = includeDir buildPackages.glibc;
|
||||||
|
# TODO: does this need to be glibc?
|
||||||
|
|
||||||
vbox5' = {
|
vbox5' = {
|
||||||
nativeBuildInputs = with buildPackages; [ iasl yasm ];
|
nativeBuildInputs = with buildPackages; [ iasl yasm ];
|
||||||
patches = [ ./vbox-framebuffer-fail-on-fail.patch ];
|
patches = [ ./vbox-framebuffer-fail-on-fail.patch ];
|
||||||
|
@ -10,6 +15,12 @@ in {
|
||||||
|
|
||||||
cached_fs_rom.patches = [ ./cached_fs_rom.patch ];
|
cached_fs_rom.patches = [ ./cached_fs_rom.patch ];
|
||||||
|
|
||||||
|
fb_sdl = with buildPackages; {
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
buildInputs = [ SDL ];
|
||||||
|
HOST_INC_DIR = [ hostLibcInc (includeDir SDL) ];
|
||||||
|
};
|
||||||
|
|
||||||
gpt_write.portInputs = [ jitterentropy ];
|
gpt_write.portInputs = [ jitterentropy ];
|
||||||
|
|
||||||
init.patches = [ ./sandbox.patch ];
|
init.patches = [ ./sandbox.patch ];
|
||||||
|
@ -30,6 +41,10 @@ in {
|
||||||
|
|
||||||
libiconv.portInputs = [ libc libiconv ];
|
libiconv.portInputs = [ libc libiconv ];
|
||||||
|
|
||||||
|
linux_nic_drv.HOST_INC_DIR = [ hostLibcInc ];
|
||||||
|
|
||||||
|
lx_block.HOST_INC_DIR = [ hostLibcInc ];
|
||||||
|
|
||||||
noux.portInputs = [ libc ];
|
noux.portInputs = [ libc ];
|
||||||
|
|
||||||
posix.portInputs = [ libc ];
|
posix.portInputs = [ libc ];
|
||||||
|
|
Loading…
Reference in New Issue