libs/libnx: do not generate resource if CONFIG_NX is not enabled
To avoid generate resource if CONFIG_NX is disabled: | $ make -j12 | Create version.h | CPP: nxfonts_convert.c-> nxfonts_convert_8bpp.i | CPP: nxfonts_convert.c-> nxfonts_convert_24bpp.i Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
parent
ff4d461fda
commit
1d383a243f
1 changed files with 5 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ all: $(BIN)
|
|||
.PHONY : context depend clean distclean gensources gen1bppsources gen2bppsource \
|
||||
gen4bppsource gen8bppsource gen16bppsource gen24bppsource gen32bppsources genfontsources
|
||||
|
||||
ifeq ($(CONFIG_NXFONTS),y)
|
||||
|
||||
gen1bppsources:
|
||||
$(Q) $(MAKE) -C nxfonts -f Makefile.sources NXFONTS_BITSPERPIXEL=1 EXTRAFLAGS="$(EXTRAFLAGS)"
|
||||
|
||||
|
|
@ -200,6 +202,9 @@ ifeq ($(CONFIG_NXFONT_TOM_THUMB_4X6),y)
|
|||
endif
|
||||
|
||||
gensources: gen1bppsources gen2bppsource gen4bppsource gen8bppsource gen16bppsource gen24bppsource gen32bppsources genfontsources
|
||||
else
|
||||
gensources:
|
||||
endif
|
||||
|
||||
$(AOBJS): $(BINDIR)$(DELIM)%$(OBJEXT): %.S
|
||||
$(call ASSEMBLE, $<, $@)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue