From 6bbfec7918810e7f9e4b22773e2e0355a90f8980 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Thu, 13 Feb 2025 19:56:43 +0700 Subject: [PATCH] normal colors --- Makefile | 6 +++++- package/busybox/busybox.mk | 4 +++- scripts/funcs.mk | 17 +++++++++-------- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index b106a0d..f3cf190 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,9 @@ TOPDIR := $(CURDIR) DEFCONFIGS_DIR := $(CURDIR)/configs +BUILD_DIRECTORY := $(CURDIR)/output/build +IMAGES_DIRECTORY := $(CURDIR)/output/images + +default: all nconfig: kconfig-nconf Config.in @@ -64,4 +68,4 @@ list-defconfigs: ) $(call successmsg,Copy defconfig: $@ to .config is OK) -.PHONY: %_defconfig \ No newline at end of file +.PHONY: %_defconfig diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index ef7db9f..9f66f43 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -1,6 +1,8 @@ define CMD_CONFIGURE_BUSYBOX $(call msg,configure_busybox) $(call warningmsg,configure_busybox) + $(call successmsg,configure_busybox) + $(call errmsg,configure_busybox) endef define CMD_BUILD_BUSYBOX @@ -9,4 +11,4 @@ endef define CMD_INSTALL_BUSYBOX $(call msg,install_busybox) -endef \ No newline at end of file +endef diff --git a/scripts/funcs.mk b/scripts/funcs.mk index 8bc366a..ed905b2 100644 --- a/scripts/funcs.mk +++ b/scripts/funcs.mk @@ -1,27 +1,28 @@ reset_color = \033[0m -white_background_color = \033[0;47m +black_color = \033[0;30m +white_background_color = \033[47m green_background_color = \033[42m -high_intensity_yellow_background_color = \033[0;103m -high_intensity_red_background_color = \033[0;101m +high_intensity_yellow_background_color = \033[103m +high_intensity_red_background_color = \033[101m define msg - @echo -e "$(white_background_color) Info: $1 $(reset_color)" + @echo -e "$(black_color)$(white_background_color) Info: $1 $(reset_color)" endef define errmsg - @echo -e "$(high_intensity_red_background_color) Error: $1 $(reset_color)" + @echo -e "$(black_color)$(high_intensity_red_background_color) Error: $1 $(reset_color)" @exit 1 endef define warningmsg - @echo -e "$(high_intensity_yellow_background_color) Warning: $1 $(reset_color)" + @echo -e "$(black_color)$(high_intensity_yellow_background_color) Warning: $1 $(reset_color)" endef define successmsg - @echo -e "$(green_background_color) Success: $1 $(reset_color)" + @echo -e "$(black_color)$(green_background_color) Success: $1 $(reset_color)" endef define copy_file @cp -v $1 $2 -endef \ No newline at end of file +endef