target/iso9660: fix mkisofs build for !i686
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 Jul 2009 22:15:55 +0000 (00:15 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 Jul 2009 22:15:55 +0000 (00:15 +0200)
Use HOST_ARCH instead of hardcoded i686. The build still could use
some cleanup though.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
target/iso9660/iso9660.mk

index 151970ffde523cedfdbed7425c11f0f870c4cd3a..2525286f69703dec000a050b003bd9e19557da80 100644 (file)
@@ -7,7 +7,7 @@ MKISOFS_SOURCE:=cdrtools-2.01.tar.bz2
 MKISOFS_CAT:=$(BZCAT)
 MKISOFS_SITE:=ftp://ftp.berlios.de/pub/cdrecord/
 MKISOFS_DIR:=$(BUILD_DIR)/cdrtools-2.01
-MKISOFS_TARGET:=$(MKISOFS_DIR)/mkisofs/OBJ/i686-linux-cc/mkisofs
+MKISOFS_TARGET=$(MKISOFS_DIR)/mkisofs/OBJ/$(HOST_ARCH)-linux-cc/mkisofs
 
 $(DL_DIR)/$(MKISOFS_SOURCE):
        $(call DOWNLOAD,$(MKISOFS_SITE),$(MKISOFS_SOURCE))