mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
ports: src/bash-minimal noux package
This commit is contained in:
parent
5d9eb55274
commit
1053d78201
9
repos/ports/recipes/src/bash-minimal/content.mk
Normal file
9
repos/ports/recipes/src/bash-minimal/content.mk
Normal file
@ -0,0 +1,9 @@
|
||||
# keep 'bash/target.inc' but not 'bash/target.mk'
|
||||
BASH_SRC := src/noux-pkg/bash/target.inc
|
||||
|
||||
include $(REP_DIR)/recipes/src/bash/content.mk
|
||||
|
||||
content: src/noux-pkg/bash-minimal
|
||||
|
||||
src/noux-pkg/bash-minimal:
|
||||
$(mirror_from_rep_dir)
|
1
repos/ports/recipes/src/bash-minimal/hash
Normal file
1
repos/ports/recipes/src/bash-minimal/hash
Normal file
@ -0,0 +1 @@
|
||||
2018-02-14 79db70c2f818a2e41ba051821bded822cd6dbd9a
|
3
repos/ports/recipes/src/bash-minimal/used_apis
Normal file
3
repos/ports/recipes/src/bash-minimal/used_apis
Normal file
@ -0,0 +1,3 @@
|
||||
libc
|
||||
noux
|
||||
posix
|
@ -1,3 +1,5 @@
|
||||
BASH_SRC ?= $(addprefix src/noux-pkg/bash/,target.inc target.mk)
|
||||
|
||||
content: src/noux-pkg/bash LICENSE
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/bash)
|
||||
@ -5,7 +7,7 @@ PORT_DIR := $(call port_dir,$(REP_DIR)/ports/bash)
|
||||
src/noux-pkg/bash:
|
||||
mkdir -p $@
|
||||
cp -a $(PORT_DIR)/src/noux-pkg/bash/* $@
|
||||
cp -a $(REP_DIR)/src/noux-pkg/bash/* $@
|
||||
cp -a $(addprefix $(REP_DIR)/,$(BASH_SRC)) $@
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/src/noux-pkg/bash/COPYING $@
|
||||
|
7
repos/ports/src/noux-pkg/bash-minimal/target.mk
Normal file
7
repos/ports/src/noux-pkg/bash-minimal/target.mk
Normal file
@ -0,0 +1,7 @@
|
||||
BINARIES := bash
|
||||
|
||||
INSTALL_TAR_CONTENT := $(addprefix bin/,$(BINARIES))
|
||||
|
||||
PKG_DIR = $(call select_from_ports,bash)/src/noux-pkg/bash
|
||||
|
||||
include $(REP_DIR)/src/noux-pkg/bash/target.inc
|
14
repos/ports/src/noux-pkg/bash/target.inc
Normal file
14
repos/ports/src/noux-pkg/bash/target.inc
Normal file
@ -0,0 +1,14 @@
|
||||
CONFIGURE_ARGS = --without-bash-malloc
|
||||
CFLAGS += -Dsh_xfree=free
|
||||
|
||||
#
|
||||
# Do not expect the environment to be passed as third argument
|
||||
# to the main function. The Genode startup code does only
|
||||
# deliver 'argc' and 'argv'.
|
||||
#
|
||||
CFLAGS += -DNO_MAIN_ENV_ARG=1
|
||||
|
||||
# Prevent interactions with nonexisting tty driver
|
||||
CFLAGS += -DNO_TTY_DRIVER
|
||||
|
||||
include $(call select_from_repositories,mk/noux.mk)
|
@ -1,14 +1 @@
|
||||
CONFIGURE_ARGS = --without-bash-malloc
|
||||
CFLAGS += -Dsh_xfree=free
|
||||
|
||||
#
|
||||
# Do not expect the environment to be passed as third argument
|
||||
# to the main function. The Genode startup code does only
|
||||
# deliver 'argc' and 'argv'.
|
||||
#
|
||||
CFLAGS += -DNO_MAIN_ENV_ARG=1
|
||||
|
||||
# Prevent interactions with nonexisting tty driver
|
||||
CFLAGS += -DNO_TTY_DRIVER
|
||||
|
||||
include $(call select_from_repositories,mk/noux.mk)
|
||||
include $(PRG_DIR)/target.inc
|
||||
|
Loading…
x
Reference in New Issue
Block a user