diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-10-01 17:21:30 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-10-01 23:21:00 +0200 |
commit | 9e943e852286d1f3f14b7f55e96c1e550affe571 (patch) | |
tree | d1debd291e8f7b2a107083941da94427ad98e5a2 | |
parent | 0a23d1428d68f2cc0e67365a250aa012be40aa0d (diff) | |
download | buildroot-9e943e852286d1f3f14b7f55e96c1e550affe571.tar.gz buildroot-9e943e852286d1f3f14b7f55e96c1e550affe571.zip |
package/urg: fix extraction commands
Currently, the extraction commands entirely remove the urg directory,
which means the downloaded stamp will get removed, and thus a subsequent
build would try to re-download it.
It turns out that the directory extracted by urg is already correctly
named, so we just need to extract out of the build directory. This
highly simplifies the command.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/urg/urg.mk | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/package/urg/urg.mk b/package/urg/urg.mk index 4a41779709..966627fe36 100644 --- a/package/urg/urg.mk +++ b/package/urg/urg.mk @@ -25,10 +25,7 @@ endif URG_CONFIG_SCRIPTS = c_urg-config urg-config define URG_EXTRACT_CMDS - $(RM) -rf $(URG_DIR) - $(UNZIP) -d $(BUILD_DIR)/ $(DL_DIR)/$(URG_SOURCE) - test -d $(URG_DIR) || \ - mv $(BUILD_DIR)/$(subst .zip,,$(URG_SOURCE)) $(URG_DIR) + $(UNZIP) -d $(BUILD_DIR) $(DL_DIR)/$(URG_SOURCE) endef $(eval $(autotools-package)) |