asm_misc = 1
# asm_cdmemory = 1 # texrels
asm_mix = 1
+
+# for armeabi to build...
+CYCLONE_CONFIG = cyclone_config_armv4.h
+
+$(cleantarget)::
+ $(MAKE) -C $(FR)cpu/cyclone/ clean
+
else
use_fame = 1
use_cz80 = 1
$(FR)pico/pico.c: $(FR)cpu/cyclone/Cyclone.h
endif
+CYCLONE_CONFIG ?= cyclone_config.h
+
$(FR)cpu/cyclone/Cyclone.h:
@echo "Cyclone submodule is missing, please run 'git submodule update --init'"
@false
-$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/cyclone_config.h
+$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/$(CYCLONE_CONFIG)
@echo building Cyclone...
- @make -C $(R)cpu/cyclone/ CONFIG_FILE=../cyclone_config.h
+ @make -C $(R)cpu/cyclone/ CONFIG_FILE=../$(CYCLONE_CONFIG)
$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/cyclone/*.cpp $(FR)cpu/cyclone/*.h