Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
From 33b16f2c4f996a98c3bbbec9af542d020ac276fa Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Tue, 9 Aug 2022 23:53:06 +0200
Subject: [PATCH] Makefile.linux: pass LDFLAGS
Pass LDFLAGS to avoid the following musl static build failure:
/home/autobuild/autobuild/instance-5/output-1/host/lib/gcc/sh4eb-buildroot-linux-musl/11.3.0/../../../../sh4eb-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-5/output-1/host/lib/gcc/sh4eb-buildroot-linux-musl/11.3.0/libgcc.a(unwind-dw2.o): in function `size_of_encoded_value':
/home/autobuild/autobuild/instance-5/output-1/build/host-gcc-final-11.3.0/build/sh4eb-buildroot-linux-musl/libgcc/../../../libgcc/unwind-pe.h:89: undefined reference to `abort'
Fixes:
- http://autobuild.buildroot.org/results/bf041723ed813746c61892262630a3ac2bc43b14
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Upstream: upstream is dead
[Dario: make the patch to be applied with fuzz factor 0]
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
[francois: downgrade to 3.03]
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[francois: upgrade to 3.065]
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
makefile.linux | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/makefile.linux b/makefile.linux
index 1e467ea..fad7059 100755
--- a/makefile.linux
+++ b/makefile.linux
@@ -26,7 +26,7 @@ libficl.a: $(OBJECTS)
# === Console Test executable ===
ficl: $(FICL_TEST_OBJ) ficl.h sysdep.h libficl.a
- $(CC) $(FICL_TEST_OBJ) -o ficl -L. -lficl -lm
+ $(CC) $(LDFLAGS) $(FICL_TEST_OBJ) -o ficl -L. -lficl -lm
# === Compile rules ===
.SUFFIXES: .cxx .cc .c .o
--
2.35.1

13
package/ficl/Config.in Normal file
View File

@@ -0,0 +1,13 @@
config BR2_PACKAGE_FICL
bool "ficl"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 # C11/static_assert
help
Ficl is a programming language interpreter designed to be
embedded into other systems as a command, macro, and
development prototyping language.
Ficl is an acronym for "Forth Inspired Command Language".
https://ficl.sourceforge.net/
comment "ficl needs a gcc >= 4.6"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6

3
package/ficl/ficl.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 09a4649a68a075999c2bc26129cf233c4d672335a9c68b98ffcbf1bc8962e5e1 ficl3065.tar.gz
sha256 b7a894f23d7d7302852405b3d1b6fd88e76b4c116a68f046d4547c073c75d3ea LICENSE

32
package/ficl/ficl.mk Normal file
View File

@@ -0,0 +1,32 @@
################################################################################
#
# ficl
#
################################################################################
FICL_VERSION = 3.065
FICL_TAG = ficl$(subst .,,$(FICL_VERSION))
FICL_SOURCE = $(FICL_TAG).tar.gz
FICL_SITE = $(call github,jwsadler58,ficl,$(FICL_TAG))
FICL_LICENSE = BSD-3-Clause
FICL_LICENSE_FILES = LICENSE
FICL_INSTALL_STAGING = YES
FICL_DEPENDENCIES = host-python3
define FICL_BUILD_CMDS
# workaround for static_assert on uclibc-ng < 1.0.42
$(MAKE) -C $(@D) -f makefile.linux $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -std=c11 -Dlinux -D_POSIX_C_SOURCE=200809L -Dstatic_assert=_Static_assert -I. " CPPFLAGS="" ficl
endef
define FICL_INSTALL_STAGING_CMDS
$(INSTALL) -D -m 0644 $(@D)/libficl.a $(STAGING_DIR)/usr/lib/libficl.a
$(INSTALL) -D -m 0644 $(@D)/ficl.h $(STAGING_DIR)/usr/include/ficl.h
endef
define FICL_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/ficl $(TARGET_DIR)/usr/bin/ficl
endef
$(eval $(generic-package))