Skip to content
Snippets Groups Projects
Select Git revision
  • 2bfc39f3f7a1ace3e50d672be36a90d1170601b0
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
41 results

generate_manifest.lua

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    clean_output.lua 466 B
    local lib = dofile('scripts/target_lib.lua')
    local env = lib.env
    
    
    local subtarget = env.SUBTARGET
    if subtarget == '' then
    	subtarget = 'generic'
    end
    
    local bindir = env.BOARD .. '/' .. subtarget
    
    
    lib.exec({'rm', '-f', 'openwrt/bin/targets/'..bindir..'/\0'}, true, '2>/dev/null')
    
    -- Full builds will output the "packages" directory, so clean up first
    if (env.GLUON_DEVICES or '') == '' then
    	lib.exec {'rm', '-rf', 'openwrt/bin/targets/'..bindir..'/packages'}
    end