forked from xuos/xiuos
Ubiquitous/RT-Thread_Fusion_XiUOS/: solve the problem that output bin bigger than 550MB
This commit is contained in:
parent
279757406e
commit
c271cd16ea
|
@ -226,7 +226,7 @@ SECTIONS
|
||||||
__noncachedata_init_end__ = .; /* create a global symbol at initialized ncache data end */
|
__noncachedata_init_end__ = .; /* create a global symbol at initialized ncache data end */
|
||||||
} > m_nocache
|
} > m_nocache
|
||||||
. = __noncachedata_init_end__;
|
. = __noncachedata_init_end__;
|
||||||
.ncache :
|
.ncache(NOLOAD):
|
||||||
{
|
{
|
||||||
*(NonCacheable)
|
*(NonCacheable)
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
|
|
@ -53,6 +53,9 @@ if PLATFORM == 'gcc':
|
||||||
CPATH = ''
|
CPATH = ''
|
||||||
LPATH = ''
|
LPATH = ''
|
||||||
|
|
||||||
|
AFLAGS += ' -D__STARTUP_INITIALIZE_NONCACHEDATA'
|
||||||
|
AFLAGS += ' -D__STARTUP_CLEAR_BSS'
|
||||||
|
|
||||||
if BUILD == 'debug':
|
if BUILD == 'debug':
|
||||||
CFLAGS += ' -gdwarf-2'
|
CFLAGS += ' -gdwarf-2'
|
||||||
AFLAGS += ' -gdwarf-2'
|
AFLAGS += ' -gdwarf-2'
|
||||||
|
|
Loading…
Reference in New Issue