Add linuxpg

This commit is contained in:
orangepi-xunlong
2023-04-10 09:19:18 +08:00
parent e9c639fc9e
commit 4b897b01ff
139 changed files with 6557 additions and 0 deletions

26
external/cache/sources/linuxpg/Makefile vendored Normal file
View File

@@ -0,0 +1,26 @@
#
# Makefile for the kernel character device drivers.
#
#
# This file contains the font map for the default (hardware) font
#
ifneq ($(KERNELRELEASE),)
obj-m := pgdrv.o
# EXTRA_CFLAGS += -DDEBUG
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD :=$(shell pwd)
.PHONY:all
all:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
# $(MAKE) -C $(KERNELDIR) M=$(PWD) CROSS_COMPILE=mipsel-linux- ARCH=mips modules
.PHONY:clean
clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
# $(MAKE) -C $(KERNELDIR) M=$(PWD) CROSS_COMPILE=mipsel-linux- ARCH=mips clean
endif