1*6f189d27Slinfengifeq ($(ARCH), x86_64) 2*6f189d27Slinfeng CROSS_COMPILE=x86_64-linux-musl- 3*6f189d27Slinfengelse ifeq ($(ARCH), riscv64) 4*6f189d27Slinfeng CROSS_COMPILE=riscv64-linux-musl- 5*6f189d27Slinfengendif 6*6f189d27Slinfeng 7*6f189d27SlinfengCC=$(CROSS_COMPILE)gcc 8*6f189d27Slinfeng 9*6f189d27Slinfeng.PHONY: all 10*6f189d27Slinfengall: main.c 11*6f189d27Slinfeng $(CC) -static -o test_utimensat main.c 12*6f189d27Slinfeng 13*6f189d27Slinfeng.PHONY: install clean 14*6f189d27Slinfenginstall: all 15*6f189d27Slinfeng mv test_utimensat $(DADK_CURRENT_BUILD_DIR)/test_utimensat 16*6f189d27Slinfeng 17*6f189d27Slinfengclean: 18*6f189d27Slinfeng rm test_utimensat *.o 19*6f189d27Slinfeng 20*6f189d27Slinfengfmt: 21