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>
This commit is contained in:
Anas Nashif 2015-08-28 14:33:06 -04:00
parent e80edfc7bf
commit 13a0223cda
1 changed files with 2 additions and 14 deletions

View File

@ -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