]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - utils/test-pkg
support/test-pkg: move minimal.config into a separate file
[coffee/buildroot.git] / utils / test-pkg
index 7633a21e53a661967be72d088b435b694fc8bde0..25a25e2048d52835f92bd1e240af392bfbe70753 100755 (executable)
@@ -100,13 +100,7 @@ build_one() {
         return 2
     fi
 
-    cat >>"${dir}/.config" <<-_EOF_
-       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"
+    cat "support/config-fragments/minimal.config" "${cfg}" >>"${dir}/.config"
 
     if ! make O="${dir}" olddefconfig > "${dir}/logfile" 2>&1; then
         return 2