我正在学习如何在Openwrt中开发一个内核模块。我做一个你好世界尝试。包目录树是: khelloworld/
Makefile
src/
khelloworld.c
Makefile
在openwrt生成文件源: include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
P
#use g++ for everything
CC= g++
# include debugging symbols in object files,
# and enable all warnings
FLAGS= -g -Wall -std=c++11
BSTHPP= BST.hpp BSTNode.hpp BSTIterator.hpp
all: main
bst: