mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 12:10:23 -04:00
staging: r8188eu: Makefile: don't overwrite global settings
Remove settings from the Makefile that are set by higher-level Makefiles. Some of those settings might have been useful when the driver was maintained out of tree. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20211016173544.25376-3-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
02be9e8225
commit
811245c461
@@ -1,8 +1,3 @@
|
||||
SHELL := /bin/bash
|
||||
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
||||
EXTRA_CFLAGS += -O1
|
||||
|
||||
ccflags-y += -D__CHECK_ENDIAN__
|
||||
|
||||
OUTSRC_FILES := \
|
||||
hal/HalHWImg8188E_MAC.o \
|
||||
@@ -46,15 +41,6 @@ _OS_INTFS_FILES := \
|
||||
|
||||
_HAL_INTFS_FILES += $(OUTSRC_FILES)
|
||||
|
||||
SUBARCH := $(shell uname -m | sed -e "s/i.86/i386/; s/ppc.*/powerpc/; s/armv.l/arm/; s/aarch64/arm64/;")
|
||||
|
||||
ARCH ?= $(SUBARCH)
|
||||
CROSS_COMPILE ?=
|
||||
KVER ?= $(if $(KERNELRELEASE),$(KERNELRELEASE),$(shell uname -r))
|
||||
KSRC ?= $(if $(KERNEL_SRC),$(KERNEL_SRC),/lib/modules/$(KVER)/build)
|
||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless
|
||||
INSTALL_PREFIX :=
|
||||
|
||||
rtk_core := \
|
||||
core/rtw_ap.o \
|
||||
core/rtw_br_ext.o \
|
||||
|
||||
Reference in New Issue
Block a user