Added vendor sdk include dir to compile user_rf_cal_sector_set.c
Also specified dependency on $(VENDOR_SDK_DIR)/.dir. While I was at it, made same changes to empty_user_rf_pre_init.c, even though it doesn't seem to be built anymore, and removed the .o files in clean-sdk target.
This commit is contained in:
parent
e629109c76
commit
9dac80583d
9
Makefile
9
Makefile
@ -318,11 +318,11 @@ sdk_patch: $(VENDOR_SDK_DIR)/.dir .sdk_patch_$(VENDOR_SDK)
|
|||||||
cp FRM_ERR_PATCH/*.a $(VENDOR_SDK_DIR)/lib/
|
cp FRM_ERR_PATCH/*.a $(VENDOR_SDK_DIR)/lib/
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
empty_user_rf_pre_init.o: empty_user_rf_pre_init.c $(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc
|
empty_user_rf_pre_init.o: empty_user_rf_pre_init.c $(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc $(VENDOR_SDK_DIR)/.dir
|
||||||
$(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc -O2 -c $<
|
$(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc -O2 -I$(VENDOR_SDK_DIR)/include -c $<
|
||||||
|
|
||||||
user_rf_cal_sector_set.o: user_rf_cal_sector_set.c $(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc
|
user_rf_cal_sector_set.o: user_rf_cal_sector_set.c $(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc $(VENDOR_SDK_DIR)/.dir
|
||||||
$(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc -O2 -c $<
|
$(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc -O2 -I$(VENDOR_SDK_DIR)/include -c $<
|
||||||
|
|
||||||
lwip: toolchain sdk_patch
|
lwip: toolchain sdk_patch
|
||||||
ifeq ($(STANDALONE),y)
|
ifeq ($(STANDALONE),y)
|
||||||
@ -411,6 +411,7 @@ clean-sdk:
|
|||||||
rm -rf $(VENDOR_SDK_DIR)
|
rm -rf $(VENDOR_SDK_DIR)
|
||||||
rm -f sdk
|
rm -f sdk
|
||||||
rm -f .sdk_patch_$(VENDOR_SDK)
|
rm -f .sdk_patch_$(VENDOR_SDK)
|
||||||
|
rm -f user_rf_cal_sector_set.o empty_user_rf_pre_init.o
|
||||||
make -C esp-open-lwip -f Makefile.open clean
|
make -C esp-open-lwip -f Makefile.open clean
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user