Skip to content

Commit

Permalink
Revert "[build] Wrap BuildConfig.h in HAVE_CONFIG_H. (#904)" (#918)
Browse files Browse the repository at this point in the history
This reverts commit 6c75a3e.
  • Loading branch information
sagar-apple authored May 29, 2020
1 parent 220d668 commit 8396966
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion config/efr32/efr32-app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ endif
endif

STD_DEFINES = \
HAVE_CONFIG_H \
__STARTUP_CLEAR_BSS \
$(MCU)

Expand Down
2 changes: 1 addition & 1 deletion config/nrf5/nrf5-app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ STD_LIBS = \

STD_INC_DIRS =

STD_DEFINES = HAVE_CONFIG_H
STD_DEFINES =

STD_COMPILE_PREREQUISITES = nrf5-sdk-check

Expand Down
2 changes: 0 additions & 2 deletions config/standalone/standalone-app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ STD_LIBS = \
-lm \
-lpthread

STD_DEFINES = HAVE_CONFIG_H

DEFINE_FLAGS = $(addprefix -D,$(STD_DEFINES) $(DEFINES))

INC_FLAGS = $(addprefix -I,$(INC_DIRS) $(STD_INC_DIRS))
Expand Down
2 changes: 0 additions & 2 deletions src/system/SystemConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
#define SYSTEMCONFIG_H

/* Platform include headers */
#ifdef HAVE_CONFIG_H
#include <BuildConfig.h>
#endif

/* Include a CHIP project-specific configuration file, if defined.
*
Expand Down

0 comments on commit 8396966

Please sign in to comment.