2 BUILD_SCRIPT = build.sh
4 SHARE_OPTION = -b -c "zstd" -u "alter" -p "alter" -k "${KERNEL}"
5 DEBUG_OPTION = -t '-Xcompression-level 1' -x -d
6 ARCH_x86_64 = -a x86_64
12 @sudo ./tools/fullbuild.sh
16 @sudo ./${BUILD_SCRIPT} ${SHARE_OPTION} ${ARCH_x86_64} xfce
20 @sudo ./${BUILD_SCRIPT} ${SHARE_OPTION} ${ARCH_x86_64} plasma
24 @sudo ./${BUILD_SCRIPT} ${SHARE_OPTION} ${ARCH_x86_64} releng
28 @sudo ./${BUILD_SCRIPT} ${SHARE_OPTION} ${ARCH_x86_64} lxde
32 @sudo ./${BUILD_SCRIPT} ${SHARE_OPTION} ${ARCH_i686} xfce
36 @sudo ./${BUILD_SCRIPT} ${SHARE_OPTION} ${ARCH_i686} plasma
40 @sudo ./${BUILD_SCRIPT} ${SHARE_OPTION} ${ARCH_i686} releng
44 @sudo ./${BUILD_SCRIPT} ${SHARE_OPTION} ${ARCH_i686} lxde
47 menuconfig/build/mconf::
48 @if [ -d menuconfig/build ];\
52 mkdir menuconfig/build ;\
54 (cd menuconfig/build ; cmake -GNinja .. ; ninja -j4 )
56 @if [ -d system/cpp-src/mkalteriso/build ];\
60 mkdir system/cpp-src/mkalteriso/build ;\
62 (cd system/cpp-src/mkalteriso/build ; cmake -GNinja .. ; ninja -j4 ; cp -f mkalteriso ../../../)
64 menuconfig:menuconfig/build/mconf menuconfig-script/kernel_choice
65 menuconfig/build/mconf menuconfig-script/rootconf
66 menuconfig-script/kernel_choice:system/kernel_list-x86_64 system/kernel_list-i686
67 ./kernel-choice-conf-gen.sh
75 ./menuconf-to-alterconf.sh ./.build_option
77 @sudo ./${BUILD_SCRIPT} clean
78 build:build_option mkalteriso
79 $(eval BUILD_OPTION := $(shell cat ./.build_option))
80 sudo ./${BUILD_SCRIPT} ${BUILD_OPTION}
82 sudo ./tools/keyring.sh --alter-add --arch-add