mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
ports: enable basic clock support in tclsh
This commit is contained in:
parent
f7f1509a27
commit
87c9186efd
@ -4,10 +4,16 @@ PORT_DIR := $(call port_dir,$(REP_DIR)/ports/tcl)
|
||||
|
||||
TCL_CONTENT := unix generic compat libtommath
|
||||
|
||||
PORT_LIB_FILES := \
|
||||
clock.tcl dde/pkgIndex.tcl http/pkgIndex.tcl http1.0/pkgIndex.tcl init.tcl \
|
||||
msgcat/msgcat.tcl msgcat/pkgIndex.tcl opt/pkgIndex.tcl package.tcl \
|
||||
platform/pkgIndex.tcl reg/pkgIndex.tcl tcltest/pkgIndex.tcl tm.tcl \
|
||||
tzdata/Etc/UTC tzdata/UTC tclIndex
|
||||
|
||||
src/noux-pkg/tcl:
|
||||
mkdir -p $@/library
|
||||
cp -a $(addprefix $(PORT_DIR)/src/noux-pkg/tcl/,$(TCL_CONTENT)) $@
|
||||
cp -a $(PORT_DIR)/src/noux-pkg/tcl/library/init.tcl $@/library/
|
||||
$(VERBOSE)tar -C $(PORT_DIR)/src/noux-pkg/tcl/library -cf - $(PORT_LIB_FILES) | tar -C $@/library -xf -
|
||||
|
||||
src/noux-pkg/tclsh:
|
||||
mkdir -p $@
|
||||
|
@ -9,11 +9,17 @@ INSTALL_TARGET :=
|
||||
|
||||
INSTALL_LIB_DIR := install/lib/tcl8.6
|
||||
|
||||
INSTALL_LIB_FILES := \
|
||||
clock.tcl dde/pkgIndex.tcl http/pkgIndex.tcl http1.0/pkgIndex.tcl init.tcl \
|
||||
msgcat/msgcat.tcl msgcat/pkgIndex.tcl opt/pkgIndex.tcl package.tcl \
|
||||
platform/pkgIndex.tcl reg/pkgIndex.tcl tcltest/pkgIndex.tcl tm.tcl \
|
||||
tzdata/Etc/UTC tzdata/UTC tclIndex
|
||||
|
||||
installed.tag:
|
||||
@$(MSG_INST)$(TARGET)
|
||||
$(VERBOSE)mkdir -p install/bin $(INSTALL_LIB_DIR)
|
||||
$(VERBOSE)$(STRIP) tclsh -o install/bin/tclsh
|
||||
$(VERBOSE)cp $(PKG_DIR)/library/init.tcl $(INSTALL_LIB_DIR)
|
||||
$(VERBOSE)tar -C $(PKG_DIR)/library -cf - $(INSTALL_LIB_FILES) | tar -C $(INSTALL_LIB_DIR) -xf -
|
||||
@touch $@
|
||||
|
||||
include $(call select_from_repositories,mk/noux.mk)
|
||||
|
Loading…
x
Reference in New Issue
Block a user