summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2015-08-28 14:33:06 -0400
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:15:33 -0500
commit13a0223cdaf40c3e129c23786a06a068dc71b4f1 (patch)
tree5f1fb58ebeef8456687be8188778f4a4f588f754 /Makefile.inc
parente80edfc7bfac342a94fabfe9969149d85f6a8305 (diff)
Kbuild: Remove .dir target
This is not needed anymore, directory is created by mergeconfig. Change-Id: I3a24b14d08b9c5c0203f66536dd74109da55064c Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc16
1 files changed, 2 insertions, 14 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 875b1a75e..c461817ef 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -50,17 +50,13 @@ else
S = -s
endif
-CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
- else if [ -x /bin/bash ]; then echo /bin/bash; \
- else echo sh; fi ; fi)
-
zephyrmake = @$(MAKE) -C $(ZEPHYR_BASE) O=$(1) CFLAGS="$(CFLAGS)" \
PROJECT=$(PROJECT_BASE) SOURCE_DIR=$(SOURCE_DIR) $(2)
-all: $(O)/.dir $(O)/.config
+all: $(O)/.config
$(Q)$(call zephyrmake,$(O),$@)
-qemu: $(O)/.dir $(O)/.config
+qemu: $(O)/.config
$(Q)$(call zephyrmake,$(O),$@)
@@ -73,15 +69,7 @@ $(O)/.config: $(CONF_FILE)
pristine:
$(Q)rm -rf $(O)
-%/.dir:
- $(Q)set -e;
- $(Q)test -s $(abspath $(dir $@)) || mkdir $(abspath $(dir $@)) -p
- $(Q)touch $@
-
-
-
PHONY += FORCE
-PHONY += mergeconfig
FORCE:
# Catch all