diff options
| author | Arnout Vandecappelle <arnout@mind.be> | 2017-07-05 13:14:23 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 15:21:31 +0200 |
| commit | 3b91bd479150a599970c9121a585df9fc1566ff7 (patch) | |
| tree | faae604f66b3f3a8835b4d43909cbf2bf33cf2c2 /package/tz | |
| parent | 24e50620c9ce952c85c1de1e6b20f6bcdda8f39d (diff) | |
| download | buildroot-3b91bd479150a599970c9121a585df9fc1566ff7.tar.gz buildroot-3b91bd479150a599970c9121a585df9fc1566ff7.zip | |
Globally replace $(HOST_DIR)/usr/share with $(HOST_DIR)/share
Since things are no longer installed in $(HOST_DIR)/usr, the callers
should also not refer to it.
This is a mechanical change with
git grep -l '$(HOST_DIR)/usr/share' | xargs sed -i 's%$(HOST_DIR)/usr/share%$(HOST_DIR)/share%g'
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/tz')
| -rw-r--r-- | package/tz/tz.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/tz/tz.mk b/package/tz/tz.mk index 7386361088..1e797046d2 100644 --- a/package/tz/tz.mk +++ b/package/tz/tz.mk @@ -10,7 +10,7 @@ TZ_LICENSE = Public domain TZ_LOCALTIME = $(call qstrip,$(BR2_TARGET_LOCALTIME)) define TZ_BUILD_CMDS - (cd $(HOST_DIR)/usr/share/zoneinfo/posix/; \ + (cd $(HOST_DIR)/share/zoneinfo/posix/; \ for i in $$(find . -type f); do \ mkdir -p $(@D)/output/$$(dirname $$i); \ $(TZDUMP) -p . -q $${i#./} | sed '1d' > $(@D)/output/$$i; \ @@ -19,9 +19,9 @@ define TZ_BUILD_CMDS endef define TZ_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(HOST_DIR)/usr/share/zoneinfo/zone.tab \ + $(INSTALL) -D -m 0644 $(HOST_DIR)/share/zoneinfo/zone.tab \ $(TARGET_DIR)/usr/share/zoneinfo/zone.tab - $(INSTALL) -D -m 0644 $(HOST_DIR)/usr/share/zoneinfo/iso3166.tab \ + $(INSTALL) -D -m 0644 $(HOST_DIR)/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 |

