In a directory previously used as CT_TOP_DIR, when using a new version, ct-ng will fail to create the symlink to the new config files.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Sep 08 10:32:53 2007 +0000 (2007-09-08)
changeset 37026fe0433ce29
parent 369 9258a7c3b84f
child 371 29c6c5e10cea
In a directory previously used as CT_TOP_DIR, when using a new version, ct-ng will fail to create the symlink to the new config files.
Fix that by forcing creation of the symlink, even if it already exists and points to a previous location.
kconfig/kconfig.mk
     1.1 --- a/kconfig/kconfig.mk	Fri Sep 07 21:31:01 2007 +0000
     1.2 +++ b/kconfig/kconfig.mk	Sat Sep 08 10:32:53 2007 +0000
     1.3 @@ -54,7 +54,7 @@
     1.4  config menuconfig oldconfig defoldconfig extractconfig:: $(KCONFIG_TOP)
     1.5  
     1.6  $(KCONFIG_TOP):
     1.7 -	@ln -s $(CT_LIB_DIR)/config config
     1.8 +	@ln -sf $(CT_LIB_DIR)/config config
     1.9  
    1.10  menuconfig:: $(obj)/mconf $(CONFIG_FILES)
    1.11  	@$< $(KCONFIG_TOP)