Changeset 28698


Ignore:
Timestamp:
2011-11-01T10:23:29+01:00 (6 years ago)
Author:
juhosg
Message:

package/uboot-envtools: make fw_setenv symlink optional

Make the creation of the fw_set-symlink optional, so it can be
disabled in user-builds so only people who know what they are
doing will mess with uboot-env.

Signed-off-by: Daniel Golle <dgolle@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/uboot-envtools/Makefile

    r28697 r28698  
    1111PKG_DISTNAME:=u-boot 
    1212PKG_VERSION:=2011.06 
    13 PKG_RELEASE:=3 
     13PKG_RELEASE:=4 
    1414 
    1515PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2 
     
    3333endef 
    3434 
     35define Package/uboot-envtools/config 
     36        config PACKAGE_uboot-envtools_setenv_symlink 
     37                bool "create fw_setenv symlink" 
     38endef 
     39 
    3540define Package/uboot-envtools/install 
    3641        $(INSTALL_DIR) $(1)/usr/sbin 
    3742        $(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin/ 
    38         ln -sf fw_printenv $(1)/usr/sbin/fw_setenv 
     43ifneq ($(CONFIG_PACKAGE_uboot-envtools_setenv_symlink),) 
     44        ln -s fw_printenv $(1)/usr/sbin/fw_setenv 
     45endif 
    3946        $(INSTALL_DIR) $(1)/etc/init.d 
    4047        $(INSTALL_BIN) ./files/uboot-envtools.init $(1)/etc/init.d/uboot-envtools 
Note: See TracChangeset for help on using the changeset viewer.