Initial Commit
- initial default booting image
This commit is contained in:
21
package/execline/Config.in
Normal file
21
package/execline/Config.in
Normal file
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_EXECLINE
|
||||
bool "execline"
|
||||
depends on BR2_USE_MMU # skalibs
|
||||
select BR2_PACKAGE_SKALIBS
|
||||
help
|
||||
execline is a (non-interactive) scripting language, like sh;
|
||||
but its syntax is quite different from a traditional shell
|
||||
syntax. The execlineb program is meant to be used as an
|
||||
interpreter for a text file; the other commands are
|
||||
essentially useful inside an execlineb script.
|
||||
|
||||
http://skarnet.org/software/execline/
|
||||
|
||||
if BR2_PACKAGE_EXECLINE
|
||||
|
||||
config BR2_PACKAGE_EXECLINE_MULTICALL
|
||||
bool "execline multicall binary"
|
||||
help
|
||||
Build execline as a multicall binary to save disk space.
|
||||
|
||||
endif
|
||||
3
package/execline/execline.hash
Normal file
3
package/execline/execline.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally generated
|
||||
sha256 76919d62f2de4db1ac4b3a59eeb3e0e09b62bcdd9add13ae3f2dad26f8f0e5ca execline-2.9.6.1.tar.gz
|
||||
sha256 fdc931295525dd0009cdf339189cbecd228d65cefe33402f037f9b046f07989e COPYING
|
||||
72
package/execline/execline.mk
Normal file
72
package/execline/execline.mk
Normal file
@@ -0,0 +1,72 @@
|
||||
################################################################################
|
||||
#
|
||||
# execline
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EXECLINE_VERSION = 2.9.6.1
|
||||
EXECLINE_SITE = https://skarnet.org/software/execline
|
||||
EXECLINE_LICENSE = ISC
|
||||
EXECLINE_LICENSE_FILES = COPYING
|
||||
EXECLINE_INSTALL_STAGING = YES
|
||||
EXECLINE_DEPENDENCIES = skalibs
|
||||
|
||||
EXECLINE_CONF_OPTS = \
|
||||
--with-sysdeps=$(STAGING_DIR)/usr/lib/skalibs/sysdeps \
|
||||
--with-include=$(STAGING_DIR)/include \
|
||||
--with-dynlib=$(STAGING_DIR)/lib \
|
||||
--with-lib=$(STAGING_DIR)/lib/skalibs \
|
||||
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
|
||||
$(if $(BR2_PACKAGE_EXECLINE_MULTICALL),--enable-multicall,) \
|
||||
$(SHARED_STATIC_LIBS_OPTS)
|
||||
|
||||
define EXECLINE_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(EXECLINE_CONF_OPTS))
|
||||
endef
|
||||
|
||||
define EXECLINE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define EXECLINE_REMOVE_STATIC_LIB_DIR
|
||||
rm -rf $(TARGET_DIR)/usr/lib/execline
|
||||
endef
|
||||
|
||||
EXECLINE_POST_INSTALL_TARGET_HOOKS += EXECLINE_REMOVE_STATIC_LIB_DIR
|
||||
|
||||
define EXECLINE_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
define EXECLINE_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
|
||||
endef
|
||||
|
||||
HOST_EXECLINE_DEPENDENCIES = host-skalibs
|
||||
|
||||
# Set --shebangdir to /usr/bin, as this value is used by the host variant of
|
||||
# s6-rc when generating execline scripts for the target.
|
||||
HOST_EXECLINE_CONF_OPTS = \
|
||||
--prefix=$(HOST_DIR) \
|
||||
--shebangdir=/usr/bin \
|
||||
--with-sysdeps=$(HOST_DIR)/lib/skalibs/sysdeps \
|
||||
--with-include=$(HOST_DIR)/include \
|
||||
--with-dynlib=$(HOST_DIR)/lib \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-allstatic
|
||||
|
||||
define HOST_EXECLINE_CONFIGURE_CMDS
|
||||
(cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure $(HOST_EXECLINE_CONF_OPTS))
|
||||
endef
|
||||
|
||||
define HOST_EXECLINE_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_EXECLINE_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user