diff options
author | Sylvain Miermont <smiermont@semtech.com> | 2013-12-12 15:31:52 +0100 |
---|---|---|
committer | Sylvain Miermont <smiermont@semtech.com> | 2013-12-12 15:31:52 +0100 |
commit | b665027754e4a050b5c3ea2da999dce8bf3ab710 (patch) | |
tree | d028dbe74bb59bd5d5e7a96c7ac2d550927310e1 /loragw_pkt_logger/Makefile | |
parent | 0d3fcabc3616d95f9fbeeb367087926dcdb32ca1 (diff) | |
download | lora_gateway-b665027754e4a050b5c3ea2da999dce8bf3ab710.tar.gz lora_gateway-b665027754e4a050b5c3ea2da999dce8bf3ab710.tar.bz2 lora_gateway-b665027754e4a050b5c3ea2da999dce8bf3ab710.zip |
v1.1.1v1.1.1
- bugfix: fixed some range checks that did not prevent segfaults
- test: removed systematic register dump in test_loragw_hal.c
- modified Makefiles for easier cross-compilation
- added root README and removed TXT extension of other READMEs
Diffstat (limited to 'loragw_pkt_logger/Makefile')
-rw-r--r-- | loragw_pkt_logger/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/loragw_pkt_logger/Makefile b/loragw_pkt_logger/Makefile index 761ab03..8946c5b 100644 --- a/loragw_pkt_logger/Makefile +++ b/loragw_pkt_logger/Makefile @@ -3,7 +3,7 @@ APP_NAME=loragw_pkt_logger ### constant symbols - +CROSS_COMPILE= CC=gcc CFLAGS=-O2 -Wall -Wextra -Iinc C99FLAGS=-O2 -Wall -Wextra -std=c99 -Iinc @@ -29,12 +29,12 @@ clean: ### sub-modules compilation obj/parson.o: src/parson.c - $(CC) -c $(C99FLAGS) -o obj/parson.o $(LGW_INC) src/parson.c $(FLAG_AUX) + $(CROSS_COMPILE)$(CC) -c $(C99FLAGS) -o obj/parson.o $(LGW_INC) src/parson.c $(FLAG_AUX) ### main program compilation and assembly obj/$(APP_NAME).o: src/$(APP_NAME).c - $(CC) -c $(C99FLAGS) -o obj/$(APP_NAME).o $(LGW_INC) src/$(APP_NAME).c $(FLAG_AUX) + $(CROSS_COMPILE)$(CC) -c $(C99FLAGS) -o obj/$(APP_NAME).o $(LGW_INC) src/$(APP_NAME).c $(FLAG_AUX) $(APP_NAME): $(LGW_PATH)/libloragw.a obj/$(APP_NAME).o obj/parson.o - $(CC) -o $(APP_NAME) obj/$(APP_NAME).o obj/parson.o -L$(LGW_PATH) $(LGW_LNK) + $(CROSS_COMPILE)$(CC) -o $(APP_NAME) obj/$(APP_NAME).o obj/parson.o -L$(LGW_PATH) $(LGW_LNK) |