moved BB_BANNER to applets/version.c file: make kernel like version,

removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
This commit is contained in:
"Vladimir N. Oleynik" 2006-02-16 15:40:24 +00:00
parent 21e68703ce
commit dd1ccddf1b
10 changed files with 33 additions and 19 deletions

View file

@ -22,7 +22,12 @@
#include "libbb.h"
#ifdef L_full_version
const char * const bb_msg_full_version = BB_BANNER " multi-call binary";
#ifndef BB_EXTRA_VERSION
#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_BT ")"
#else
#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_EXTRA_VERSION ")"
#endif
const char * const libbb_msg_full_version = LIBBB_BANNER;
#endif
#ifdef L_memory_exhausted
const char * const bb_msg_memory_exhausted = "memory exhausted";