Browse Source

Make kopts respect whitespace

bryan 2 years ago
parent
commit
941b51da0f
2 changed files with 4 additions and 2 deletions
  1. 1 1
      openwrtbuilder
  2. 3 1
      profiles

+ 1 - 1
openwrtbuilder

@@ -706,7 +706,7 @@ fromSource() {
     # Write options to config seed file
     for opt in "${config_opts[@]}"; do
         debug "Writing $opt to $seed_file"
-        echo "$opt" >> "$seed_file"
+        echo "$opt" | xargs args >> "$seed_file"
     done
 
     # TODO for now symlink clang for qosify

+ 3 - 1
profiles

@@ -104,7 +104,9 @@ r4s['packages']="\
 #	tailscale
 r4s['kopts']="\
 	CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y \
-	CONFIG_BTRFS_PROGS_ZSTD=y"
+	CONFIG_BTRFS_PROGS_ZSTD=y \
+	CONFIG_TARGET_OPTIMIZATION=\"-O3 -pipe -mcpu=cortex-a72.cortex-a53+crypto+crc\" \
+	CONFIG_TARGET_ROOTFS_PARTSIZE=1024"
 r4s['files']="\
 	/mnt/backup"