package/openlayers: do not rely on install -D -t

Use a more standard $(INSTALL) -D solution instead of -D -t, as it
causes some failures in the autobuilders.

Fixes:

  http://autobuild.buildroot.net/results/b473c44ae953dec3e4f88c4e363fb1a84b5e0dc8/

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019.11.x
Thomas Claveirole 2019-10-24 12:05:58 +02:00 committed by Thomas Petazzoni
parent 3559447e4a
commit 1ec8fa1c74
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ define OPENLAYERS_EXTRACT_CMDS
endef
define OPENLAYERS_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D -t $(TARGET_DIR)/var/www/ \
$(@D)/ol.css $(@D)/ol.js
$(INSTALL) -D -m 0644 $(@D)/ol.css $(TARGET_DIR)/var/www/ol.css
$(INSTALL) -D -m 0644 $(@D)/ol.js $(TARGET_DIR)/var/www/ol.js
endef
$(eval $(generic-package))