-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #894 from hongxu-jia/master
support user merge
- Loading branch information
Showing
5 changed files
with
38 additions
and
6 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From d4aa7f64db5841242257c5b30dd652afd0f6ff68 Mon Sep 17 00:00:00 2001 | ||
From: Hongxu Jia <[email protected]> | ||
Date: Wed, 20 Oct 2021 14:00:35 +0800 | ||
Subject: [PATCH] support user merge | ||
|
||
Use Yocto base_sbindir to replace hardcode ./sbin | ||
|
||
Upstream-Status: Inappropriate [oe specific] | ||
|
||
Signed-off-by: Hongxu Jia <[email protected]> | ||
--- | ||
Makefile | 3 ++- | ||
1 file changed, 2 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/Makefile b/Makefile | ||
index 62eff25..18b79b1 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -25,7 +25,8 @@ CFLAGS += -fdiagnostics-color | ||
|
||
LDFLAGS = -static -Wl,--hash-style=gnu ${EXTRA_CFLAGS} | ||
|
||
-PREFIX = $(DESTDIR)/sbin | ||
+base_sbindir ?= ./sbin | ||
+PREFIX = $(DESTDIR)/${base_sbindir} | ||
|
||
HEADER_DEPENDENCIES = $(subst .o,.d,$(OBJS)) | ||
|
||
-- | ||
2.27.0 | ||
|
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
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
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