tar: build after busybox if enabled
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 13 Nov 2011 22:27:57 +0000 (19:27 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 14 Nov 2011 08:35:21 +0000 (09:35 +0100)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/tar/tar.mk

index c797de9be19130acfa51eca5407dcfa5dfd976a5..edbd9bdc7690bc3a403e2c83a24e539945ae318f 100644 (file)
@@ -7,4 +7,9 @@
 TAR_VERSION = 1.26
 TAR_SITE = $(BR2_GNU_MIRROR)/tar
 
+# Prefer full-blown tar over buybox's version
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+TAR_DEPENDENCIES += busybox
+endif
+
 $(eval $(call AUTOTARGETS))