Skip to content

Commit 34150f3

Browse files
committed
Rename mongoose_custom as mongoose_config
1 parent db6730c commit 34150f3

File tree

123 files changed

+176
-136
lines changed

Some content is hidden

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

123 files changed

+176
-136
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,12 @@ mongoose.h: $(HDRS) Makefile
197197
(cat src/license.h; echo; echo '#ifndef MONGOOSE_H'; echo '#define MONGOOSE_H'; echo; cat src/version.h ; echo; echo '#ifdef __cplusplus'; echo 'extern "C" {'; echo '#endif'; cat src/arch.h src/arch_*.h src/net_ft.h src/net_lwip.h src/net_rl.h src/config.h src/str.h src/queue.h src/fmt.h src/printf.h src/log.h src/timer.h src/fs.h src/util.h src/url.h src/iobuf.h src/base64.h src/md5.h src/sha1.h src/sha256.h src/tls_x25519.h src/tls_aes128.h src/tls_uecc.h src/event.h src/net.h src/http.h src/ssi.h src/tls.h src/tls_mbed.h src/tls_openssl.h src/ws.h src/sntp.h src/mqtt.h src/dns.h src/json.h src/rpc.h src/ota.h src/device.h src/net_builtin.h src/profile.h src/drivers/*.h | sed -e '/keep/! s,#include ".*,,' -e 's,^#pragma once,,'; echo; echo '#ifdef __cplusplus'; echo '}'; echo '#endif'; echo '#endif // MONGOOSE_H')> $@
198198

199199

200-
clean: clean_examples clean_embedded
200+
clean: clean_examples clean_examples_embedded
201201
rm -rf $(PROG) *.exe *.o *.dSYM *_test* ut fuzzer *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb slow-unit* _CL_* infer-out data.txt crash-* test/packed_fs.c pack
202202
#find examples -maxdepth 3 -name zephyr -prune -o -name Makefile -print | xargs dirname | xargs -n1 make clean -C
203203

204-
clean_embedded:
204+
examples_embedded:
205+
@for X in $(EXAMPLES_EMBEDDED); do test -f $$X/Makefile || continue; $(MAKE) -C $$X build || exit 1; done
206+
clean_examples_embedded:
205207
for X in $(EXAMPLES_EMBEDDED); do test -f $$X/Makefile || continue; $(MAKE) -C $$X clean || exit 1; done
206208

examples/nxp/rt1020-evk-make-baremetal-builtin/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SOURCES = main.c syscalls.c sysinit.c
1111
SOURCES += cmsis_mcu/devices/MIMXRT1021/gcc/startup_MIMXRT1021.S # NXP startup file. Compiler-dependent!
1212
CFLAGS += -D__ATOLLIC__ -D__STARTUP_CLEAR_BSS # Make startup code work as expected
1313

14-
# Mongoose options are defined in mongoose_custom.h
14+
# Mongoose options are defined in mongoose_config.h
1515
SOURCES += mongoose.c net.c packed_fs.c
1616

1717
# Example specific build options. See README.md

examples/nxp/rt1020-evk-make-freertos-builtin/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SOURCES += FreeRTOS-Kernel/portable/GCC/ARM_CM4F/port.c
1717
CFLAGS += -IFreeRTOS-Kernel/include
1818
CFLAGS += -IFreeRTOS-Kernel/portable/GCC/ARM_CM4F -Wno-conversion
1919

20-
# Mongoose options are defined in mongoose_custom.h
20+
# Mongoose options are defined in mongoose_config.h
2121
SOURCES += mongoose.c net.c packed_fs.c
2222

2323
# Example specific build options. See README.md
@@ -38,7 +38,7 @@ ram: firmware.bin
3838
firmware.bin: firmware.elf
3939
arm-none-eabi-objcopy -O binary $< $@
4040

41-
firmware.elf: FreeRTOS-Kernel cmsis_core cmsis_mcu $(SOURCES) hal.h link_ram.ld link.ld mongoose_custom.h
41+
firmware.elf: FreeRTOS-Kernel cmsis_core cmsis_mcu $(SOURCES) hal.h link_ram.ld link.ld mongoose_config.h
4242
arm-none-eabi-gcc $(SOURCES) $(wildcard FreeRTOS-Kernel/*.c) $(CFLAGS) $(LDFLAGS) -o $@
4343

4444
flash: firmware.bin

examples/nxp/rt1060-evk-make-baremetal-builtin/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SOURCES = main.c syscalls.c sysinit.c
1111
SOURCES += cmsis_mcu/devices/MIMXRT1062/gcc/startup_MIMXRT1062.S # NXP startup file. Compiler-dependent!
1212
CFLAGS += -D__ATOLLIC__ -D__STARTUP_CLEAR_BSS # Make startup code work as expected
1313

14-
# Mongoose options are defined in mongoose_custom.h
14+
# Mongoose options are defined in mongoose_config.h
1515
SOURCES += mongoose.c net.c packed_fs.c
1616

1717
# Example specific build options. See README.md

0 commit comments

Comments
 (0)