nvramtool: Require no hw access for integrated Makefile
The Makefile.inc is integraged into coreboot Makefile. It doesn't need to access to HW like cmos. It doesn't include cmos-hw-unix.c, which is only for individual tools running seperatedly. Change-Id: Ib00b5c3da63acb4120cb23eb7d661c5bc75d7c86 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/1544 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
8d7369261e
commit
82c06bd2d5
|
@ -21,15 +21,11 @@
|
|||
|
||||
OS_ARCH = $(shell uname)
|
||||
NVRAMTOOLFLAGS := -I$(top)/util/nvramtool
|
||||
ifeq ($(OS_ARCH), Darwin)
|
||||
NVRAMTOOLFLAGS += -framework DirectHW
|
||||
endif
|
||||
ifeq ($(OS_ARCH), NetBSD)
|
||||
NVRAMTOOLLDLFLAGS = -l$(shell uname -p)
|
||||
endif
|
||||
ifeq ($(shell uname -o), Cygwin)
|
||||
NVRAMTOOLFLAGS += -O2 -g -Wall -W -D__GLIBC__
|
||||
NVRAMTOOLLDFLAGS = -lioperm
|
||||
HOSTCFLAGS =
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue