mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Anand Moon <linux.amoon@gmail.com>
To: Barebox <barebox@lists.infradead.org>
Cc: Anand Moon <linux.amoon@gmail.com>
Subject: [PATCH 2/2] Fix Makefile coding style from spaces to tab
Date: Thu,  1 Aug 2024 19:17:07 +0530	[thread overview]
Message-ID: <20240801134707.11356-2-linux.amoon@gmail.com> (raw)
In-Reply-To: <20240801134707.11356-1-linux.amoon@gmail.com>

Adjust indentation from spaces to tab (+optional two spaces) as in
coding style with command like:
	$ sed -e 's/^        /\t/' -i */Makefile

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
 dts/Makefile      | 30 +++++++++++++++---------------
 firmware/Makefile |  4 ++--
 images/Makefile   |  2 +-
 lib/Makefile      |  2 +-
 4 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/dts/Makefile b/dts/Makefile
index fb51acef7c..8695a87333 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -5,18 +5,18 @@ CPP ?= cpp
 # Disable noisy checks by default
 ifeq ($(findstring 1,$(DTC_VERBOSE)),)
 DTC_FLAGS += -Wno-unit_address_vs_reg \
-        -Wno-unit_address_format \
-        -Wno-avoid_unnecessary_addr_size \
-        -Wno-alias_paths \
-        -Wno-graph_child_address \
-        -Wno-simple_bus_reg \
-        -Wno-unique_unit_address \
-        -Wno-pci_device_reg
+	-Wno-unit_address_format \
+	-Wno-avoid_unnecessary_addr_size \
+	-Wno-alias_paths \
+	-Wno-graph_child_address \
+	-Wno-simple_bus_reg \
+	-Wno-unique_unit_address \
+	-Wno-pci_device_reg
 endif
 
 ifneq ($(findstring 2,$(DTC_VERBOSE)),)
 DTC_FLAGS += -Wnode_name_chars_strict \
-        -Wproperty_name_chars_strict
+	-Wproperty_name_chars_strict
 endif
 
 MAKEFLAGS += -rR --no-print-directory
@@ -130,15 +130,15 @@ quiet_cmd_clean    = CLEAN   $(obj)
 dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)
 
 dtc_cpp_flags  = -Wp,-MD,$(depfile).pre.tmp -nostdinc		\
-                 -Iinclude -I$(src) -Isrc -Itestcase-data	\
-                 -undef -D__DTS__
+	         -Iinclude -I$(src) -Isrc -Itestcase-data	\
+	         -undef -D__DTS__
 
 quiet_cmd_dtc = DTC     $@
 cmd_dtc = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
-        $(DTC) -O dtb -o $@ -b 0 \
-                -i $(src) $(DTC_FLAGS) \
-                -d $(depfile).dtc.tmp $(dtc-tmp) ; \
-        cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
+	$(DTC) -O dtb -o $@ -b 0 \
+	        -i $(src) $(DTC_FLAGS) \
+	        -d $(depfile).dtc.tmp $(dtc-tmp) ; \
+	cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
 
 $(obj)/%.dtb: $(src)/%.dts FORCE
 	$(call if_changed_dep,dtc)
@@ -148,7 +148,7 @@ all_arch: $(ARCH_DTB)
 	@:
 
 RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
-                   -o -name .pc -o -name .hg -o -name .git \) -prune -o
+	           -o -name .pc -o -name .hg -o -name .git \) -prune -o
 
 PHONY += clean_arch
 clean_arch: __clean-files = $(ARCH_DTB)
diff --git a/firmware/Makefile b/firmware/Makefile
index d5e4cee859..7265c55c42 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -125,9 +125,9 @@ $(patsubst %.gen.o,$(obj)/%.gen.o, $(obj-pbl-y)): $(obj)/%.gen.o: $(fwdep-requir
 pbl-y += $(pbl-fwext-y)
 
 targets := $(patsubst $(obj)/%,%, \
-                                $(shell find $(obj) -name \*.gen.S 2>/dev/null))
+	                        $(shell find $(obj) -name \*.gen.S 2>/dev/null))
 targets += $(patsubst $(obj)/%,%, \
-                                $(shell find $(obj) -name \*.extgen.S 2>/dev/null))
+	                        $(shell find $(obj) -name \*.extgen.S 2>/dev/null))
 
 # just to build a built-in.o. Otherwise compilation fails when no
 # firmware is built.
diff --git a/images/Makefile b/images/Makefile
index c0105609ee..9007911278 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -236,5 +236,5 @@ clean-files := *.pbl *.pblb *.elf *.map start_*.imximg *.img barebox.z start_*.k
 	start_*.kwbuartimg *.socfpgaimg *.mlo *.t20img *.t20img.cfg *.t30img \
 	*.t30img.cfg *.t124img *.t124img.cfg *.mlospi *.mlo *.mxsbs *.mxssd *.rkimg \
 	start_*.simximg start_*.usimximg start_*.pimximg start_*.psimximg *.zynqimg \
-        *.image *.swapped *.missing-firmware
+	*.image *.swapped *.missing-firmware
 clean-files += pbl.lds
diff --git a/lib/Makefile b/lib/Makefile
index 0dde52527f..b3d024035c 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -101,7 +101,7 @@ CFLAGS_ubsan.o := -fno-stack-protector
 libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o \
 	                      fdt_empty_tree.o
 $(foreach file, $(libfdt_files), \
-        $(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt) \
+	$(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt) \
 	$(eval CFLAGS_$(file:%.o=%.pbl.o) = -I $(srctree)/scripts/dtc/libfdt))
 
 obj-pbl-$(CONFIG_LIBFDT) += $(libfdt_files)
-- 
2.44.0




  reply	other threads:[~2024-08-01 13:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-01 13:47 [PATCH 1/2] Fix Kconfig " Anand Moon
2024-08-01 13:47 ` Anand Moon [this message]
2024-08-02  5:49 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240801134707.11356-2-linux.amoon@gmail.com \
    --to=linux.amoon@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox