fix build bug
This commit is contained in:
parent
5275942584
commit
4f0830e330
@ -28,10 +28,9 @@ define Build/Prepare
|
||||
$(CP) src/* $(PKG_BUILD_DIR)/
|
||||
endef
|
||||
|
||||
|
||||
define Build/Compile
|
||||
ifdef CONFIG_PACKAGE_$(PKG_NAME)_EARLY_RETURN
|
||||
TARGET_CFLAGS+=-DEARLY_RETURN
|
||||
else
|
||||
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS)"
|
||||
endef
|
||||
|
@ -2,7 +2,7 @@ TARGET = tom_modem
|
||||
|
||||
CFLAGS ?= -Wall -Iextlib
|
||||
|
||||
SRCS = main.c utils.c extlib/pdu.c extlib/ucs2_to_utf8.c
|
||||
SRCS = main.c utils.c operations.c ttydevice.c extlib/pdu.c extlib/ucs2_to_utf8.c
|
||||
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user