diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-17 04:31:36 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-17 04:31:36 +0000 |
commit | 27bc59d4885057c6a167b386ba6140b7a95e5fd7 (patch) | |
tree | 028f0309e84c4b59b255a3e8be47d42da253500d /Makefile | |
parent | f541cb7fdcd304881fdb15a5ff8ccbbea802763c (diff) | |
download | buildroot-novena-27bc59d4885057c6a167b386ba6140b7a95e5fd7.tar.gz buildroot-novena-27bc59d4885057c6a167b386ba6140b7a95e5fd7.zip |
Support building jffs2 filesystems. Update top level
makefile accordingly
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -32,6 +32,7 @@ TARGETS= # What sortof target system shall we compile this for? ARCH:=i386 #ARCH:=arm +#ARCH:=powerpc #ARCH:=whatever # enable to build a native gcc toolchain with uclibc support @@ -53,6 +54,16 @@ BUILD_WITH_LARGEFILE:=true # Command used to download source code WGET:=wget --passive-ftp +# Optimize toolchain for which type of CPU? +#OPTIMIZE_FOR_CPU:=i486 +#OPTIMIZE_FOR_CPU:=strongarm +#OPTIMIZE_FOR_CPU:=whatever +OPTIMIZE_FOR_CPU:=$(ARCH) + +# Any additional gcc options you may want to include.... +#EXTRA_GCC_CONFIG_OPTIONS:=--without-float +EXTRA_GCC_CONFIG_OPTIONS:= + ############################################################# # # The list of stuff to build for the target filesystem @@ -95,6 +106,14 @@ TARGETS+=busybox tinylogin # Pick your root filesystem type. TARGETS+=ext2root +# Must mount cramfs with 'ramdisk_blocksize=4096' +#TARGETS+=cramfsroot + +# You may need to edit make/jffs2root.mk to change target +# endian-ness or similar, but this is sufficient for most +# things as-is... +#TARGETS+=jffs2root + ############################################################# # # You should probably leave this stuff alone unless you know @@ -116,6 +135,7 @@ TARGET_PATH:=$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:/bin:/sbin:/usr/bin:/usr/ STRIP:=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note #STRIP:=/bin/true IMAGE:=$(BASE_DIR)/root_fs +GNU_TARGET_NAME:=$(OPTIMIZE_FOR_CPU)-pc-linux-gnu ifneq ($(strip $(ARCH)),i386) CROSS:=$(ARCH)-linux- endif |