diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-23 22:32:28 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-25 19:28:42 +0200 |
commit | 2f92e1d418ce97d12a14dc426b58566ff1dfce8f (patch) | |
tree | 0e1e0794a9c3a83704f80b48b3585d3bf7b31b15 /package/boot/at91bootstrap/at91bootstrap.mk | |
parent | 7f1540cc46333e9f96237e0084c554a9ec59068c (diff) | |
download | upstream-2f92e1d418ce97d12a14dc426b58566ff1dfce8f.tar.gz upstream-2f92e1d418ce97d12a14dc426b58566ff1dfce8f.tar.bz2 upstream-2f92e1d418ce97d12a14dc426b58566ff1dfce8f.zip |
at91bootstrap: harmonize indent in Makefiles
The indent in Makefiles is mixed, harmonize it where reasonable.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/boot/at91bootstrap/at91bootstrap.mk')
-rw-r--r-- | package/boot/at91bootstrap/at91bootstrap.mk | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/package/boot/at91bootstrap/at91bootstrap.mk b/package/boot/at91bootstrap/at91bootstrap.mk index 60cd8c4d30..fe6577f589 100644 --- a/package/boot/at91bootstrap/at91bootstrap.mk +++ b/package/boot/at91bootstrap/at91bootstrap.mk @@ -5,7 +5,7 @@ PKG_FLAGS:=nonshared export GCC_HONOUR_COPTS=s define Package/at91bootstrap/install/default - $(CP) -avL $(PKG_BUILD_DIR)/binaries/at91bootstrap.bin $(1)/ + $(CP) -avL $(PKG_BUILD_DIR)/binaries/at91bootstrap.bin $(1)/ endef Package/at91bootstrap/install = $(Package/at91bootstrap/install/default) @@ -34,7 +34,7 @@ define Build/AT91Bootstrap/Target $(eval $(call AT91Bootstrap/Default,$(1))) $(eval $(call AT91Bootstrap/$(1),$(1))) - define Package/at91bootstrap-$(1) + define Package/at91bootstrap-$(1) SECTION:=boot CATEGORY:=Boot Loaders TITLE:= .$(NAME) @@ -45,9 +45,9 @@ define Build/AT91Bootstrap/Target DEPENDS += @$(TARGET_DEP) ifneq ($(BUILD_DEVICES),) DEFAULT := y if ($(TARGET_DEP)_Default \ - $(patsubst %,|| $(TARGET_DEP)_DEVICE_%,$(BUILD_DEVICES)) \ - $(patsubst %,|| $(patsubst TARGET_%,TARGET_DEVICE_%, \ - $(TARGET_DEP))_DEVICE_%,$(BUILD_DEVICES))) + $(patsubst %,|| $(TARGET_DEP)_DEVICE_%,$(BUILD_DEVICES)) \ + $(patsubst %,|| $(patsubst TARGET_%,TARGET_DEVICE_%, \ + $(TARGET_DEP))_DEVICE_%,$(BUILD_DEVICES))) endif endif $(if $(DEFAULT),DEFAULT:=$(DEFAULT)) @@ -61,28 +61,28 @@ endef define Build/Configure/AT91Bootstrap +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ - $(AT91BOOTSTRAP_CONFIG)_defconfig + $(AT91BOOTSTRAP_CONFIG)_defconfig endef define Build/Compile/AT91Bootstrap +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ - CROSS_COMPILE=$(TARGET_CROSS) \ - $(AT91BOOTSTRAP_MAKE_FLAGS) + CROSS_COMPILE=$(TARGET_CROSS) \ + $(AT91BOOTSTRAP_MAKE_FLAGS) endef define BuildPackage/AT91Bootstrap/Defaults - Build/Configure/Default = $$$$(Build/Configure/AT91Bootstrap) - Build/Compile/Default = $$$$(Build/Compile/AT91Bootstrap) + Build/Configure/Default = $$$$(Build/Configure/AT91Bootstrap) + Build/Compile/Default = $$$$(Build/Compile/AT91Bootstrap) endef define BuildPackage/AT91Bootstrap - $(eval $(call BuildPackage/AT91Bootstrap/Defaults)) - $(foreach type,$(if $(DUMP),$(AT91BOOTSTRAP_TARGETS),$(BUILD_VARIANT)), \ - $(eval $(call Build/AT91Bootstrap/Target,$(type))) - ) - $(eval $(call Build/DefaultTargets)) - $(foreach type,$(if $(DUMP),$(AT91BOOTSTRAP_TARGETS),$(BUILD_VARIANT)), \ - $(call BuildPackage,at91bootstrap-$(type)) - ) + $(eval $(call BuildPackage/AT91Bootstrap/Defaults)) + $(foreach type,$(if $(DUMP),$(AT91BOOTSTRAP_TARGETS),$(BUILD_VARIANT)), \ + $(eval $(call Build/AT91Bootstrap/Target,$(type))) + ) + $(eval $(call Build/DefaultTargets)) + $(foreach type,$(if $(DUMP),$(AT91BOOTSTRAP_TARGETS),$(BUILD_VARIANT)), \ + $(call BuildPackage,at91bootstrap-$(type)) + ) endef |