Skip to content

Commit 79f53d0

Browse files
authored
[LTD mergeup] Merge pull request zephyrproject-rtos#9 from mbolivar/ltd-17.06
Upstream merge 21 June 2017
2 parents c38c4c8 + c2a529b commit 79f53d0

File tree

694 files changed

+6422
-5383
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

694 files changed

+6422
-5383
lines changed

.shippable.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,12 @@ build:
4949
echo "Building a Pull Request";
5050
echo "- Building Documentation";
5151
echo "Commit range:" ${COMMIT_RANGE}
52-
sudo pip install sphinx==1.5.5
5352
make htmldocs > doc.log 2>&1;
54-
./scripts/filter-known-issues.py --config-dir .known-issues/doc/ doc.log > doc.warnings;
53+
python2 ./scripts/filter-known-issues.py --config-dir .known-issues/doc/ doc.log > doc.warnings;
54+
if [ "$?" != 0 ]; then
55+
echo " ==> Error running filter script"
56+
exit 1
57+
fi;
5558
if [ -s doc.warnings ]; then
5659
echo " => New documentation warnings/errors";
5760
fi;

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,17 @@ endif
10081008

10091009
dts: include/generated/generated_dts_board.h
10101010

1011+
define filechk_.config-sanitycheck
1012+
(cat .config; \
1013+
grep -e '^CONFIG' include/generated/generated_dts_board.conf | cat; \
1014+
)
1015+
endef
1016+
1017+
.config-sanitycheck: include/generated/generated_dts_board.conf FORCE
1018+
$(call filechk,.config-sanitycheck)
1019+
1020+
config-sanitycheck: .config-sanitycheck
1021+
10111022
# The actual objects are generated when descending,
10121023
# make sure no implicit rule kicks in
10131024
$(sort $(zephyr-deps)): $(zephyr-dirs) zephyr-app-dir ;
@@ -1124,6 +1135,7 @@ CLEAN_DIRS += $(MODVERDIR)
11241135

11251136
CLEAN_FILES += include/generated/generated_dts_board.conf \
11261137
include/generated/generated_dts_board.h \
1138+
.config-sanitycheck \
11271139
.old_version .tmp_System.map .tmp_version \
11281140
.tmp_* System.map *.lnk *.map *.elf *.lst \
11291141
*.bin *.hex *.stat *.strip staticIdt.o linker.cmd \

Makefile.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ outputexports: initconfig
125125
dts: initconfig
126126
$(Q)$(call zephyrmake,$(O),$@)
127127

128+
config-sanitycheck: dts
129+
$(Q)$(call zephyrmake,$(O),$@)
130+
128131
menuconfig: initconfig
129132
$(Q)$(call zephyrmake,$(O),$@)
130133

arch/arc/core/atomic.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
#include <toolchain.h>
20-
#include <sections.h>
20+
#include <linker/sections.h>
2121

2222
/* exports */
2323

arch/arc/core/cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <misc/util.h>
1919
#include <toolchain.h>
2020
#include <cache.h>
21-
#include <linker-defs.h>
21+
#include <linker/linker-defs.h>
2222
#include <arch/arc/v2/aux_regs.h>
2323
#include <nano_internal.h>
2424
#include <misc/__assert.h>

arch/arc/core/cpu_idle.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <kernel_structs.h>
1515
#include <offsets_short.h>
1616
#include <toolchain.h>
17-
#include <sections.h>
17+
#include <linker/sections.h>
1818
#include <arch/cpu.h>
1919

2020
GTEXT(k_cpu_idle)

arch/arc/core/fault.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
#include <toolchain.h>
15-
#include <sections.h>
15+
#include <linker/sections.h>
1616
#include <inttypes.h>
1717

1818
#include <kernel.h>

arch/arc/core/fault_s.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
#include <toolchain.h>
15-
#include <sections.h>
15+
#include <linker/sections.h>
1616
#include <arch/cpu.h>
1717
#include <swap_macros.h>
1818

arch/arc/core/irq_manage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <arch/cpu.h>
2222
#include <misc/__assert.h>
2323
#include <toolchain.h>
24-
#include <sections.h>
24+
#include <linker/sections.h>
2525
#include <sw_isr_table.h>
2626
#include <irq.h>
2727

arch/arc/core/isr_wrapper.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include <offsets_short.h>
1717
#include <toolchain.h>
18-
#include <sections.h>
18+
#include <linker/sections.h>
1919
#include <sw_isr_table.h>
2020
#include <kernel_structs.h>
2121
#include <arch/cpu.h>

0 commit comments

Comments
 (0)