mirror of
https://github.com/rafaelvcaetano/melonDS-android-lib.git
synced 2024-11-26 23:21:12 +00:00
b7992cc084
* Fallback to FreeBIOS when BIOS files are not found. * Add sources of drastic bios files. * Move FreeBIOS/external BIOS choice to configuration option/checkbox. * Fix indentation Co-authored-by: Filippo Scognamiglio <flscogna@gmail.com> Co-authored-by: Filippo Scognamiglio <filippo.scognamiglio@felgo.com>
18 lines
623 B
Makefile
Executable File
18 lines
623 B
Makefile
Executable File
TC_PREFIX = /home/exophase/pandora-dev
|
|
PREFIX = $(TC_PREFIX)/arm-2011.03
|
|
AS = $(PREFIX)/bin/arm-none-linux-gnueabi-gcc
|
|
OBJCOPY = $(PREFIX)/bin/arm-none-linux-gnueabi-objcopy
|
|
|
|
BIN_ARM7 = drastic_bios_arm7
|
|
BIN_ARM9 = drastic_bios_arm9
|
|
|
|
all:
|
|
$(AS) bios_common.S -DBIOS_ARM7 -march=armv4 -c -Wa,-asl=$(BIN_ARM7).list -o $(BIN_ARM7).o
|
|
$(AS) bios_common.S -DBIOS_ARM9 -march=armv5 -c -Wa,-asl=$(BIN_ARM9).list -o $(BIN_ARM9).o
|
|
$(OBJCOPY) -O binary $(BIN_ARM7).o $(BIN_ARM7).bin
|
|
$(OBJCOPY) -O binary $(BIN_ARM9).o $(BIN_ARM9).bin
|
|
|
|
clean:
|
|
rm -f $(BIN_ARM7).bin $(BIN_ARM7).o $(BIN_ARM9).bin $(BIN_ARM9).o
|
|
|