mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
parent
8ae2f65da8
commit
868bf6c9d0
1
repos/ports/ports/diffutils.hash
Normal file
1
repos/ports/ports/diffutils.hash
Normal file
@ -0,0 +1 @@
|
||||
641074581401c0513b33ebddf72ba7b946fd80f2
|
9
repos/ports/ports/diffutils.port
Normal file
9
repos/ports/ports/diffutils.port
Normal file
@ -0,0 +1,9 @@
|
||||
LICENSE := GPLv3
|
||||
VERSION := 3.3
|
||||
DOWNLOADS := diffutils.archive
|
||||
|
||||
URL(diffutils) := http://ftp.gnu.org/gnu/diffutils/diffutils-$(VERSION).tar.xz
|
||||
SHA(diffutils) := 6463cce7d3eb73489996baefd0e4425928ecd61e
|
||||
SIG(diffutils) := ${URL(diffutils)}.sig
|
||||
KEY(diffutils) := GNU
|
||||
DIR(diffutils) := src/noux-pkg/diffutils
|
@ -24,7 +24,7 @@ lappend_if [have_spec gpio] build_components drivers/gpio
|
||||
#
|
||||
# Build Noux packages only once
|
||||
#
|
||||
foreach pkg {bash coreutils vim} {
|
||||
foreach pkg {bash coreutils vim diffutils} {
|
||||
lappend_if [expr ![file exists bin/$pkg]] build_components noux-pkg/$pkg }
|
||||
|
||||
source ${genode_dir}/repos/base/run/platform_drv.inc
|
||||
@ -49,6 +49,7 @@ exec sh -c "find bin/bash/ bin/vim/ bin/coreutils/ -type f | (xargs [cross_dev_p
|
||||
exec tar cfv bin/bash.tar -h -C bin/bash .
|
||||
exec tar cfv bin/coreutils.tar -h -C bin/coreutils .
|
||||
exec tar cfv bin/vim.tar -h -C bin/vim .
|
||||
exec tar cfv bin/diffutils.tar -h -C bin/diffutils .
|
||||
|
||||
create_boot_directory
|
||||
|
||||
@ -151,6 +152,7 @@ append config {
|
||||
<fstab>
|
||||
<tar name="coreutils.tar" />
|
||||
<tar name="vim.tar" />
|
||||
<tar name="diffutils.tar" />
|
||||
<tar name="bash.tar" />
|
||||
|
||||
<!-- Example of how to impose policy onto a file system
|
||||
@ -187,7 +189,7 @@ install_config $config
|
||||
set boot_modules {
|
||||
core init timer ld.lib.so noux terminal ram_fs
|
||||
libc.lib.so libm.lib.so libc_noux.lib.so ncurses.lib.so
|
||||
bash.tar coreutils.tar vim.tar
|
||||
bash.tar coreutils.tar diffutils.tar vim.tar
|
||||
rtc_drv
|
||||
}
|
||||
|
||||
|
1
repos/ports/src/noux-pkg/diffutils/target.mk
Normal file
1
repos/ports/src/noux-pkg/diffutils/target.mk
Normal file
@ -0,0 +1 @@
|
||||
include $(REP_DIR)/mk/noux.mk
|
Loading…
Reference in New Issue
Block a user