* [PATCH 2/2] Fix Makefile coding style from spaces to tab
2024-08-01 13:47 [PATCH 1/2] Fix Kconfig coding style from spaces to tab Anand Moon
@ 2024-08-01 13:47 ` Anand Moon
2024-08-02 5:49 ` [PATCH 1/2] Fix Kconfig " Sascha Hauer
1 sibling, 0 replies; 3+ messages in thread
From: Anand Moon @ 2024-08-01 13:47 UTC (permalink / raw)
To: Barebox; +Cc: Anand Moon
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
^ permalink raw reply [flat|nested] 3+ messages in thread