newrpl/primeg1-multiload.pro

202 lines
6.9 KiB
Prolog
Raw Normal View History

2020-02-25 16:43:33 +01:00
#-------------------------------------------------
#
# Project created by QtCreator 2014-11-29T15:53:29
#
#-------------------------------------------------
TARGET = primeg1_multiload.elf
2020-02-25 16:43:33 +01:00
TEMPLATE = app
CONFIG(release, debug|release) {
CONFIG = static ordered
}
CONFIG(debug, debug|release) {
CONFIG = debug static ordered
}
DEFINES += TARGET_PRIME1 NDEBUG "NEWRPL_BUILDNUM=$$system(git rev-list --count HEAD)"
# DO NOT ALTER THE ORDER OF THESE MODULES
SOURCES +=\
firmware/sys/target_prime1/preamble_multiload.c \
firmware/sys/target_prime1/boot_multiload.c \
firmware/sys/target_prime1/cpu.c \
firmware/sys/target_prime1/exception.c \
firmware/sys/target_prime1/irq.c \
2020-05-01 20:10:42 +02:00
firmware/sys/target_prime1/lcd.c \
firmware/sys/target_prime1/nand.c \
firmware/sys/target_prime1/rtc.c \
firmware/sys/target_prime1/sddriver.c \
firmware/sys/target_prime1/stdlib.c \
firmware/sys/target_prime1/timer.c \
firmware/sys/keybcommon.c \
firmware/sys/target_prime1/keyboard.c \
firmware/sys/fsystem/fatconvert.c \
firmware/sys/fsystem/fsattr.c \
firmware/sys/fsystem/fscalcfreespace.c \
firmware/sys/fsystem/fschattr.c \
firmware/sys/fsystem/fschdir.c \
firmware/sys/fsystem/fschmode.c \
firmware/sys/fsystem/fsclose.c \
firmware/sys/fsystem/fscloseanddelete.c \
firmware/sys/fsystem/fsconvert2shortentry.c \
firmware/sys/fsystem/fscreate.c \
firmware/sys/fsystem/fsdelete.c \
firmware/sys/fsystem/fsdeletedirentry.c \
firmware/sys/fsystem/fseof.c \
firmware/sys/fsystem/fsexpandchain.c \
firmware/sys/fsystem/fsfileisopen.c \
firmware/sys/fsystem/fsfileisreferenced.c \
firmware/sys/fsystem/fsfilelength.c \
firmware/sys/fsystem/fsfindchar.c \
firmware/sys/fsystem/fsfindentry.c \
firmware/sys/fsystem/fsfindfile.c \
firmware/sys/fsystem/fsfindforcreation.c \
firmware/sys/fsystem/fsflushbuffers.c \
firmware/sys/fsystem/fsflushfatcache.c \
firmware/sys/fsystem/fsfreechain.c \
firmware/sys/fsystem/fsfreefile.c \
firmware/sys/fsystem/fsgetaccessdate.c \
firmware/sys/fsystem/fsgetchain.c \
firmware/sys/fsystem/fsgetchainsize.c \
firmware/sys/fsystem/fsgetcreattime.c \
firmware/sys/fsystem/fsgetcurrentvolume.c \
firmware/sys/fsystem/fsgetcwd.c \
firmware/sys/fsystem/fsgetdatetime.c \
firmware/sys/fsystem/fsgeterrormsg.c \
firmware/sys/fsystem/fsgetfilename.c \
firmware/sys/fsystem/fsgethandle.c \
firmware/sys/fsystem/fsgetnametype.c \
firmware/sys/fsystem/fsgetnextentry.c \
firmware/sys/fsystem/fsgetvolumefree.c \
firmware/sys/fsystem/fsgetvolumesize.c \
firmware/sys/fsystem/fsgetwritetime.c \
firmware/sys/fsystem/fsinit.c \
firmware/sys/fsystem/fsmkdir.c \
firmware/sys/fsystem/fsmountvolume.c \
firmware/sys/fsystem/fsmovedopenfiles.c \
firmware/sys/fsystem/fsnamecompare.c \
firmware/sys/fsystem/fsopen.c \
firmware/sys/fsystem/fsopendir.c \
firmware/sys/fsystem/fspackdir.c \
firmware/sys/fsystem/fspackname.c \
firmware/sys/fsystem/fspatchfatblock.c \
firmware/sys/fsystem/fsread.c \
firmware/sys/fsystem/fsreadll.c \
firmware/sys/fsystem/fsreleaseentry.c \
firmware/sys/fsystem/fsrename.c \
firmware/sys/fsystem/fsrestart.c \
firmware/sys/fsystem/fsrmdir.c \
firmware/sys/fsystem/fsseek.c \
firmware/sys/fsystem/fssetcasemode.c \
firmware/sys/fsystem/fssetcurrentvolume.c \
firmware/sys/fsystem/fsshutdown.c \
firmware/sys/fsystem/fssleep.c \
firmware/sys/fsystem/fsstripsemi.c \
firmware/sys/fsystem/fstell.c \
firmware/sys/fsystem/fstruncatechain.c \
firmware/sys/fsystem/fsupdatedirentry.c \
firmware/sys/fsystem/fsvolumeinserted.c \
firmware/sys/fsystem/fsvolumemounted.c \
firmware/sys/fsystem/fsvolumepresent.c \
firmware/sys/fsystem/fswrite.c \
firmware/sys/fsystem/fswritefatentry.c \
firmware/sys/fsystem/fswritell.c \
firmware/sys/fsystem/fsystem.c \
firmware/sys/fsystem/misalign.c \
firmware/sys/fsystem/fsallocator.c \
2020-05-01 20:10:42 +02:00
firmware/ggl/ggl/ggl_bitblt.c \
firmware/ggl/ggl/ggl_bitbltoper.c \
firmware/ggl/ggl/ggl_filter.c \
firmware/ggl/ggl/ggl_fltdarken.c \
firmware/ggl/ggl/ggl_fltlighten.c \
firmware/ggl/ggl/ggl_fltinvert.c \
firmware/ggl/ggl/ggl_getnib.c \
firmware/ggl/ggl/ggl_hblt.c \
firmware/ggl/ggl/ggl_hbltfilter.c \
firmware/ggl/ggl/ggl_hbltoper.c \
firmware/ggl/ggl/ggl_hline.c \
firmware/ggl/ggl/ggl_initscr.c \
firmware/ggl/ggl/ggl_mkcolor.c \
firmware/ggl/ggl/ggl_mkcolor32.c \
firmware/ggl/ggl/ggl_opmask.c \
firmware/ggl/ggl/ggl_optransp.c \
firmware/ggl/ggl/ggl_ovlblt.c \
firmware/ggl/ggl/ggl_pltnib.c \
firmware/ggl/ggl/ggl_rect.c \
firmware/ggl/ggl/ggl_rectp.c \
firmware/ggl/ggl/ggl_revblt.c \
firmware/ggl/ggl/ggl_scrolldn.c \
firmware/ggl/ggl/ggl_scrolllf.c \
firmware/ggl/ggl/ggl_scrollrt.c \
firmware/ggl/ggl/ggl_scrollup.c \
firmware/ggl/ggl/ggl_vline.c \
2020-05-02 15:18:06 +02:00
firmware/ggl/ggl/ggl_fltreplace.c \
firmware/sys/Font10A.c \
firmware/sys/graphics.c \
newrpl/decimal.c \
newrpl/mul_real_arm.c \
newrpl/sysvars.c \
2020-05-02 15:18:06 +02:00
newrpl/utf8data.c \
newrpl/utf8lib.c
2020-02-25 16:43:33 +01:00
HEADERS += \
firmware/sys/target_prime1/nand.h \
2020-05-01 20:10:42 +02:00
newrpl/arithmetic.h \
newrpl/decimal.h \
newrpl/fastmath.h \
newrpl/libraries.h \
2020-02-25 16:43:33 +01:00
newrpl/newrpl.h \
2020-05-01 20:10:42 +02:00
newrpl/newrpl_types.h \
newrpl/sysvars.h \
newrpl/utf8lib.h \
firmware/sys/fsystem/fsyspriv.h \
2020-05-01 20:10:42 +02:00
firmware/include/firmware.h \
firmware/include/fsystem.h \
2020-05-01 20:10:42 +02:00
firmware/include/ggl.h \
firmware/include/hal_api.h \
firmware/include/target_prime1.h \
firmware/include/ui.h \
firmware/include/usb.h
2020-02-25 16:43:33 +01:00
# Cross compiler dependent
GCC_LIBDIR = $$system(arm-none-eabi-gcc -print-file-name=)
INCLUDEPATH += $$GCC_LIBDIR/include
QMAKE_LIBDIR += $$GCC_LIBDIR
INCLUDEPATH += firmware/include newrpl /usr/local/include /usr/include
LIBS += -lgcc
DISTFILES += \
firmware/sys/target_prime1/ld_multiload.script
2020-02-25 16:43:33 +01:00
QMAKE_CC = arm-none-eabi-gcc
QMAKE_CXX = arm-none-eabi-g++
QMAKE_LINK = arm-none-eabi-gcc
QMAKE_CFLAGS_DEBUG = -g $${DEVEL_OPTIONS} -mtune=arm926ej-s -march=armv5tej -mlittle-endian -fno-jump-tables -fomit-frame-pointer -fno-toplevel-reorder -msoft-float -Og -pipe $${THUMB_MODE} -mthumb-interwork -nostdinc -fno-tree-loop-distribute-patterns
QMAKE_CFLAGS_RELEASE = $${DEVEL_OPTIONS} -mtune=arm926ej-s -march=armv5tej -mlittle-endian -fno-jump-tables -fomit-frame-pointer -fno-toplevel-reorder -msoft-float -O2 -fno-partial-inlining -pipe $${THUMB_MODE} -mthumb-interwork -nostdinc -fno-tree-loop-distribute-patterns
2020-02-25 16:43:33 +01:00
QMAKE_CFLAGS_SHLIB =
QMAKE_CFLAGS_MT =
QMAKE_CFLAGS_MT_DBG =
QMAKE_CFLAGS_THREAD =
QMAKE_CFLAGS_APP =
QMAKE_LFLAGS_DEBUG =
QMAKE_LFLAGS_SHAPP =
QMAKE_LFLAGS_THREAD =
QMAKE_LFLAGS = -g -T$$PWD/firmware/sys/target_prime1/ld_multiload.script -nodefaultlibs -nostdlib -L$$GCC_LIBDIR
2020-02-25 16:43:33 +01:00
2020-06-27 21:21:23 +02:00
QMAKE_POST_LINK = $$PWD/tools-bin/elf2rom -pad1024k -outPRIME_OS.ROM $(TARGET)