Changeset 9bbf240
- Timestamp:
- 02/15/2007 07:15:05 PM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 0c2d20a
- Parents:
- a9ca77f
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS3/master.sh
ra9ca77f r9bbf240 119 119 } 120 120 121 #-----------------------------# 122 systemprep_Makefiles() { # 123 #-----------------------------# 124 echo "${tab_}${GREEN}Processing... ${L_arrow}system prep tools ( LUSER ) ${R_arrow}" 125 126 for file in systemprep/* ; do 127 # Keep the script file name 128 this_script=`basename $file` 129 130 # Set the dependency for the first target. 131 if [ -z $PREV ] ; then PREV=028-creating-sysfile ; fi 132 133 # First append each name of the script files to a list (this will become 134 # the names of the targets in the Makefile) 135 cross_tools="$cross_tools $this_script" 136 137 # Grab the name of the target (minus the -headers or -cross in the case of gcc 138 # and binutils in chapter 5) 139 name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'` 140 141 pkg_tarball=$(get_package_tarball_name $name) 142 #--------------------------------------------------------------------# 143 # >>>>>>>> START BUILDING A Makefile ENTRY <<<<<<<< # 144 #--------------------------------------------------------------------# 145 # 146 # Drop in the name of the target on a new line, and the previous target 147 # as a dependency. Also call the echo_message function. 148 LUSER_wrt_target "${this_script}" "$PREV" 149 # 150 # If $pkg_tarball isn't empty, we've got a package... 151 if [ "$pkg_tarball" != "" ] ; then 152 LUSER_wrt_unpack "$pkg_tarball" 153 fi 154 # 155 LUSER_wrt_RunAsUser "${file}" 156 # 157 [[ "$pkg_tarball" != "" ]] && LUSER_RemoveBuildDirs "${name}" 158 # 159 # Include a touch of the target name so make can check if it's already been made. 160 wrt_touch 161 # 162 #--------------------------------------------------------------------# 163 # >>>>>>>> END OF Makefile ENTRY <<<<<<<< # 164 #--------------------------------------------------------------------# 165 # 166 # Keep the script file name for Makefile dependencies. 167 PREV=$this_script 168 169 done # for file in .... 170 } 171 121 172 122 173 #-----------------------------# … … 124 175 #-----------------------------# 125 176 echo "${tab_}${GREEN}Processing... ${L_arrow}cross tools ( LUSER ) ${R_arrow}" 126 127 for file in cross-tools/* ; do 177 178 for file in cross-tools/* ; do 128 179 # Keep the script file name 129 180 this_script=`basename $file` … … 408 459 409 460 host_prep_Makefiles 461 [[ "${PLATFORM% -*}" = "WRT" ]] && systemprep_Makefiles # $cross_tools 410 462 cross_tools_Makefiles # $cross_tools 411 463 final_system_Makefiles # $basicsystem -
Config.in
ra9ca77f r9bbf240 111 111 112 112 choice 113 prompt "Hardware Platform" 114 depends BOOK_CLFS3 && ARCH_MIPS 115 default PLATFORM_GENERIC 116 help 117 # Chose a destination platform 118 # Platform specific files will be included 119 120 config PLATFORM_GENERIC 121 bool "Generic platform" 122 123 config PLATFORM_WRT 124 bool "WRT - MIPS based wireless router" if ARCH_MIPS 125 endchoice 126 127 choice 113 128 prompt "Library" 114 129 depends (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS) … … 124 139 125 140 config DATA_MULTI 126 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )141 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS ) 127 142 endchoice 128 143 … … 219 234 default "powerpc-unknown-linux-gnu" if ARCH_PPC 220 235 236 config PLATFORM 237 string 238 default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC 239 default "WRT - Wireless Router" if PLATFORM_WRT 240 221 241 config ARCH 222 242 string … … 225 245 default "x86_64-64" if ARCH_X86 && DATA_64 226 246 247 default "wrt" if PLATFORM_WRT && BOOK_CLFS3 248 227 249 default "mips" if ARCH_MIPS && (DATA_32 || BOOK_CLFS3) 228 250 default "mips64" if ARCH_MIPS && DATA_MULTI 229 251 default "mips64-64" if ARCH_MIPS && DATA_64 && BOOK_CLFS 230 252 253 231 254 default "ppc" if ARCH_PPC && DATA_32 232 255 default "ppc64" if ARCH_PPC && DATA_MULTI … … 239 262 default "arm" if ARCH_ARM 240 263 default "hppa" if ARCH_HPPA 241 264 265 config PLATFORM 266 string 267 default "WRT - Wireless Router" if PLATFORM_WRT 268 default "GENERIC" if PLATFORM_GENERIC 269 242 270 config MIPS_LEVEL 243 271 string -
common/libs/func_validate_configs.sh
ra9ca77f r9bbf240 24 24 local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE METHOD ARCH TARGET TARGET32 TEST BOMB_TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG LUSER LGROUP BLFS_TOOL CUSTOM_TOOLS REBUILD_MAKEFILE" 25 25 local -r clfs2_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE ARCH TARGET REPORT STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG LUSER LGROUP BLFS_TOOL CUSTOM_TOOLS REBUILD_MAKEFILE" 26 local -r clfs3_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE ARCH TARGET MIPS_LEVEL REPORT STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG LUSER LGROUP CUSTOM_TOOLS REBUILD_MAKEFILE"26 local -r clfs3_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE ARCH PLATFORM TARGET MIPS_LEVEL REPORT STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG LUSER LGROUP CUSTOM_TOOLS REBUILD_MAKEFILE" 27 27 local -r lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE TEST BOMB_TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG LUSER LGROUP BLFS_TOOL CUSTOM_TOOLS REBUILD_MAKEFILE" 28 28 local -r blfs_PARAM_LIST="BRANCH_ID BLFS_ROOT BLFS_XML TRACKING_DIR" … … 110 110 METHOD | \ 111 111 ARCH | \ 112 PLATFORM | \ 112 113 TARGET | \ 113 114 GRSECURITY_HOST | \
Note:
See TracChangeset
for help on using the changeset viewer.