initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
Disabled versioned installation of binaries to save space.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
[Gustavo: update for 4.1.2]
|
||||
|
||||
diff -Nura gawk-4.1.2.orig/Makefile.in gawk-4.1.2/Makefile.in
|
||||
--- gawk-4.1.2.orig/Makefile.in 2015-04-29 16:11:09.367925925 -0300
|
||||
+++ gawk-4.1.2/Makefile.in 2015-04-29 16:11:25.308466495 -0300
|
||||
@@ -1173,6 +1173,7 @@
|
||||
# (This is done universally, which may not always be right, but
|
||||
# there's no easy way to distinguish GNU from non-GNU systems.)
|
||||
install-exec-hook:
|
||||
+foo:
|
||||
(cd $(DESTDIR)$(bindir); \
|
||||
$(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
|
||||
if [ ! -f awk$(EXEEXT) ]; \
|
||||
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_GAWK
|
||||
bool "gawk"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
help
|
||||
A special-purpose programming language which is data driven
|
||||
rather than procedural. Allows for simple data-reformatting
|
||||
jobs with just a few lines of code.
|
||||
|
||||
http://www.gnu.org/software/gawk/
|
||||
|
||||
comment "gawk needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
@@ -0,0 +1,6 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.xz.sig
|
||||
# Primary key fingerprint: D196 7C63 7887 1317 7D86 1ED7 DF59 7815 937E C0D2
|
||||
sha256 cf5fea4ac5665fd5171af4716baab2effc76306a9572988d5ba1078f196382bd gawk-5.1.0.tar.xz
|
||||
# Locally calculated
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
@@ -0,0 +1,49 @@
|
||||
################################################################################
|
||||
#
|
||||
# gawk
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GAWK_VERSION = 5.1.0
|
||||
GAWK_SOURCE = gawk-$(GAWK_VERSION).tar.xz
|
||||
GAWK_SITE = $(BR2_GNU_MIRROR)/gawk
|
||||
GAWK_DEPENDENCIES = host-gawk
|
||||
GAWK_LICENSE = GPL-3.0+
|
||||
GAWK_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSIGSEGV),y)
|
||||
GAWK_DEPENDENCIES += libsigsegv
|
||||
endif
|
||||
|
||||
# --with-mpfr requires an argument so just let
|
||||
# configure find it automatically
|
||||
ifeq ($(BR2_PACKAGE_MPFR),y)
|
||||
GAWK_DEPENDENCIES += mpfr
|
||||
else
|
||||
GAWK_CONF_OPTS += --without-mpfr
|
||||
endif
|
||||
|
||||
# --with-readline requires an argument so just let
|
||||
# configure find it automatically
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
GAWK_DEPENDENCIES += readline
|
||||
else
|
||||
GAWK_CONF_OPTS += --without-readline
|
||||
endif
|
||||
|
||||
HOST_GAWK_CONF_OPTS = --without-readline --without-mpfr
|
||||
|
||||
define GAWK_CREATE_SYMLINK
|
||||
ln -sf gawk $(TARGET_DIR)/usr/bin/awk
|
||||
endef
|
||||
|
||||
GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK
|
||||
|
||||
define HOST_GAWK_CREATE_SYMLINK
|
||||
ln -sf gawk $(HOST_DIR)/usr/bin/awk
|
||||
endef
|
||||
|
||||
HOST_GAWK_POST_INSTALL_HOOKS += HOST_GAWK_CREATE_SYMLINK
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user