more configs and mk files

This commit is contained in:
wt committed 2025-02-12 18:42:31 +07:00
1 parent cc6834c337
commit f638ff09b0
23 files changed
+225 -18

No files matched your search

+41 -1
View File
@@ -8,4 +8,44 @@ config:
kconfig-conf Config.in
py-menuconfig:
scripts/menuconfig Config.in
scripts/menuconfig Config.in
include scripts/funcs.mk
include package/package.mk
Command := $(firstword $(MAKECMDGOALS))
UC = $(shell echo $(Command) | tr '[:lower:]' '[:upper:]')
$(Command):
$(call CMD_CONFIGURE_$(call UC))
$(call CMD_BUILD_$(call UC))
$(call CMD_INSTALL_$(call UC))
all:
$(call CMD_CONFIGURE_UCLIBC)
$(call CMD_BUILD_UCLIBC)
$(call CMD_INSTALL_UCLIBC)
$(call CMD_CONFIGURE_BUSYBOX)
$(call CMD_BUILD_BUSYBOX)
$(call CMD_INSTALL_BUSYBOX)
$(call CMD_CONFIGURE_ZLIB)
$(call CMD_BUILD_ZLIB)
$(call CMD_INSTALL_ZLIB)
$(call CMD_CONFIGURE_DROPBEAR)
$(call CMD_BUILD_DROPBEAR)
$(call CMD_INSTALL_DROPBEAR)
ifeq (CONFIG_SIMPLE_SFTP_SERVER_DROPBEAR,y)
$(call CMD_CONFIGURE_SFTP_SERVER_DROPBEAR)
$(call CMD_BUILD_SFTP_SERVER_DROPBEAR)
$(call CMD_INSTALL_SFTP_SERVER_DROPBEAR)
endif
$(call CMD_CONFIGURE_UBOOT)
$(call CMD_BUILD_UBOOT)
$(call CMD_INSTALL_UBOOT)