mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
Makefile: reinstate /etc/br-version
Got lost in the recent cleanup, but is handy to know BR version. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
89464a9601
commit
912ea81ad4
4
Makefile
4
Makefile
@ -404,6 +404,10 @@ endif
|
|||||||
find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
|
find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
|
||||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||||
|
|
||||||
|
mkdir -p $(TARGET_DIR)/etc
|
||||||
|
echo $(BR2_VERSION)$(shell $(TOPDIR)/scripts/setlocalversion) > \
|
||||||
|
$(TARGET_DIR)/etc/br-version
|
||||||
|
|
||||||
ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
|
ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
|
||||||
$(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)
|
$(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user