Skip to content

Commit c03df2b

Browse files
committed
adapt to new optional build strategy
1 parent 44120d4 commit c03df2b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ifndef PDIR # {
2121
GEN_IMAGES= eagle.app.v6.out
2222
GEN_BINS= eagle.app.v6.bin
2323
OPT_MKTARGETS := coap crypto dht http mqtt pcm sjson sqlite3 tsl2561 websocket
24-
OPT_MKLIBTARGETS := u8g ucg
24+
OPT_MKLIBTARGETS := u8g2 ucg
2525
SEL_MKTARGETS := $(shell $(CC) -E -dM include/user_modules.h | sed -n '/^\#define LUA_USE_MODULES_/{s/.\{24\}\(.*\)/\L\1/; p}')
2626
OPT_SEL_MKLIBTARGETS := $(foreach tgt,$(OPT_MKLIBTARGETS),$(findstring $(tgt), $(SEL_MKTARGETS)))
2727
OPT_SEL_MKTARGETS := $(foreach tgt,$(OPT_MKTARGETS),$(findstring $(tgt), $(SEL_MKTARGETS))) \
@@ -38,7 +38,6 @@ SUBDIRS= \
3838
lua \
3939
lwip \
4040
task \
41-
u8g2lib \
4241
smart \
4342
modules \
4443
spiffs \
@@ -69,7 +68,6 @@ COMPONENTS_eagle.app.v6 = \
6968
libc/liblibc.a \
7069
lua/liblua.a \
7170
lwip/liblwip.a \
72-
u8g2lib/u8g2lib.a \
7371
smart/smart.a \
7472
spiffs/spiffs.a \
7573
fatfs/libfatfs.a \

app/u8g2lib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# a generated lib/image xxx.a ()
1313
#
1414
ifndef PDIR
15-
GEN_LIBS = u8g2lib.a
15+
GEN_LIBS = libu8g2lib.a
1616
endif
1717

1818
STD_CFLAGS=-std=gnu11 -Wimplicit

0 commit comments

Comments
 (0)