Skip to content
Snippets Groups Projects
Select Git revision
  • a9b63558483c817982e895c1c29fbebb01747f7d
  • master default protected
  • nrb/allow-wan-status
  • nrb/ffs-prometheus-node-exporter
  • nrbffs/ci-cache-only-dl
  • nrbffs/test
  • v1.6-alpha02
7 results

modules

Blame
  • Forked from firmware / FFS Gluon site
    Source project has a limited visibility.
    target_config.lua 467 B
    local funcs = {}
    
    function funcs.config_message(config, _, ...)
    	config(...)
    end
    
    function funcs.config_package(config, pkg, value)
    	config('CONFIG_PACKAGE_%s=%s', pkg, value)
    end
    
    local lib = dofile('scripts/target_config_lib.lua')(funcs)
    
    
    local output = {}
    
    for config in pairs(lib.configs) do
    	table.insert(output, config)
    end
    
    -- The sort will make =y entries override =m ones
    table.sort(output)
    for _, line in ipairs(output) do
    	io.stdout:write(line, '\n')
    end