Extend the mkisofs-override code to work with multi-arch too
This commit is contained in:
parent
07e283ef7f
commit
8e1cbeed1f
8
Makefile
8
Makefile
|
@ -42,17 +42,15 @@ ifeq ($(shell echo $(ARCHES) | sed 's/.*source.*/1/'),1)
|
|||
export INC_SOURCE=yes
|
||||
endif
|
||||
|
||||
export NUM_ARCHES=$(shell echo $(ARCHES) | wc -w)
|
||||
ifeq ($(NUM_ARCHES),1)
|
||||
ARCH_MKISOFS = ${${ARCHES}_MKISOFS}
|
||||
ARCH_MKISOFS_OPTS = ${${ARCHES}_MKISOFS_OPTS}
|
||||
UNDER_ARCHES=$(shell echo $(ARCHES) | sed 's/\ /_/g')
|
||||
ARCH_MKISOFS = ${${UNDER_ARCHES}_MKISOFS}
|
||||
ARCH_MKISOFS_OPTS = ${${UNDER_ARCHES}_MKISOFS_OPTS}
|
||||
ifneq (${ARCH_MKISOFS},)
|
||||
MKISOFS = ${ARCH_MKISOFS}
|
||||
endif
|
||||
ifneq (${ARCH_MKISOFS_OPTS},)
|
||||
MKISOFS_OPTS = ${ARCH_MKISOFS_OPTS}
|
||||
endif
|
||||
endif
|
||||
|
||||
## Internal variables
|
||||
apt=$(BASEDIR)/tools/apt-selection
|
||||
|
|
Loading…
Reference in New Issue