Skip to content

Commit

Permalink
build: Remove the null assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
  • Loading branch information
xiaoxiang781216 authored and Ouss4 committed Mar 24, 2021
1 parent 3fc062e commit d656982
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 21 deletions.
4 changes: 0 additions & 4 deletions Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,8 @@ ifneq ($(BUILD_MODULE),y)
OBJS += $(MAINCOBJ) $(MAINCXXOBJ)
endif

DEPPATH += --dep-path .
DEPPATH += --obj-path .
DEPPATH += --obj-suffix $(SUFFIX)$(OBJEXT)

VPATH += :.

# Targets follow

all:: $(OBJS)
Expand Down
2 changes: 0 additions & 2 deletions examples/bmi160/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ STACKSIZE = $(CONFIG_EXAMPLES_SIXAXIS_STACKSIZE)

# sixaxis Example

ASRCS =
CSRCS =
MAINSRC = sixaxis_main.c

include $(APPDIR)/Application.mk
2 changes: 0 additions & 2 deletions examples/charger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ PROGNAME = $(CONFIG_EXAMPLES_CHARGER_PROGNAME)
PRIORITY = $(CONFIG_EXAMPLES_CHARGER_PRIORITY)
STACKSIZE = $(CONFIG_EXAMPLES_CHARGER_STACKSIZE)

ASRCS =
CSRCS =
MAINSRC = charger_main.c

include $(APPDIR)/Application.mk
3 changes: 0 additions & 3 deletions examples/module/drivers/chardev/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ include $(APPDIR)/Make.defs

CMODULEFLAGS += $(KDEFINE)

LDLIBPATH =
LDLIBS =

ifeq ($(CONFIG_EXAMPLES_MODULE_LIBGCC),y)
LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
ifneq ($(LIBGCC),)
Expand Down
3 changes: 0 additions & 3 deletions examples/sotest/lib/modprint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@

include $(APPDIR)/Make.defs

LDLIBPATH =
LDLIBS =

ifeq ($(CONFIG_EXAMPLES_SOTEST_LIBGCC),y)
LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
ifneq ($(LIBGCC),)
Expand Down
3 changes: 0 additions & 3 deletions examples/sotest/lib/sotest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@

include $(APPDIR)/Make.defs

LDLIBPATH =
LDLIBS =

ifeq ($(CONFIG_EXAMPLES_SOTEST_LIBGCC),y)
LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
ifneq ($(LIBGCC),)
Expand Down
2 changes: 1 addition & 1 deletion examples/udpblaster/udpblaster.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* examples/udpblaster/udpblaster.h
* apps/examples/udpblaster/udpblaster.h
*
* Copyright (C) 2015, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
Expand Down
1 change: 0 additions & 1 deletion examples/usbserial/Makefile.host
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ include $(APPDIR)/Make.defs
SRC = host.c
BIN = host$(HOSTEXEEXT)

DEFINES =
ifeq ($(CONFIG_EXAMPLES_USBSERIAL_INONLY),y)
DEFINES += -DCONFIG_EXAMPLES_USBSERIAL_INONLY=1
endif
Expand Down
2 changes: 0 additions & 2 deletions modbus/rtu/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#
############################################################################

compile_rtu=

ifeq ($(CONFIG_MB_RTU_ENABLED),y)
compile_rtu=yes
endif
Expand Down

0 comments on commit d656982

Please sign in to comment.