projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec8f087
)
Makefile: Add Board Type Definition
author
xingyu.wu
<xingyu.wu@starfivetech.com>
Thu, 21 Apr 2022 06:10:01 +0000
(14:10 +0800)
committer
xingyu.wu
<xingyu.wu@starfivetech.com>
Thu, 21 Apr 2022 06:10:09 +0000
(14:10 +0800)
Add some definition about 'HWBOARD_FPGA', 'HWBOARD_EVB'
or 'HWBOARD_VISIONFIVE' in kernel.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Makefile
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
old mode 100644
(file)
new mode 100755
(executable)
index
ed6e7ec
..
485a876
--- a/
Makefile
+++ b/
Makefile
@@
-545,6
+545,7
@@
export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn \
# ===========================================================================
# Rules shared between *config targets and build targets
+CFLAGS_KERNEL += -D$(HWBOARD_FLAG)
# Basic helpers built in scripts/basic/
PHONY += scripts_basic