mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
create rootf's & SDK from 2018.02.9 buildroot (#10)
--------- Co-authored-by: tiopex <tiopxyz@gmail.com> Co-authored-by: tiopex <67048640+tiopex@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
--- a/print.c 2006-08-23 13:37:43.000000000 -0600
|
||||
+++ b/print.c 2006-08-23 13:38:29.000000000 -0600
|
||||
@@ -148,6 +148,7 @@
|
||||
static void
|
||||
fill_portmap()
|
||||
{
|
||||
+#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_RPC__)
|
||||
char buf[128], *cp, *nm;
|
||||
CLIENT *c;
|
||||
int h, port, pr;
|
||||
@@ -266,6 +267,7 @@
|
||||
Pth[pr][h] = pt;
|
||||
}
|
||||
clnt_destroy(c);
|
||||
+#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -7,4 +7,4 @@ config BR2_PACKAGE_LSOF
|
||||
The lsof tool lists information about files opened by
|
||||
processes.
|
||||
|
||||
https://github.com/lsof-org/lsof
|
||||
http://people.freebsd.org/~abe/
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c41709c2543ecf9de1e950795790a9786a2f225e51c3cc53d6a9a256f872472b lsof_4.94.0.linux.tar.bz2
|
||||
sha256 32a728188b19bf86917659d904ab29d0a294b4506e1c98b8b7f1c70ab4975fe1 dialects/linux/dproto.h
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 81ac2fc5fdc944793baf41a14002b6deb5a29096b387744e28f8c30a360a3718 lsof_4.89.tar.bz2
|
||||
|
||||
+14
-8
@@ -4,17 +4,17 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LSOF_VERSION = 4.94.0
|
||||
LSOF_SOURCE = lsof_$(LSOF_VERSION).linux.tar.bz2
|
||||
LSOF_SITE = https://github.com/lsof-org/lsof/releases/download/$(LSOF_VERSION)
|
||||
LSOF_VERSION = 4.89
|
||||
LSOF_SOURCE = lsof_$(LSOF_VERSION).tar.bz2
|
||||
# Use http mirror since master ftp site access is very draconian
|
||||
LSOF_SITE = http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof
|
||||
LSOF_LICENSE = lsof license
|
||||
# License is repeated in each file, this is a relatively small one.
|
||||
# It is also defined in 00README, but that contains a lot of other cruft.
|
||||
LSOF_LICENSE_FILES = dialects/linux/dproto.h
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
||||
LSOF_DEPENDENCIES += libtirpc
|
||||
endif
|
||||
# Make certain full-blown lsof gets built after the busybox version (1.20+)
|
||||
LSOF_DEPENDENCIES += $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
||||
|
||||
ifeq ($(BR2_USE_WCHAR),)
|
||||
define LSOF_CONFIGURE_WCHAR_FIXUPS
|
||||
@@ -30,12 +30,18 @@ define LSOF_CONFIGURE_LOCALE_FIXUPS
|
||||
endef
|
||||
endif
|
||||
|
||||
# The .tar.bz2 contains another .tar, which contains the source code.
|
||||
define LSOF_EXTRACT_CMDS
|
||||
$(call suitable-extractor,$(LSOF_SOURCE)) $(DL_DIR)/$(LSOF_SOURCE) | \
|
||||
$(TAR) -O $(TAR_OPTIONS) - lsof_$(LSOF_VERSION)/lsof_$(LSOF_VERSION)_src.tar | \
|
||||
$(TAR) --strip-components=1 -C $(LSOF_DIR) $(TAR_OPTIONS) -
|
||||
endef
|
||||
|
||||
define LSOF_CONFIGURE_CMDS
|
||||
(cd $(@D) ; \
|
||||
echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \
|
||||
LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \
|
||||
LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \
|
||||
./Configure linux)
|
||||
LINUX_CLIB=-DGLIBCV=2 ./Configure linux)
|
||||
$(LSOF_CONFIGURE_WCHAR_FIXUPS)
|
||||
$(LSOF_CONFIGURE_LOCALE_FIXUPS)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user