Add Makefile support for building on ARM, move comment that triggers bug on scratchbox's Make 3.80

This commit is contained in:
Justin Dolske 2008-06-22 14:43:09 -07:00
Родитель 0559b0e418
Коммит 6f8cfd6329
1 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -79,8 +79,12 @@ else
ifeq ($(machine), ppc) # FIXME: verify
arch = ppc
else
# FIXME: x86_64, ia64, sparc, Alpha
$(error Sorry, your arch is unknown/unsupported: $(machine))
ifeq ($(machine), arm)
arch = arm
else
# FIXME: x86_64, ia64, sparc, Alpha
$(error Sorry, your arch is unknown/unsupported: $(machine))
endif
endif
endif
endif
@ -92,7 +96,8 @@ platform = $(os)_$(arch)-$(compiler)
idl = IWeaveCrypto.idl
cpp_sources = WeaveCrypto.cpp WeaveCryptoModule.cpp
target = WeaveCrypto # will have .so / .dylib / .dll appended
# will have .so / .dylib / .dll appended
target = WeaveCrypto
sdkdir ?= ${MOZSDKDIR}
destdir = ..