From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 07:24:11 +0000
Subject: [PATCH] add stmac read mac form eeprom

---
 kernel/samples/hidraw/Makefile |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/kernel/samples/hidraw/Makefile b/kernel/samples/hidraw/Makefile
index dec1b22..594d989 100644
--- a/kernel/samples/hidraw/Makefile
+++ b/kernel/samples/hidraw/Makefile
@@ -1,10 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0
-# List of programs to build
-hostprogs-y := hid-example
+userprogs-always-y += hid-example
 
-# Tell kbuild to always build the programs
-always := $(hostprogs-y)
-
-HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include
-
-all: hid-example
+userccflags += -I usr/include

--
Gitblit v1.6.2