BusyBox

Table of contents
No headers

    

This is about using busybox alone , not under buildroot or uClinux-dist.
You can download the latest snapshot or stable release from busybox.net .

Busybox, .config for cross compile


#
# Build Options
#
CONFIG_STATIC=y
# CONFIG_BUILD_LIBBUSYBOX is not set
# CONFIG_FEATURE_FULL_LIBBUSYBOX is not set
# CONFIG_FEATURE_SHARED_BUSYBOX is not set
CONFIG_LFS=y
USING_CROSS_COMPILER=y
CROSS_COMPILER_PREFIX="nios2-linux-uclibc-"
EXTRA_CFLAGS_OPTIONS="-Dfork=vfork -Ddaemon=clone"
# CONFIG_BUILD_AT_ONCE is not set

#
# Installation Options
#
# CONFIG_INSTALL_NO_USR is not set
CONFIG_INSTALL_APPLET_SYMLINKS=y
# CONFIG_INSTALL_APPLET_HARDLINKS is not set
# CONFIG_INSTALL_APPLET_DONT is not set
PREFIX="/home/hippo/rootfs"

I used this flags before, (but not now)
EXTRA_CFLAGS_OPTIONS="-D__uClinux__ -Dfork=vfork"



Busybox, Makefile add elf2flt flag


busybox_unstripped: .depend $(LIBBUSYBOX_SONAME) $(BUSYBOX_SRC) $(libraries-y)
$(do_link) $(PROG_CFLAGS) $(PROG_LDFLAGS) $(CFLAGS_COMBINE) 
-Wl,-elf2flt="-s 16000" -Wl,-v -Wl,-d 
-o $@ -Wl,--start-group  
$(APPLETS_DEFINE) $(APPLET_SRC) 
$(BUSYBOX_DEFINE) $(BUSYBOX_SRC) $(libraries-y) 
$(LDBUSYBOX) $(LIBRARIES) 
-Wl,--end-group

busybox: busybox_unstripped
$(Q)cp busybox_unstripped busybox
# $(do_strip)


There is an important issue about busybox. It takes more memory on MMU-less arch.
So I moved away from busybox a little. I use stand alone init, sash, and servers from uClinux-dist. I built others utils into busybox.  see  UClinuxDist  .

     

Tag page
Viewing 1 of 1 comments: view all
Nice story about this.
Great Nice Pictures
causes back pain knee high shoes lizlange maternity fishing boats sale flu incubation period remedies sore throat cost breast implants muscle weight gain surgery breast reduction girls party ideas women laptop bags car brake parts continuing nursing education cost breast augmentation protein whey powder baby slings carriers bed bugs pictures bedding duvet covers phone pay as you go outdoor swing sets discount dinnerware sets coffee espresso machines salton yogurt maker hair color pictures pictures of haircuts asvab practice test herpes photos easy cooking recipes toy dog breeds herpes simplex 1 personalized dog tags stress fracture foot occupational therapy schools frontline plus cats fleas on humans physical therapy salary scabies pictures pictures of shingles what is blood pressure ibuprofen side effects pictures of ringworm gendongan bayi kain cukin ring sling pouch sling perlengkapan bayi selendang bayi nursing cover selendang baby perlengkapan bayi baru lahir bayi bayi lucu foto bayi parish vintage ebooks download tv series download manga free download make money online health information cell phone review disorders anxiety psat practice test blood preasure smart water filter filter pur water weight loss effects blood pressure side effects socks over knee socks dress Hot News Today Jual Beli Make Money Celebrity Gossip Kesehatan Alternatif Gosip Selebritis celebrity photos celebrity news hot celebrities celebrity blog kesehatan info kesehatan kesehatan kerja pelayanan kesehatan indonesia artis foto artis gambar artis selebriti iklan iklan gratis jual online handphone daily news breaking news local news online news food dehydrator tray massage chair ijoy homedics massage shiatsu evening gown dress evening wedding dress dry face skin gold toe sock window coverings blinds blinds for windows lip gloss cosmetics folding table chairs women high heels stockings high heels treatment of pain chlorine generation makeup lighted mirror pain management specialist lawn pest control garden pest control joint pain causes
Posted 16:09, 20 Jul 2010
Viewing 1 of 1 comments: view all
You must login to post a comment.
SourceForge.net