-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#96: Add lots of useful utils for embuild
- Loading branch information
1 parent
324fc62
commit d24b01e
Showing
5 changed files
with
187 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
# | ||
# EMBOX root Makefile | ||
# EMBOX root Makefile. | ||
# | ||
# This file just have to define ROOT_DIR variable and to include maik.mk | ||
# This file have just to setup proper make flags and to invoke mk/main.mk | ||
# which will perform the real work. | ||
# | ||
# Author: Eldar Abusalimov | ||
# | ||
|
||
ROOT_DIR:=.#$(CURDIR) | ||
MK_DIR := $(abspath mk) | ||
|
||
ifdef mk_ready | ||
include main.mk | ||
else | ||
|
||
MAKEFLAGS += --include-dir=$(MK_DIR) | ||
MAKEFLAGS += --no-builtin-rules | ||
MAKEFLAGS += --no-builtin-variables | ||
MAKEFLAGS += --no-print-directory | ||
#MAKEFLAGS += --warn-undefined-variables | ||
|
||
.DEFAULT_GOAL := all | ||
|
||
% : | ||
@$(MAKE) mk_ready=1 $@ | ||
|
||
endif | ||
|
||
include $(ROOT_DIR)/mk/main.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters