mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-04-23 21:14:49 +00:00
Allow for untracked config.h
This commit is contained in:
parent
396a646fa3
commit
bf63fb0626
2 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,10 @@ CFLAGS = \
|
|||
-fstrict-volatile-bitfields \
|
||||
-DFUSEE_STAGE1_SRC
|
||||
|
||||
ifneq (,$(wildcard src/config.h))
|
||||
CFLAGS += -DHAS_CONFIG_H
|
||||
endif
|
||||
|
||||
LDFLAGS = -specs=linker.specs -g $(ARCH)
|
||||
|
||||
objects = $(patsubst $(dir_source)/%.s, $(dir_build)/%.o, \
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
#include "lib/printk.h"
|
||||
#include "display/video_fb.h"
|
||||
|
||||
#ifdef HAS_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
extern void (*__program_exit_callback)(int rc);
|
||||
|
||||
static void *g_framebuffer;
|
||||
|
|
Loading…
Add table
Reference in a new issue