From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 16 Oct 2024 01:20:19 +0000
Subject: [PATCH] 修改GPIO导出默认初始值

---
 kernel/samples/uhid/Makefile |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/kernel/samples/uhid/Makefile b/kernel/samples/uhid/Makefile
index 8d7fd61..0aa424e 100644
--- a/kernel/samples/uhid/Makefile
+++ b/kernel/samples/uhid/Makefile
@@ -1,7 +1,4 @@
-# List of programs to build
-hostprogs-y := uhid-example
+# SPDX-License-Identifier: GPL-2.0-only
+userprogs-always-y += uhid-example
 
-# Tell kbuild to always build the programs
-always := $(hostprogs-y)
-
-HOSTCFLAGS_uhid-example.o += -I$(objtree)/usr/include
+userccflags += -I usr/include

--
Gitblit v1.6.2