mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-27 01:54:16 +00:00
更新Makefile配置
This commit is contained in:
@@ -47,9 +47,9 @@ KDIR = /home/yaya/D/Workspace/CyberQuantum/JinHaoYue/amls905x3/SDK/20191101-0tt-
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_UBUNTU), y)
|
ifeq ($(CONFIG_PLATFORM_UBUNTU), y)
|
||||||
KDIR = /lib/modules/$(shell uname -r)/build
|
KVER ?= $(shell uname -r)
|
||||||
|
KDIR ?= /lib/modules/$(KVER)/build
|
||||||
PWD = $(shell pwd)
|
PWD = $(shell pwd)
|
||||||
KVER = $(shell uname -r)
|
|
||||||
MODDESTDIR = /lib/modules/$(KVER)/kernel/drivers/net/wireless/aic8800
|
MODDESTDIR = /lib/modules/$(KVER)/kernel/drivers/net/wireless/aic8800
|
||||||
SUBARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/armv.l/arm/ -e s/aarch64/arm64/ -e s/loongarch64/loongarch/ -e s/loong64/loongarch/)
|
SUBARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/armv.l/arm/ -e s/aarch64/arm64/ -e s/loongarch64/loongarch/ -e s/loong64/loongarch/)
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
|
|||||||
@@ -389,10 +389,10 @@ KDIR ?= /home/yaya/D/Workspace/CyberQuantum/JinHaoYue/amls905x3/SDK/20191101-0tt
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_UBUNTU), y)
|
ifeq ($(CONFIG_PLATFORM_UBUNTU), y)
|
||||||
KDIR ?= /lib/modules/$(shell uname -r)/build
|
KVER ?= $(shell uname -r)
|
||||||
|
KDIR ?= /lib/modules/$(KVER)/build
|
||||||
#KDIR ?= ~/D/Workspace/CyberQuantum/Linux/linux-4.15/
|
#KDIR ?= ~/D/Workspace/CyberQuantum/Linux/linux-4.15/
|
||||||
PWD ?= $(shell pwd)
|
PWD ?= $(shell pwd)
|
||||||
KVER ?= $(shell uname -r)
|
|
||||||
MODDESTDIR ?= /lib/modules/$(KVER)/kernel/drivers/net/wireless/aic8800
|
MODDESTDIR ?= /lib/modules/$(KVER)/kernel/drivers/net/wireless/aic8800
|
||||||
SUBARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/armv.l/arm/ -e s/aarch64/arm64/)
|
SUBARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/armv.l/arm/ -e s/aarch64/arm64/)
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
|
|||||||
@@ -53,9 +53,10 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_UBUNTU), y)
|
ifeq ($(CONFIG_PLATFORM_UBUNTU), y)
|
||||||
ccflags-$(CONFIG_PLATFORM_UBUNTU) += -DCONFIG_PLATFORM_UBUNTU
|
ccflags-$(CONFIG_PLATFORM_UBUNTU) += -DCONFIG_PLATFORM_UBUNTU
|
||||||
KDIR := /lib/modules/$(shell uname -r)/build
|
|
||||||
|
KVER ?= $(shell uname -r)
|
||||||
|
KDIR = /lib/modules/$(KVER)/build
|
||||||
PWD := $(shell pwd)
|
PWD := $(shell pwd)
|
||||||
KVER := $(shell uname -r)
|
|
||||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/aic8800
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/aic8800
|
||||||
SUBARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/armv.l/arm/ -e s/aarch64/arm64/)
|
SUBARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/armv.l/arm/ -e s/aarch64/arm64/)
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
|
|||||||
@@ -97,9 +97,9 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_UBUNTU), y)
|
ifeq ($(CONFIG_PLATFORM_UBUNTU), y)
|
||||||
ccflags-$(CONFIG_PLATFORM_UBUNTU) += -DCONFIG_PLATFORM_UBUNTU
|
ccflags-$(CONFIG_PLATFORM_UBUNTU) += -DCONFIG_PLATFORM_UBUNTU
|
||||||
KDIR := /lib/modules/$(shell uname -r)/build
|
KVER ?= $(shell uname -r)
|
||||||
|
KDIR ?= /lib/modules/$(KVER)/build
|
||||||
PWD := $(shell pwd)
|
PWD := $(shell pwd)
|
||||||
KVER := $(shell uname -r)
|
|
||||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/aic8800
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/aic8800
|
||||||
SUBARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/armv.l/arm/ -e s/aarch64/arm64/)
|
SUBARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/armv.l/arm/ -e s/aarch64/arm64/)
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
|
|||||||
Reference in New Issue
Block a user