GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
Executable
+30
@@ -0,0 +1,30 @@
|
||||
SDK_DIR ?= $(shell cd ../../../../.. && /bin/pwd)
|
||||
|
||||
include $(SDK_DIR)/build/base.mk
|
||||
include config.mk
|
||||
|
||||
.PHONY: all clean
|
||||
all: linux riscv
|
||||
clean: linux_clean riscv_clean
|
||||
|
||||
.PHONY: linux linux_clean
|
||||
linux:
|
||||
ifeq ($(LINUX_LIB), TRUE)
|
||||
make -f Makefile.linux.mk
|
||||
endif
|
||||
|
||||
linux_clean:
|
||||
ifeq ($(LINUX_LIB), TRUE)
|
||||
make -f Makefile.linux.mk clean
|
||||
endif
|
||||
|
||||
.PHONY: riscv riscv_clean
|
||||
riscv:
|
||||
ifeq ($(RISCV_LIB), TRUE)
|
||||
make -f Makefile.riscv.mk
|
||||
endif
|
||||
|
||||
riscv_clean:
|
||||
ifeq ($(RISCV_LIB), TRUE)
|
||||
make -f Makefile.riscv.mk clean
|
||||
endif
|
||||
Reference in New Issue
Block a user