This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=============================================================================== | |
# Description: kernel module Makefile Template | |
#=============================================================================== | |
#=============================================================================== | |
# Project VARS | |
#=============================================================================== | |
PWD := $(shell pwd) | |
KVERSION := $(shell uname -r) | |
KERNEL_DIR := /usr/src/linux-headers-$(KVERSION)/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//============================================================================== | |
/* | |
File Name: xxx.c | |
Created: 202X// | |
Author: | |
Description: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=============================================================================== | |
# Description: C Project Makefile Template | |
# Author: | |
# | |
#=============================================================================== | |
#=============================================================================== | |
# TOOL CHAIN and SHELL TOOL | |
#=============================================================================== | |
CC = gcc | |
LD = $(CC) |