Inital commit

This commit is contained in:
Liliesh 2025-06-27 18:03:06 +02:00
commit 0699797d47
Signed by: liliesh
GPG key ID: 680387646C7BAE8E
22 changed files with 82 additions and 0 deletions

61
Makefile Normal file
View file

@ -0,0 +1,61 @@
# Makefile to config solution
DIRECTORY := buildroot-ext/configs/
OK_COLOR=\033[32;01m
# List all files in the directory
FILES := $(wildcard $(DIRECTORY)/*)
NUM_FILES := $(words $(FILES))
define choose_config
@echo "Available configs in $(DIRECTORY):"
@i=1; \
for file in $(FILES); do \
file_name=$$(basename "$$file"); \
printf " %d. %s\n" "$$i" "$$file_name"; \
i=$$((i+1)); \
done
@echo "\n"
@read -p "your choice (1-$(NUM_FILES)): " choice; \
if [ "$$choice" -ge 1 -a "$$choice" -le $(NUM_FILES) ]; then \
selected_file=$$(echo $(FILES) | cut -d ' ' -f $$choice); \
printf "$$selected_file \n"; \
file_name=$$(basename "$$selected_file"); \
result=$$(echo "$$file_name" | sed -E 's/spacemit_(.*)_defconfig/\1/'); \
mkdir -p output/$$result; \
make -C ./buildroot O=../output/$$result BR2_EXTERNAL=../buildroot-ext $$file_name; \
touch env.mk; \
echo "MAKEFILE=output/$$result/Makefile" > env.mk; \
make -C output/$$result; \
else \
echo "Invalid choice: $$choice"; \
fi
endef
ifeq ($(MAKECMDGOALS),envconfig)
.PHONY: envconfig
envconfig:
$(call choose_config)
endif
ifeq ($(wildcard env.mk),)
all:
$(call choose_config)
.PHONY: help
help:
@echo " envconfig - config solution env"
@echo " help - Display this help message"
else
include env.mk
include $(MAKEFILEls)
output_dir := $(shell dirname $(MAKEFILE))
all:
$(MAKE) $(MAKECMDGOALS) -C $(output_dir)
%:
$(MAKE) $(MAKECMDGOALS) -C $(output_dir)
endif

1
bsp-src/linux-6.6 Submodule

@ -0,0 +1 @@
Subproject commit cecd843d17630cdab0df49d709ea5ab37e3a5fce

1
bsp-src/opensbi Submodule

@ -0,0 +1 @@
Subproject commit e0bb974de1ed51ca8ee3b598437a30787142e192

1
bsp-src/uboot-2022.10 Submodule

@ -0,0 +1 @@
Subproject commit f4ae43b314e55d6647653baee6022d9edce4bcf2

1
buildroot Submodule

@ -0,0 +1 @@
Subproject commit cc7144bd87f6cf0a8d60c58a82c66d2ee017b532

1
buildroot-ext Submodule

@ -0,0 +1 @@
Subproject commit 413d723b18ecece91858582fe9855099cae6daec

@ -0,0 +1 @@
Subproject commit 41a304053fd3a26a92abab0df96a3637d59af005

1
package-src/drm-test Submodule

@ -0,0 +1 @@
Subproject commit 066ee8e2f2087482c4c0d70b2df3aa48062db304

@ -0,0 +1 @@
Subproject commit bf0e94711a2730891fd3be2e615a8862bde3fd02

1
package-src/glmark2 Submodule

@ -0,0 +1 @@
Subproject commit c6ede6f18d939b68806683f5a569d8f89c8f79e0

@ -0,0 +1 @@
Subproject commit dbbd7d7fbefe627e5e544cdbcb7a5e202f69a679

@ -0,0 +1 @@
Subproject commit 262dade9a7b8d93b714dcebb7a0195fe6af39240

1
package-src/k1x-cam Submodule

@ -0,0 +1 @@
Subproject commit 89b5b4630a885d3275161b29519ce26ffd39d2db

1
package-src/k1x-jpu Submodule

@ -0,0 +1 @@
Subproject commit 86555ac85ea20387c8714aab8cb52c30ec80e4b5

@ -0,0 +1 @@
Subproject commit 144f5fd23646408573682b983f7f4225d62ac404

@ -0,0 +1 @@
Subproject commit f5d83cfbb1a4c5e99cd7c89734f18381ec4dff94

1
package-src/mesa3d Submodule

@ -0,0 +1 @@
Subproject commit 7829523a9f5e94e42359981229b92cb97dfe0add

1
package-src/mpp Submodule

@ -0,0 +1 @@
Subproject commit ff011c81ea810dd40a9897e9946a509455b94dd3

@ -0,0 +1 @@
Subproject commit 9ce1210f63cce2da2ee7a347fa7f71cfb764aa20

@ -0,0 +1 @@
Subproject commit dfc11f5c2c5e415e75ded95623266354fff34a04

1
package-src/v2d-test Submodule

@ -0,0 +1 @@
Subproject commit 540b37d7710f461da9611720fc6fb8cc4f051a76

1
scripts Submodule

@ -0,0 +1 @@
Subproject commit 9869a562d3d2693702c60676a20ade7fad1bf3e5