mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
package: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
ac9621d995
commit
e800531761
@@ -21,19 +21,19 @@ endef
|
||||
|
||||
define TZ_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0644 $(HOST_DIR)/usr/share/zoneinfo/zone.tab \
|
||||
$(TARGET_DIR)/usr/share/zoneinfo/zone.tab
|
||||
$(TARGET_DIR)/usr/share/zoneinfo/zone.tab
|
||||
$(INSTALL) -D -m 0644 $(HOST_DIR)/usr/share/zoneinfo/iso3166.tab \
|
||||
$(TARGET_DIR)/usr/share/zoneinfo/iso3166.tab
|
||||
$(TARGET_DIR)/usr/share/zoneinfo/iso3166.tab
|
||||
mkdir -p $(TARGET_DIR)/usr/share/zoneinfo/uclibc
|
||||
cp -a $(@D)/output/* $(TARGET_DIR)/usr/share/zoneinfo/uclibc
|
||||
if [ -n "$(TZ_LOCALTIME)" ]; then \
|
||||
if [ ! -f $(TARGET_DIR)/usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) ]; then \
|
||||
printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" \
|
||||
"$(TZDATA_LOCALTIME)"; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
cd $(TARGET_DIR)/etc; \
|
||||
ln -sf ../usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) TZ; \
|
||||
if [ ! -f $(TARGET_DIR)/usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) ]; then \
|
||||
printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" \
|
||||
"$(TZDATA_LOCALTIME)"; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
cd $(TARGET_DIR)/etc; \
|
||||
ln -sf ../usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) TZ; \
|
||||
fi
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user