build: Remove the null assignment

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-03-20 05:16:50 +08:00 committed by Abdelatif Guettouche
parent 3fc062e9cd
commit d656982f7a
9 changed files with 1 additions and 21 deletions

View File

@ -90,12 +90,8 @@ ifneq ($(BUILD_MODULE),y)
OBJS += $(MAINCOBJ) $(MAINCXXOBJ) OBJS += $(MAINCOBJ) $(MAINCXXOBJ)
endif endif
DEPPATH += --dep-path .
DEPPATH += --obj-path .
DEPPATH += --obj-suffix $(SUFFIX)$(OBJEXT) DEPPATH += --obj-suffix $(SUFFIX)$(OBJEXT)
VPATH += :.
# Targets follow # Targets follow
all:: $(OBJS) all:: $(OBJS)

View File

@ -44,8 +44,6 @@ STACKSIZE = $(CONFIG_EXAMPLES_SIXAXIS_STACKSIZE)
# sixaxis Example # sixaxis Example
ASRCS =
CSRCS =
MAINSRC = sixaxis_main.c MAINSRC = sixaxis_main.c
include $(APPDIR)/Application.mk include $(APPDIR)/Application.mk

View File

@ -6,8 +6,6 @@ PROGNAME = $(CONFIG_EXAMPLES_CHARGER_PROGNAME)
PRIORITY = $(CONFIG_EXAMPLES_CHARGER_PRIORITY) PRIORITY = $(CONFIG_EXAMPLES_CHARGER_PRIORITY)
STACKSIZE = $(CONFIG_EXAMPLES_CHARGER_STACKSIZE) STACKSIZE = $(CONFIG_EXAMPLES_CHARGER_STACKSIZE)
ASRCS =
CSRCS =
MAINSRC = charger_main.c MAINSRC = charger_main.c
include $(APPDIR)/Application.mk include $(APPDIR)/Application.mk

View File

@ -37,9 +37,6 @@ include $(APPDIR)/Make.defs
CMODULEFLAGS += $(KDEFINE) CMODULEFLAGS += $(KDEFINE)
LDLIBPATH =
LDLIBS =
ifeq ($(CONFIG_EXAMPLES_MODULE_LIBGCC),y) ifeq ($(CONFIG_EXAMPLES_MODULE_LIBGCC),y)
LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}" LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
ifneq ($(LIBGCC),) ifneq ($(LIBGCC),)

View File

@ -35,9 +35,6 @@
include $(APPDIR)/Make.defs include $(APPDIR)/Make.defs
LDLIBPATH =
LDLIBS =
ifeq ($(CONFIG_EXAMPLES_SOTEST_LIBGCC),y) ifeq ($(CONFIG_EXAMPLES_SOTEST_LIBGCC),y)
LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}" LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
ifneq ($(LIBGCC),) ifneq ($(LIBGCC),)

View File

@ -35,9 +35,6 @@
include $(APPDIR)/Make.defs include $(APPDIR)/Make.defs
LDLIBPATH =
LDLIBS =
ifeq ($(CONFIG_EXAMPLES_SOTEST_LIBGCC),y) ifeq ($(CONFIG_EXAMPLES_SOTEST_LIBGCC),y)
LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}" LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
ifneq ($(LIBGCC),) ifneq ($(LIBGCC),)

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* examples/udpblaster/udpblaster.h * apps/examples/udpblaster/udpblaster.h
* *
* Copyright (C) 2015, 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2015, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -40,7 +40,6 @@ include $(APPDIR)/Make.defs
SRC = host.c SRC = host.c
BIN = host$(HOSTEXEEXT) BIN = host$(HOSTEXEEXT)
DEFINES =
ifeq ($(CONFIG_EXAMPLES_USBSERIAL_INONLY),y) ifeq ($(CONFIG_EXAMPLES_USBSERIAL_INONLY),y)
DEFINES += -DCONFIG_EXAMPLES_USBSERIAL_INONLY=1 DEFINES += -DCONFIG_EXAMPLES_USBSERIAL_INONLY=1
endif endif

View File

@ -33,8 +33,6 @@
# #
############################################################################ ############################################################################
compile_rtu=
ifeq ($(CONFIG_MB_RTU_ENABLED),y) ifeq ($(CONFIG_MB_RTU_ENABLED),y)
compile_rtu=yes compile_rtu=yes
endif endif