Skip to content

Commit

Permalink
add-mips64-loongson-arch
Browse files Browse the repository at this point in the history
  • Loading branch information
weilinfox committed Nov 1, 2020
1 parent c482928 commit b9762e7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ CONFIG_PLATFORM_ARM_SUN6I = n
CONFIG_PLATFORM_ACTIONS_ATM702X = n
CONFIG_PLATFORM_ACTIONS_ATV5201 = n
CONFIG_PLATFORM_PPC = n
CONFIG_PLATFORM_MIPS64_LOONGSON = n

CONFIG_DRVEXT_MODULE = n

Expand Down Expand Up @@ -987,6 +988,14 @@ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=
endif

ifeq ($(CONFIG_PLATFORM_MIPS64_LOONGSON), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := mips
KVER ?= $(shell uname -r)
KSRC ?= /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
endif


ifeq ($(CONFIG_MULTIDRV), y)

Expand Down

0 comments on commit b9762e7

Please sign in to comment.