mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
support/test-pkg: move minimal.config into a separate file
This minimal configuration is also very useful outside test-pkg. In addition, it will simplify the config merge in a later patch. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
e1bebe18e5
commit
c23d0c8633
6
support/config-fragments/minimal.config
Normal file
6
support/config-fragments/minimal.config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# This config fragment disables Buildroot options that are turned on by
|
||||||
|
# default, in order to arrive at minimal build time.
|
||||||
|
BR2_INIT_NONE=y
|
||||||
|
BR2_SYSTEM_BIN_SH_NONE=y
|
||||||
|
# BR2_PACKAGE_BUSYBOX is not set
|
||||||
|
# BR2_TARGET_ROOTFS_TAR is not set
|
@ -100,13 +100,7 @@ build_one() {
|
|||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >>"${dir}/.config" <<-_EOF_
|
cat "support/config-fragments/minimal.config" "${cfg}" >>"${dir}/.config"
|
||||||
BR2_INIT_NONE=y
|
|
||||||
BR2_SYSTEM_BIN_SH_NONE=y
|
|
||||||
# BR2_PACKAGE_BUSYBOX is not set
|
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
|
||||||
_EOF_
|
|
||||||
cat "${cfg}" >>"${dir}/.config"
|
|
||||||
|
|
||||||
if ! make O="${dir}" olddefconfig > "${dir}/logfile" 2>&1; then
|
if ! make O="${dir}" olddefconfig > "${dir}/logfile" 2>&1; then
|
||||||
return 2
|
return 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user