]> git.ozlabs.org Git - next-scripts/commitdiff
use the existing $d to update the .config file
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 2 Sep 2024 07:37:54 +0000 (17:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 2 Sep 2024 07:37:54 +0000 (17:37 +1000)
do_last_build

index 0164f99f7d86a7745dd8292e3cd8e736da8eca2c..170854dee67718547acbbf1ce49f3ca002d02e73 100755 (executable)
@@ -79,7 +79,7 @@ $cmd <<-EOF
        d=../powerpc_pseries_le_defconfig
        [ -d \$d ] || mkdir \$d
        make ARCH=powerpc -s O=\$d pseries_le_defconfig
-       sed -i '/CONFIG_PPC_64K_PAGES/d;s/^.*CONFIG_PPC_4K_PAGES.*$/CONFIG_PPC_4K_PAGES=y/' ../powerpc_pseries_le_defconfig/.config
+       sed -i '/CONFIG_PPC_64K_PAGES/d;s/^.*CONFIG_PPC_4K_PAGES.*$/CONFIG_PPC_4K_PAGES=y/' \$d/.config
        make ARCH=powerpc -s O=\$d olddefconfig
        make ARCH=powerpc O=\$d -j$j1_factor -O -s