mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
nuttx/uorb: Rename GPS to GNSS
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
+1
-1
@@ -31,6 +31,6 @@ source "libs/libc/builtin/Kconfig"
|
||||
source "libs/libc/symtab/Kconfig"
|
||||
source "libs/libc/stream/Kconfig"
|
||||
source "libs/libc/regex/Kconfig"
|
||||
source "libs/libc/gpsutils/Kconfig"
|
||||
source "libs/libc/gnssutils/Kconfig"
|
||||
source "libs/libc/fdt/Kconfig"
|
||||
source "libs/libc/queue/Kconfig"
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ include eventfd/Make.defs
|
||||
include fixedmath/Make.defs
|
||||
include gdbstub/Make.defs
|
||||
include grp/Make.defs
|
||||
include gpsutils/Make.defs
|
||||
include gnssutils/Make.defs
|
||||
include hex2bin/Make.defs
|
||||
include inttypes/Make.defs
|
||||
include libgen/Make.defs
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# ##############################################################################
|
||||
# libs/libc/gpsutils/CMakeLists.txt
|
||||
# libs/libc/gnssutils/CMakeLists.txt
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||
# license agreements. See the NOTICE file distributed with this work for
|
||||
@@ -17,7 +17,7 @@
|
||||
# the License.
|
||||
#
|
||||
# ##############################################################################
|
||||
if(CONFIG_GPSUTILS_MINMEA_LIB)
|
||||
if(CONFIG_GNSSUTILS_MINMEA_LIB)
|
||||
|
||||
if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/minmea)
|
||||
|
||||
@@ -30,7 +30,7 @@ if(CONFIG_GPSUTILS_MINMEA_LIB)
|
||||
SOURCE_DIR
|
||||
${CMAKE_CURRENT_LIST_DIR}/minmea
|
||||
BINARY_DIR
|
||||
${CMAKE_BINARY_DIR}/libs/libc/gpsutils/minmea
|
||||
${CMAKE_BINARY_DIR}/libs/libc/gnssutils/minmea
|
||||
CONFIGURE_COMMAND
|
||||
""
|
||||
BUILD_COMMAND
|
||||
@@ -3,7 +3,7 @@
|
||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
|
||||
config GPSUTILS_MINMEA_LIB
|
||||
config GNSSUTILS_MINMEA_LIB
|
||||
bool "MINMEA NMEA Library"
|
||||
default n
|
||||
---help---
|
||||
@@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# libs/libc/gpsutils/Make.defs
|
||||
# libs/libc/gnssutils/Make.defs
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
@@ -18,12 +18,12 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
ifneq ($(CONFIG_GPSUTILS_MINMEA_LIB),)
|
||||
ifneq ($(CONFIG_GNSSUTILS_MINMEA_LIB),)
|
||||
|
||||
MINMEA_URL ?= "https://github.com/kosma/minmea/archive"
|
||||
MINMEA_VERSION ?= db46128e73cee26d6a6eb0482dcba544ee1ea9f5
|
||||
|
||||
MINMEA_UNPACKNAME = gpsutils/minmea
|
||||
MINMEA_UNPACKNAME = gnssutils/minmea
|
||||
|
||||
$(MINMEA_UNPACKNAME):
|
||||
@echo "Downloading: $(MINMEA_UNPACKNAME)"
|
||||
@@ -32,7 +32,7 @@ $(MINMEA_UNPACKNAME):
|
||||
$(Q) unzip -o -j $(MINMEA_VERSION).zip -d $(MINMEA_UNPACKNAME)
|
||||
$(call DELFILE, $(MINMEA_VERSION).zip)
|
||||
$(Q) mkdir -p $(TOPDIR)$(DELIM)include$(DELIM)minmea$(DELIM)
|
||||
$(Q) cp gpsutils/minmea/minmea.h $(TOPDIR)$(DELIM)include$(DELIM)minmea$(DELIM)
|
||||
$(Q) cp gnssutils/minmea/minmea.h $(TOPDIR)$(DELIM)include$(DELIM)minmea$(DELIM)
|
||||
|
||||
# Files
|
||||
|
||||
@@ -52,12 +52,12 @@ distclean::
|
||||
else
|
||||
context::
|
||||
$(Q) mkdir -p $(TOPDIR)$(DELIM)include$(DELIM)minmea$(DELIM)
|
||||
$(Q) cp gpsutils/minmea/minmea.h $(TOPDIR)$(DELIM)include$(DELIM)minmea$(DELIM)
|
||||
$(Q) cp gnssutils/minmea/minmea.h $(TOPDIR)$(DELIM)include$(DELIM)minmea$(DELIM)
|
||||
|
||||
distclean::
|
||||
$(call DELDIR, $(TOPDIR)$(DELIM)include$(DELIM)minmea$(DELIM))
|
||||
endif
|
||||
|
||||
DEPPATH += --dep-path gpsutils/minmea
|
||||
VPATH += :gpsutils/minmea
|
||||
DEPPATH += --dep-path gnssutils/minmea
|
||||
VPATH += :gnssutils/minmea
|
||||
endif
|
||||
Reference in New Issue
Block a user