move bash script out of the makefile. Also do not set CONFIG_SYSFS_DEPRECATED if...