Changeset 155f6c8c in freewrt
- Timestamp:
- Jun 14, 2007, 2:55:49 PM (18 years ago)
- Children:
- 91543df
- Parents:
- 15ddbfc
- Files:
-
- 1 added
- 6 edited
-
mk/build.mk (modified) (1 diff)
-
mk/targets.mk (modified) (4 diffs)
-
package/Config.in (modified) (1 diff)
-
package/Config.in.runtime (modified) (1 diff)
-
target/Config.in (modified) (2 diffs)
-
target/Config.in.kernel (modified) (1 diff)
-
target/linux/nokernel/Config.in (added)
Legend:
- Unmodified
- Added
- Removed
-
mk/build.mk
r15ddbfc r155f6c8c 43 43 world: $(DISTDIR) $(BUILD_DIR) $(PACKAGE_DIR) ${TOPDIR}/.cfg/FWRT_HAVE_DOT_CONFIG 44 44 BASH='${BASH}' ${MBSH} ${TOPDIR}/scripts/scan-pkgs.sh 45 ifeq ($(strip ${FWRT_PACKAGE_BASE_FILES}),m) 45 ifeq ($(strip ${FWRT_TARGET_NOKERNEL}),y) 46 $(MAKE) -f mk/build.mk tools/install toolchain/install package/compile package_index 47 else ifeq ($(strip ${FWRT_PACKAGE_BASE_FILES}),m) 46 48 $(MAKE) -f mk/build.mk tools/install toolchain/install target/config-prepare target/compile package/compile 47 49 @echo Running allmodconfig succeeded. -
mk/targets.mk
r15ddbfc r155f6c8c 42 42 endef 43 43 44 define nokerneltarget_template 45 ifeq ($(FWRT_LINUX_$(4)),y) 46 KERNEL:=$(1) 47 BOARD:=$(2) 48 DEVICE:=$(3) 49 endif 50 endef 51 44 52 45 53 # asus models … … 64 72 $(eval $(call target_template,2.6,x86,wrap,2_6_X86_WRAP)) 65 73 $(eval $(call target_template,2.6,x86,cryptotoken,2_6_X86_CRYPTOTOKEN)) 74 # nokernel targets 75 $(eval $(call nokerneltarget_template,2.4,pkgmips,mips,NOKERNEL_MIPS)) 76 $(eval $(call nokerneltarget_template,2.4,pkgi386,i386,NOKERNEL_I386)) 77 66 78 67 79 define rootfs_template … … 78 90 $(eval $(call rootfs_template,yaffs2,YAFFS2,root=/dev/mtdblock1)) 79 91 $(eval $(call rootfs_template,initramfs,INITRAMFS)) 92 $(eval $(call rootfs_template,none,NONE)) 80 93 81 94 82 95 # set kernel version 96 KERNEL_VERSION=${UNAME_R} 83 97 ifeq ($(KERNEL),2.4) 84 KERNEL_VERSION=2.4.3485 98 KERNEL_RELEASE=1 86 99 KERNEL_MOD_SUFFIX=o 87 100 endif 88 101 ifeq ($(KERNEL),2.6) 89 KERNEL_VERSION=2.6.19.190 102 KERNEL_RELEASE=1 91 103 KERNEL_MOD_SUFFIX=ko 92 104 endif 105 93 106 94 107 # set architecture … … 103 116 endif 104 117 105 # set architecture106 118 ifeq ($(BOARD),x86) 107 119 CPU_ARCH=i386 108 120 KERNEL_ARCH=i386 109 121 endif 122 123 ifeq (${BOARD},pkgmips) 124 CPU_ARCH= mipsel 125 KERNEL_ARCH= mips 126 endif 127 128 ifeq (${BOARD},pkgi386) 129 CPU_ARCH= i386 130 KERNEL_ARCH= i386 131 endif 132 110 133 111 134 FWRT_VERSION=devel -
package/Config.in
r15ddbfc r155f6c8c 444 444 445 445 menu "Kernel Module Selection" 446 if FWRT_TARGET_NOKERNEL 447 comment "XXX do not bother to change, these are ignored anyway" 448 endif 446 449 source "target/linux/Config.in" 447 450 endmenu -
package/Config.in.runtime
r15ddbfc r155f6c8c 87 87 default n 88 88 depends on FWRT_PACKAGE_FWCF 89 depends on !FWRT_TARGET_NOKERNEL 89 90 help 90 91 This will create an image that, once booted, will erase the fwcf -
target/Config.in
r15ddbfc r155f6c8c 16 16 source "target/linux/x86-2.4/Config.in" 17 17 source "target/linux/x86-2.6/Config.in" 18 source "target/linux/nokernel/Config.in" 18 19 endchoice 19 20 … … 108 109 create a initramfs only. 109 110 111 config FWRT_TARGET_ROOTFS_NONE 112 bool "none, only generate packages" 113 depends on FWRT_TARGET_NOKERNEL 114 help 115 do not create a root filesystem 116 110 117 endchoice 111 118 endmenu -
target/Config.in.kernel
r15ddbfc r155f6c8c 1 config FWRT_TARGET_NOKERNEL 2 bool 3 default n 4 select FWRT_LINUX_2_4 5 1 6 config FWRT_KERNEL_SQUASHFS 2 7 boolean
Note:
See TracChangeset
for help on using the changeset viewer.
