[Buildroot] using LINUX_DIR variable in BR
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Jul 27 06:58:38 UTC 2018
Hello,
On Thu, 26 Jul 2018 22:13:10 +0530, ravi chandran wrote:
> I am trying to include the path of the linux kernel(source located in
> output/build/linux) in one of the makefile which is located outside the
> linux directory.
>
> KERNEL_DIR := $(LINUX_DIR).
Use the = operator and not the := operator.
See
https://ftp.gnu.org/old-gnu/Manuals/make-3.79.1/html_chapter/make_6.html#SEC59.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list