move files to files-2.6.30, to ease newer kernel integration
[openwrt/openwrt.git] / scripts / metadata.pl
index 37b7d77925b753fb7e77e7d42903b30fa8b56279..9260a1b24bdcf7709b74ed1a386b1a503daf7e85 100755 (executable)
@@ -765,7 +765,7 @@ sub gen_package_mk() {
 $cmds \\
        ) > \$@
        
-ifneq (\$(UCI_PRECONFIG)\$(CONFIG_UCI_PRECONFIG),)
+ifneq (\$(IMAGEOPT)\$(CONFIG_IMAGEOPT),)
   package/preconfig: \$(TARGET_DIR)/etc/uci-defaults/$preconfig
 endif
 EOF