Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
27361a5c
Commit
27361a5c
authored
7 years ago
by
Hauke Petersen
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #6690 from lebrush/fix/export-features
make: fix export features
parents
bc928eac
ff76b60d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
makefiles/vars.inc.mk
+4
-0
4 additions, 0 deletions
makefiles/vars.inc.mk
sys/shell/commands/Makefile
+3
-6
3 additions, 6 deletions
sys/shell/commands/Makefile
sys/shell/commands/sc_rtc.c
+0
-17
0 additions, 17 deletions
sys/shell/commands/sc_rtc.c
with
7 additions
and
23 deletions
makefiles/vars.inc.mk
+
4
−
0
View file @
27361a5c
...
...
@@ -28,6 +28,10 @@ export BINDIR # This is the folder where the application should b
export
APPDIR
# The base folder containing the application
export
PKGDIRBASE
# The base folder for building packages
export
FEATURES_REQUIRED
# List of required features by the application
export
FEATURES_PROVIDED
# List of provided features by the board
export
FEATURES_OPTIONAL
# List of nice to have features
export
TARGET_ARCH
# The target platform name, in GCC triple notation, e.g. "arm-none-eabi", "i686-elf", "avr"
export
PREFIX
# The prefix of the toolchain commands, usually "$(TARGET_ARCH)-", e.g. "arm-none-eabi-" or "msp430-".
export
CC
# The C compiler to use.
...
...
This diff is collapsed.
Click to expand it.
sys/shell/commands/Makefile
+
3
−
6
View file @
27361a5c
...
...
@@ -68,11 +68,8 @@ ifneq (,$(filter conn_can,$(USEMODULE)))
SRC
+=
sc_can.c
endif
# TODO
# Conditional building not possible at the moment due to
# https://github.com/RIOT-OS/RIOT/issues/2058
# The implementation is guarded in the source file instead, this
# should be changed once the issue has been resolved
SRC
+=
sc_rtc.c
ifneq
(,$(filter periph_rtc,$(FEATURES_PROVIDED)))
SRC
+=
sc_rtc.c
endif
include
$(RIOTBASE)/Makefile.base
This diff is collapsed.
Click to expand it.
sys/shell/commands/sc_rtc.c
+
0
−
17
View file @
27361a5c
...
...
@@ -20,8 +20,6 @@
* @}
*/
#ifdef FEATURE_PERIPH_RTC
#include
<stdio.h>
#include
<stdint.h>
#include
<string.h>
...
...
@@ -189,18 +187,3 @@ int _rtc_handler(int argc, char **argv)
}
return
0
;
}
#else
#include
<stdio.h>
int
_rtc_handler
(
int
argc
,
char
**
argv
)
{
(
void
)
argc
;
(
void
)
argv
;
puts
(
"not implemented"
);
return
1
;
}
#endif
/* FEATURE_RTC */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment