build,base-files: propagate prplOS version into build artifacts
We've now prplOS version available, so lets make it available in build artifacts as well. References: PCF-691 Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 8cf5efccf9ec8cdb5b1e9baad6f14b2dbf40e8a8)
This commit is contained in:
parent
ea87cdc33f
commit
5220e52740
1
Makefile
1
Makefile
@ -116,6 +116,7 @@ checksum: FORCE
|
|||||||
|
|
||||||
buildversion: FORCE
|
buildversion: FORCE
|
||||||
$(SCRIPT_DIR)/getver.sh > $(BIN_DIR)/version.buildinfo
|
$(SCRIPT_DIR)/getver.sh > $(BIN_DIR)/version.buildinfo
|
||||||
|
$(SCRIPT_DIR)/prplos_version.sh > $(BIN_DIR)/version.prplos.buildinfo
|
||||||
|
|
||||||
feedsversion: FORCE
|
feedsversion: FORCE
|
||||||
$(SCRIPT_DIR)/feeds list -fs > $(BIN_DIR)/feeds.buildinfo
|
$(SCRIPT_DIR)/feeds list -fs > $(BIN_DIR)/feeds.buildinfo
|
||||||
|
|||||||
@ -244,7 +244,8 @@ endif
|
|||||||
echo -e "# Build configuration for board $(BOARD)/$(SUBTARGET)/$(PROFILE)\n" >$(1)/etc/build.config; \
|
echo -e "# Build configuration for board $(BOARD)/$(SUBTARGET)/$(PROFILE)\n" >$(1)/etc/build.config; \
|
||||||
cat $(BIN_DIR)/config.buildinfo >>$(1)/etc/build.config; \
|
cat $(BIN_DIR)/config.buildinfo >>$(1)/etc/build.config; \
|
||||||
cat $(BIN_DIR)/feeds.buildinfo >>$(1)/etc/build.feeds; \
|
cat $(BIN_DIR)/feeds.buildinfo >>$(1)/etc/build.feeds; \
|
||||||
cat $(BIN_DIR)/version.buildinfo >>$(1)/etc/build.version)
|
cat $(BIN_DIR)/version.buildinfo >>$(1)/etc/build.version; \
|
||||||
|
cat $(BIN_DIR)/version.prplos.buildinfo >>$(1)/etc/build.prplos.version)
|
||||||
|
|
||||||
$(if $(CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE), \
|
$(if $(CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE), \
|
||||||
rm -f $(1)/etc/banner.failsafe,)
|
rm -f $(1)/etc/banner.failsafe,)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user