summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorAndrew Boie <andrew.p.boie@intel.com>2015-07-14 13:44:42 -0700
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:14:38 -0500
commitc69920798b922239f3110df9ab9a940e9aee733d (patch)
tree5870b7a9974eb19cf56abc8acf816d1c190d9ba2 /Makefile.inc
parentaec402b49831f176c97c0c878f559f334e13522d (diff)
Makefile.inc: fix indentation
An additional level of indent after line continuations makes this file easier to read. Change-Id: I2f5de9b811a5e725639d3a0c2cd62196c2a9e9c4 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc21
1 files changed, 11 insertions, 10 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 999ee1480..ce772ba96 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -46,14 +46,15 @@ endif
all: $(CONFIG_DEPS) $(O)/.dir
$(Q)$(MAKE) -C $(ZEPHYR_BASE) O=$(O) \
- PROJECT=$(PROJECT_BASE) SOURCE_DIR=$(SOURCE_DIR) CFLAGS=$(CFLAGS)
+ PROJECT=$(PROJECT_BASE) SOURCE_DIR=$(SOURCE_DIR) \
+ CFLAGS=$(CFLAGS)
rm-files:= .config
rm-objects:= *.o
rm-dirs := $(O)
cmd_clean_inner_files = \
- $(shell cd $(PROJECT_BASE);rm $(rm-files) -f; rm $(rm-dirs) -rf)
+ $(shell cd $(PROJECT_BASE);rm $(rm-files) -f; rm $(rm-dirs) -rf)
clean: FORCE
$(Q)rm $(SOURCE_DIR)$(rm-objects) -f
@@ -70,30 +71,30 @@ distclean: clean
mrproper: FORCE
$(call cmd_clean_inner_files)
- $(Q)$(MAKE) -C $(ZEPHYR_BASE) \
- PROJECT=$(PROJECT_BASE) mrproper
+ $(Q)$(MAKE) -C $(ZEPHYR_BASE) PROJECT=$(PROJECT_BASE) mrproper
%config: $(O)/.dir FORCE
- $(Q)$(MAKE) $(S) -C $(ZEPHYR_BASE) O=$(O) \
- PROJECT=$(PROJECT_BASE) $@
+ $(Q)$(MAKE) $(S) -C $(ZEPHYR_BASE) O=$(O) PROJECT=$(PROJECT_BASE) $@
qemu: $(CONFIG_DEPS) $(O)/.dir
$(Q)$(MAKE) -C $(ZEPHYR_BASE) O=$(O) \
- PROJECT=$(PROJECT_BASE) SOURCE_DIR=$(SOURCE_DIR) CFLAGS=$(CFLAGS) qemu
+ PROJECT=$(PROJECT_BASE) SOURCE_DIR=$(SOURCE_DIR) \
+ CFLAGS=$(CFLAGS) qemu
$(O)/.config: $(O)/.dir
- $(Q)cp $(ZEPHYR_BASE)/arch/$(ARCH)/configs/$(KBUILD_DEFCONFIG) $(O)/.config
+ $(Q)cp $(ZEPHYR_BASE)/arch/$(ARCH)/configs/$(KBUILD_DEFCONFIG) \
+ $(O)/.config
$(O)/.initconfig: mergeconfig
$(Q)yes "" | $(MAKE) $(S) -C $(ZEPHYR_BASE) O=$(O) \
- PROJECT=$(PROJECT_BASE) oldconfig
+ PROJECT=$(PROJECT_BASE) oldconfig
touch $@
ifneq (($strip $(CONF_FILE)),)
mergeconfig: $(O)/.config $(CONF_FILE)
$(Q)$(CONFIG_SHELL) $(ZEPHYR_BASE)/scripts/kconfig/merge_config.sh \
- -q -m -O $(O) $(O)/.config $(CONF_FILE)
+ -q -m -O $(O) $(O)/.config $(CONF_FILE)
else
mergeconfig: defconfig $(CONF_FILE);
endif