mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
ports: coreutils-minimal noux package/recipe
This variant of coreutils contains only the tools that are essential for the sculpt scenario's initial state.
This commit is contained in:
parent
366bba0227
commit
cb24b1064d
9
repos/ports/recipes/src/coreutils-minimal/content.mk
Normal file
9
repos/ports/recipes/src/coreutils-minimal/content.mk
Normal file
@ -0,0 +1,9 @@
|
||||
# keep 'coreutils/target.inc' but not 'coreutils/target.mk'
|
||||
COREUTILS_SRC := src/noux-pkg/coreutils/target.inc
|
||||
|
||||
include $(REP_DIR)/recipes/src/coreutils/content.mk
|
||||
|
||||
content: src/noux-pkg/coreutils-minimal
|
||||
|
||||
src/noux-pkg/coreutils-minimal:
|
||||
$(mirror_from_rep_dir)
|
1
repos/ports/recipes/src/coreutils-minimal/hash
Normal file
1
repos/ports/recipes/src/coreutils-minimal/hash
Normal file
@ -0,0 +1 @@
|
||||
2017-12-08 ec96fa22e1ebe33c8c312e20f844b80f6ce5b8c7
|
3
repos/ports/recipes/src/coreutils-minimal/used_apis
Normal file
3
repos/ports/recipes/src/coreutils-minimal/used_apis
Normal file
@ -0,0 +1,3 @@
|
||||
libc
|
||||
noux
|
||||
posix
|
@ -1,3 +1,6 @@
|
||||
# allow coreutils-minimal to exclude 'coreutils/target.mk'
|
||||
COREUTILS_SRC ?= $(addprefix src/noux-pkg/coreutils/,target.inc target.mk)
|
||||
|
||||
content: src/noux-pkg/coreutils LICENSE
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/coreutils)
|
||||
@ -5,7 +8,7 @@ PORT_DIR := $(call port_dir,$(REP_DIR)/ports/coreutils)
|
||||
src/noux-pkg/coreutils:
|
||||
mkdir -p $@
|
||||
cp -r $(PORT_DIR)/src/noux-pkg/coreutils/* $@
|
||||
cp -r $(REP_DIR)/src/noux-pkg/coreutils/* $@
|
||||
cp -r $(addprefix $(REP_DIR)/,$(COREUTILS_SRC)) $@
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/src/noux-pkg/coreutils/COPYING $@
|
||||
|
7
repos/ports/src/noux-pkg/coreutils-minimal/target.mk
Normal file
7
repos/ports/src/noux-pkg/coreutils-minimal/target.mk
Normal file
@ -0,0 +1,7 @@
|
||||
BINARIES := cat cp ls mkdir mv rm rmdir sort tail md5sum
|
||||
|
||||
INSTALL_TAR_CONTENT := $(addprefix bin/,$(BINARIES))
|
||||
|
||||
PKG_DIR = $(call select_from_ports,coreutils)/src/noux-pkg/coreutils
|
||||
|
||||
include $(REP_DIR)/src/noux-pkg/coreutils/target.inc
|
11
repos/ports/src/noux-pkg/coreutils/target.inc
Normal file
11
repos/ports/src/noux-pkg/coreutils/target.inc
Normal file
@ -0,0 +1,11 @@
|
||||
CONFIGURE_ARGS = --disable-acl --disable-largefile --disable-xattr \
|
||||
--disable-libcap --disable-nls
|
||||
|
||||
#
|
||||
# Prevent building stdbuf because this involves the linkage of a shared
|
||||
# libary, which is not supported by Noux, yet.
|
||||
#
|
||||
CPPFLAGS += -U__ELF__
|
||||
MAKE_ENV += "MAKEINFO=true"
|
||||
|
||||
include $(call select_from_repositories,mk/noux.mk)
|
@ -1,11 +1 @@
|
||||
CONFIGURE_ARGS = --disable-acl --disable-largefile --disable-xattr \
|
||||
--disable-libcap --disable-nls
|
||||
|
||||
#
|
||||
# Prevent building stdbuf because this involves the linkage of a shared
|
||||
# libary, which is not supported by Noux, yet.
|
||||
#
|
||||
CPPFLAGS += -U__ELF__
|
||||
MAKE_ENV += "MAKEINFO=true"
|
||||
|
||||
include $(call select_from_repositories,mk/noux.mk)
|
||||
include $(PRG_DIR)/target.inc
|
||||
|
Loading…
Reference in New Issue
Block a user