You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2021/03/24 17:38:36 UTC
[incubator-nuttx-apps] branch master updated: build: Remove the
null assignment
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new d656982 build: Remove the null assignment
d656982 is described below
commit d656982f7a113762ac9c26c98dac697137a8a27a
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Mar 20 05:16:50 2021 +0800
build: Remove the null assignment
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
Application.mk | 4 ----
examples/bmi160/Makefile | 2 --
examples/charger/Makefile | 2 --
examples/module/drivers/chardev/Makefile | 3 ---
examples/sotest/lib/modprint/Makefile | 3 ---
examples/sotest/lib/sotest/Makefile | 3 ---
examples/udpblaster/udpblaster.h | 2 +-
examples/usbserial/Makefile.host | 1 -
modbus/rtu/Make.defs | 2 --
9 files changed, 1 insertion(+), 21 deletions(-)
diff --git a/Application.mk b/Application.mk
index d1dba98..e6f8f63 100644
--- a/Application.mk
+++ b/Application.mk
@@ -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)
diff --git a/examples/bmi160/Makefile b/examples/bmi160/Makefile
index 45132d8..7fffef8 100644
--- a/examples/bmi160/Makefile
+++ b/examples/bmi160/Makefile
@@ -44,8 +44,6 @@ STACKSIZE = $(CONFIG_EXAMPLES_SIXAXIS_STACKSIZE)
# sixaxis Example
-ASRCS =
-CSRCS =
MAINSRC = sixaxis_main.c
include $(APPDIR)/Application.mk
diff --git a/examples/charger/Makefile b/examples/charger/Makefile
index 052ea02..28f4e23 100644
--- a/examples/charger/Makefile
+++ b/examples/charger/Makefile
@@ -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
diff --git a/examples/module/drivers/chardev/Makefile b/examples/module/drivers/chardev/Makefile
index d6c9650..007e8a6 100644
--- a/examples/module/drivers/chardev/Makefile
+++ b/examples/module/drivers/chardev/Makefile
@@ -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),)
diff --git a/examples/sotest/lib/modprint/Makefile b/examples/sotest/lib/modprint/Makefile
index c4d1d32..4315797 100644
--- a/examples/sotest/lib/modprint/Makefile
+++ b/examples/sotest/lib/modprint/Makefile
@@ -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),)
diff --git a/examples/sotest/lib/sotest/Makefile b/examples/sotest/lib/sotest/Makefile
index 31e0208..b4fea74 100644
--- a/examples/sotest/lib/sotest/Makefile
+++ b/examples/sotest/lib/sotest/Makefile
@@ -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),)
diff --git a/examples/udpblaster/udpblaster.h b/examples/udpblaster/udpblaster.h
index 68012d4..4c9cce6 100644
--- a/examples/udpblaster/udpblaster.h
+++ b/examples/udpblaster/udpblaster.h
@@ -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 <gn...@nuttx.org>
diff --git a/examples/usbserial/Makefile.host b/examples/usbserial/Makefile.host
index 1811741..f6234bc 100644
--- a/examples/usbserial/Makefile.host
+++ b/examples/usbserial/Makefile.host
@@ -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
diff --git a/modbus/rtu/Make.defs b/modbus/rtu/Make.defs
index b17aa4f..0c67b18 100644
--- a/modbus/rtu/Make.defs
+++ b/modbus/rtu/Make.defs
@@ -33,8 +33,6 @@
#
############################################################################
-compile_rtu=
-
ifeq ($(CONFIG_MB_RTU_ENABLED),y)
compile_rtu=yes
endif