Makefile: remove HWBOARD_FLAG.

Modifying the main Makefile is not standardized and must be restored.
And it will cause an error when compiling the module driver.
So remove them.

Signed-off-by: samin <samin.guo@starfivetech.com>
This commit is contained in:
samin 2022-05-23 18:24:31 +08:00
parent 35eb9e47be
commit 324857ceca

2
Makefile Executable file → Normal file
View file

@ -545,8 +545,6 @@ export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn \
# ===========================================================================
# Rules shared between *config targets and build targets
CFLAGS_KERNEL += -D$(HWBOARD_FLAG)
CFLAGS_MODULE += -D$(HWBOARD_FLAG)
# Basic helpers built in scripts/basic/
PHONY += scripts_basic