[Buildroot] tzdata.mk

Martin Dorwig dorwig at tetronik.com
Tue Nov 4 07:10:39 UTC 2014


Hello,
i am using buildroot-2014.08 and
maybe i found a bug inpackage/tzdata/ tzdata.mk

$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share
cp -a $(HOST_DIR)/usr/share/zoneinfo $(TARGET_DIR)/usr/share/zoneinfo

if $(TARGET_DIR)/usr/share/zoneinfo already exist, cp will create 
$(TARGET_DIR)/usr/share/zoneinfo/zoneinfo and copy the files there

i suggest
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/zoneinfo
cp -a $(HOST_DIR)/usr/share/zoneinfo/* $(TARGET_DIR)/usr/share/zoneinfo

regards 
Martin




More information about the buildroot mailing list