GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
ifneq ($(srctree),)
|
||||
KERNEL_DIR := $(srctree)
|
||||
SDK_DIR := $(shell cd $(KERNEL_DIR)/../../.. && /bin/pwd)
|
||||
else
|
||||
SDK_DIR := $(shell cd $(CURDIR)/../../../.. && /bin/pwd)
|
||||
endif
|
||||
|
||||
include $(SDK_DIR)/build/base.mk
|
||||
|
||||
obj-$(XMEDIA_DRV_BUILDTYPE) += linux/kernel/
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all:
|
||||
$(AT)$(MAKE) -C linux/kernel
|
||||
|
||||
clean:
|
||||
$(AT)$(MAKE) -C linux/kernel clean
|
||||
Reference in New Issue
Block a user