diff --git a/scripts/target_config_lib.lua b/scripts/target_config_lib.lua index 9118614e..e62f3210 100644 --- a/scripts/target_config_lib.lua +++ b/scripts/target_config_lib.lua @@ -99,12 +99,10 @@ io.stderr:write(string.format("debug: %s\n", device_pkgs)) handle_pkg(pkg) end - if env.FOREIGN_BUILD == '' then - funcs.config_message(lib.config, string.format("unable to enable device '%s'", profile), - 'CONFIG_TARGET_DEVICE_%s_DEVICE_%s=y', openwrt_config_target, profile) - lib.config('CONFIG_TARGET_DEVICE_PACKAGES_%s_DEVICE_%s="%s"', - openwrt_config_target, profile, device_pkgs) - end + funcs.config_message(lib.config, string.format("unable to enable device '%s'", profile), + 'CONFIG_TARGET_DEVICE_%s_DEVICE_%s=y', openwrt_config_target, profile) + lib.config('CONFIG_TARGET_DEVICE_PACKAGES_%s_DEVICE_%s="%s"', + openwrt_config_target, profile, device_pkgs) end diff --git a/targets/generic_ffberlin b/targets/generic_ffberlin index 0bc48a5f..c609ebf9 100644 --- a/targets/generic_ffberlin +++ b/targets/generic_ffberlin @@ -1,6 +1,7 @@ try_config 'CONFIG_TARGET_MULTI_PROFILE=y' try_config 'CONFIG_TARGET_ALL_PROFILES=y' +try_config 'CONFIG_TARGET_PER_DEVICE_ROOTFS=y' config 'CONFIG_DEVEL=y' config 'CONFIG_TOOLCHAINOPTS=y'