NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/53720: TOOL_DTC does not have a fallback if USE_TOOLS isn't set

>Number:         53720
>Category:       kern
>Synopsis:       TOOL_DTC does not have a fallback if USE_TOOLS isn't set
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 11 02:10:00 +0000 2018
>Originator:     Daniel Loffgren
>Release:        NetBSD 8.99.25, Current as of ~Nov 8 2018
System: NetBSD pinebook 8.99.25 NetBSD 8.99.25 (PINEBOOK) #0: Fri Nov 9 18:10:13 PST 2018 kojiro@pinebook:/usr/src/sys/arch/evbarm/compile/PINEBOOK evbarm
Architecture: aarch64
Machine: evbarm
Building an evbarm kernel using simply "make" fails due to TOOL_DTC not being defined.
TOOL_DTC is defined in src/share/mk/, when USE_TOOLS is set, but not in the body of the else with the rest of the default ones.
This can be worked around by doing "make TOOL_DTC=dtc", but that shouldn't be required.
>From a fresh source checkout, attempt to build an evbarm kernel using something along the lines of:
	cd /usr/src/sys/arch/evbarm/conf/
	config GENERIC64
	cd ../compile/GENERIC64
	make depend

RCS file: /cvsroot/src/share/mk/,v
retrieving revision 1.1078
diff -u -r1.1078
---	6 Oct 2018 18:52:59 -0000	1.1078
+++	11 Nov 2018 01:12:32 -0000
@@ -485,6 +485,7 @@
 TOOL_CTFMERGE=		ctfmerge
 TOOL_CVSLATEST=		cvslatest
 TOOL_DB=		db
+TOOL_DTC=		dtc
 TOOL_DISKLABEL=		disklabel
 TOOL_EQN=		eqn
 TOOL_FDISK=		fdisk

Home | Main Index | Thread Index | Old Index