forked from genodelabs/genode
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
86 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule NOVA
updated
from e56077 to ad0c2b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
lddir=@LD_DIR@ | ||
toolchaindir=@TOOLCHAIN_DIR@ | ||
|
||
Name: genode-lib | ||
Description: Flags for linking Genode libraries | ||
Version: @version@ | ||
Requires: base | ||
Libs: -shared --eh-frame-hdr -melf_x86_64 -gc-sections -z max-page-size=0x1000 -T ${lddir}/genode_rel.ld --entry=0x0 -l:ldso-startup.lib.a ${toolchaindir}/lib/gcc/x86_64-pc-elf/8.3.0/64/libgcc.a | ||
Libs: -shared --eh-frame-hdr -gc-sections -z max-page-size=0x1000 -T@lddir@/genode_rel.ld --entry=0x0 -l:ldso-startup.lib.a @libgcc@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
lddir=@LD_DIR@ | ||
toolchaindir=@TOOLCHAIN_DIR@ | ||
ld=${toolchaindir}/bin/genode-x86-ld | ||
lddir=@lddir@ | ||
|
||
Name: genode-prg | ||
Description: Flags for dynamically-linked Genode programs | ||
URL: https://genode.org/ | ||
Version: @SDK_VERSION@ | ||
Libs: -melf_x86_64 -gc-sections -z max-page-size=0x1000 --dynamic-list=${lddir}/genode_dyn.dl -nostdlib -Ttext=0x01000000 --dynamic-linker=ld.lib.so --eh-frame-hdr -rpath-link=. -T ${lddir}/genode_dyn.ld -l:ld.lib.so ${toolchaindir}/lib/gcc/x86_64-pc-elf/8.3.0/64/libgcc.a | ||
Version: @version@ | ||
Libs: -gc-sections -z max-page-size=0x1000 --dynamic-list=${lddir}/genode_dyn.dl -nostdlib -Ttext=0x01000000 --dynamic-linker=ld.lib.so --eh-frame-hdr -rpath-link=. -T${lddir}/genode_dyn.ld -l:ld.lib.so @libgcc@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
include_rules | ||
|
||
SED_FLAGS += -e "s|@includedir@|`nix-store --add $(REP_DIR)/include`|" | ||
SED_FLAGS += -e "s|@version@|`git describe --always`|" | ||
|
||
: *.pc.in |> !sed_pkgconfig_file |> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include_rules | ||
SED_FLAGS += -e "s|@includedir@|`nix-store --add include`|" | ||
SED_FLAGS += -e "s|@version@|`git describe --always`|" | ||
: *.pc.in |> !sed_pkgconfig_file |> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ preparePort, fetchFromGitHub }: | ||
|
||
preparePort { | ||
name = "egl"; | ||
outputs = [ "include" ]; | ||
|
||
src = fetchFromGitHub { | ||
name = "EGL"; | ||
owner = "KhronosGroup"; | ||
repo = "EGL-Registry"; | ||
rev = "d738c39fe25bab9f65bed2cb78c4db253bd473c4"; | ||
sha256 = "1bb2pgv516i1p8x3171yj3gqkxqxqwg7q42ak627md4x3irmqf2q"; | ||
}; | ||
|
||
installPhase = '' | ||
mkdir -p $include | ||
cp -r api/1.? api/EGL api/KHR $include | ||
cp ${../include/EGL/eglplatform.h} $include/EGL/eglplatform.h | ||
''; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include_rules | ||
SED_FLAGS += -e "s|@includedir@|`readlink result-include`|" | ||
: |> nix-build $(REP_DIR)/ports -A egl_api |> result-include | ||
: egl_api.pc.in | result-include |> !sed_pkgconfig_file |> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
includedir=@includedir@/egl_api | ||
includedir=@includedir@ | ||
|
||
Name: EGL | ||
Description: EGL API headers | ||
Version: @version@ | ||
Cflags: -I${includedir} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
include_rules | ||
|
||
SED_FLAGS += -e "s|@includedir@|`nix-store --add $(REP_DIR)/include`|" | ||
SED_FLAGS += -e "s|@version@|`git describe --always`|" | ||
|
||
: *.pc.in |> !sed_pkgconfig_file |> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
LIBS = base | ||
INCLUDES += -I$(TUP_CWD) | ||
SRC_CC = $(TUP_CWD)/*.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ifeq (@(TUP_ARCH),i386) | ||
ARCH = x86 | ||
endif | ||
ifeq (@(TUP_ARCH),x86_64) | ||
ARCH = x86 | ||
endif | ||
ifeq ($(ARCH),x86) | ||
|
||
include_rules | ||
|
||
: foreach $(SRC_CC) *.cc |> !cxx |> %B.o {obj} | ||
: {obj} | |> !prg |> ahci_drv | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters