Skip to content

Commit

Permalink
Merge pull request #99 from Dirk1966/fix-build-with-make--Dirk1966
Browse files Browse the repository at this point in the history
Reenables build and compilation with make in git repo
  • Loading branch information
tomaspinho authored Nov 9, 2019
2 parents a57556d + 697c5ab commit 9d8699f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ ifeq ($(GCC_VER_49),1)
EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
endif

ifneq (,$(findstring /usr/lib/dkms,$(PATH)))
ifeq (,$(srctree)))
# make processing
export TopDIR ?= $(shell pwd)
else
# dkms processing or in tree compilation
export TopDIR ?= $(srctree)/$(src)
endif

Expand Down Expand Up @@ -268,7 +270,7 @@ EXTRA_CFLAGS += -DCONFIG_RTL8188E

_HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
hal/$(RTL871X)/Hal8188EPwrSeq.o\
hal/$(RTL871X)/$(RTL871X)_xmit.o\
hal/$(RTL871X)/$(RTL871X)_xmit.o\
hal/$(RTL871X)/$(RTL871X)_sreset.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
Expand Down

0 comments on commit 9d8699f

Please sign in to comment.