mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-02 05:33:57 -09:00
Version environment variable VERSION=$(VERSION) is set in the top level Makefile of the sysvinit: $(MAKE) VERSION=$(VERSION) -C src $@ Build command SYSVINIT_BUILD_CMDS doesn't use the top level Makefile, but src/Makefile instead without setting the VERSION variable, which leads to undefined VERSION macro in src/init.c. Add VERSION=$(SYSVINIT_VERSION) to SYSVINIT_MAKE_OPTS to make the VERSION environment variable available in the src/Makefile. Signed-off-by: Cody Green <cody@londelec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>