2020-05-26 21:30:05 +00:00
|
|
|
config('TARGET_' .. env.BOARD, true)
|
2019-06-14 17:20:15 +00:00
|
|
|
if env.SUBTARGET ~= '' then
|
2020-05-26 21:30:05 +00:00
|
|
|
config(string.format('TARGET_%s_%s', env.BOARD, env.SUBTARGET), true)
|
2019-06-14 17:20:15 +00:00
|
|
|
end
|
2017-09-07 01:21:42 +00:00
|
|
|
|
2019-06-14 17:20:15 +00:00
|
|
|
local default_feeds = {}
|
|
|
|
for feed in string.gmatch(exec_capture_raw('. scripts/default_feeds.sh && echo "$DEFAULT_FEEDS"'), '%S+') do
|
|
|
|
default_feeds[feed] = true
|
|
|
|
end
|
2017-09-07 01:21:42 +00:00
|
|
|
|
2019-06-14 17:20:15 +00:00
|
|
|
for feed in string.gmatch(exec_capture_raw('. scripts/modules.sh && echo -n "$FEEDS"'), '%S+') do
|
|
|
|
if not default_feeds[feed] then
|
2020-05-26 21:30:05 +00:00
|
|
|
config('FEED_' .. feed, false)
|
2019-06-14 17:20:15 +00:00
|
|
|
end
|
|
|
|
end
|
2018-07-10 20:57:40 +00:00
|
|
|
|
2020-03-14 15:51:43 +00:00
|
|
|
if istrue(env.GLUON_DEBUG) then
|
2020-05-26 21:30:05 +00:00
|
|
|
config('DEBUG', true)
|
|
|
|
config('NO_STRIP', true)
|
|
|
|
config('USE_STRIP', false)
|
|
|
|
config('USE_SSTRIP', false)
|
2020-02-04 01:04:36 +00:00
|
|
|
|
2020-05-26 21:30:05 +00:00
|
|
|
try_config('TARGET_ROOTFS_PARTSIZE', 500)
|
2019-06-14 17:20:15 +00:00
|
|
|
end
|