print current config name before building src and progs
This commit is contained in:
parent
3b550e1e3c
commit
0ad6554338
|
@ -7,7 +7,14 @@ include $(TOP)/configs/current
|
||||||
SUBDIRS = $(PROGRAM_DIRS)
|
SUBDIRS = $(PROGRAM_DIRS)
|
||||||
|
|
||||||
|
|
||||||
default: $(TOP)/configs/current
|
default: message subdirs
|
||||||
|
|
||||||
|
|
||||||
|
message:
|
||||||
|
@echo "Making programs for" $(CONFIG_NAME)
|
||||||
|
|
||||||
|
|
||||||
|
subdirs:
|
||||||
@for dir in $(SUBDIRS) ; do \
|
@for dir in $(SUBDIRS) ; do \
|
||||||
if [ -d $$dir ] ; then \
|
if [ -d $$dir ] ; then \
|
||||||
(cd $$dir ; $(MAKE)) || exit 1 ; \
|
(cd $$dir ; $(MAKE)) || exit 1 ; \
|
||||||
|
|
|
@ -7,7 +7,11 @@ include $(TOP)/configs/current
|
||||||
SUBDIRS = $(SRC_DIRS)
|
SUBDIRS = $(SRC_DIRS)
|
||||||
|
|
||||||
|
|
||||||
default: $(LIB_DIR) subdirs
|
default: message $(LIB_DIR) subdirs
|
||||||
|
|
||||||
|
|
||||||
|
message:
|
||||||
|
@echo "Making sources for" $(CONFIG_NAME)
|
||||||
|
|
||||||
|
|
||||||
subdirs:
|
subdirs:
|
||||||
|
|
Loading…
Reference in New Issue