normal colors #1

Merged
wt merged 1 commits from normal-colors into main 2025-02-13 09:57:41 +00:00
3 changed files with 14 additions and 7 deletions

No files matched your search

+4
View File
@@ -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
+2
View File
@@ -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
+8 -7
View File
@@ -1,25 +1,26 @@
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