Просмотр исходного кода

ramips: fix indentation of Build/* template commands

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 9 лет назад
Родитель
Сommit
7fab5dc486
2 измененных файлов с 12 добавлено и 12 удалено
  1. 7 7
      target/linux/ramips/image/mt7620.mk
  2. 5 5
      target/linux/ramips/image/rt288x.mk

+ 7 - 7
target/linux/ramips/image/mt7620.mk

@@ -8,18 +8,18 @@ define Build/tplink-header
 endef
 
 define Build/pad-ex2700
-  cat ex2700-fakeroot.uImage >> $@; cat ex2700-fakeroot.uImage >> $@;
-  dd if=$@ [email protected] bs=64k conv=sync && truncate -s 128 [email protected] && mv [email protected] $@
+	cat ex2700-fakeroot.uImage >> $@; cat ex2700-fakeroot.uImage >> $@;
+	dd if=$@ [email protected] bs=64k conv=sync && truncate -s 128 [email protected] && mv [email protected] $@
 endef
 
 define Build/append-ex2700
-  cat ex2700-fakeroot.uImage >> $@
+	cat ex2700-fakeroot.uImage >> $@
 endef
 
 define Build/netgear-header
-  $(STAGING_DIR_HOST)/bin/mkdniimg \
-	$(1) -v OpenWrt -i $@ \
-	-o [email protected] && mv [email protected] $@
+	$(STAGING_DIR_HOST)/bin/mkdniimg \
+		$(1) -v OpenWrt -i $@ \
+		-o [email protected] && mv [email protected] $@
 endef
 
 define Build/poray-header
@@ -30,7 +30,7 @@ define Build/poray-header
 endef
 
 define Build/umedia-header
-  fix-u-media-header -T 0x46 -B $(1) -i $@ -o [email protected] && mv [email protected] $@
+	fix-u-media-header -T 0x46 -B $(1) -i $@ -o [email protected] && mv [email protected] $@
 endef
 
 define Build/elecom-header

+ 5 - 5
target/linux/ramips/image/rt288x.mk

@@ -3,14 +3,14 @@
 #
 
 define Build/gemtek-header
-  mkheader_gemtek $@ [email protected] $(1) && mv [email protected] $@
+	mkheader_gemtek $@ [email protected] $(1) && mv [email protected] $@
 endef
 
 define Build/airlink-header
-  mkwrgimg -i $@ \
-	-d "/dev/mtdblock/2" \
-	-s "wrgn16a_airlink_ar670w" \
-	-o [email protected] && mv [email protected] $@
+	mkwrgimg -i $@ \
+		-d "/dev/mtdblock/2" \
+		-s "wrgn16a_airlink_ar670w" \
+		-o [email protected] && mv [email protected] $@
 endef
 
 define Device/ar670w