Changeset f65ebbc in freewrt


Ignore:
Timestamp:
Mar 17, 2007, 2:02:24 AM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
870da3e
Parents:
6513311
Message:

coerce busybox into building on BSD: remove “compress usages”
this wouldn't work because it required building a (small) subset
of busybox for the build system (with ${HOSTCC}) but didn't
autoconf for the include files etc. existing on it (because the
build system isn't necessarily glibc/Linux).

tested on mirbsd
happy wbx@

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2186 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/busybox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • package/busybox/Makefile

    r6513311 rf65ebbc  
    99PKG_NAME:=              busybox
    1010PKG_VERSION:=           1.4.1
    11 PKG_RELEASE:=           8
     11PKG_RELEASE:=           9
    1212PKG_MD5SUM:=            5728403bce309cdabcffa414e2e64052
    1313PKG_INIT:=              60
  • package/busybox/config/Config.in

    r6513311 rf65ebbc  
    8383
    8484config BUSYBOX_CONFIG_FEATURE_COMPRESS_USAGE
    85         bool "Store applet usage messages in compressed form"
    86         default y
    87         depends on BUSYBOX_CONFIG_SHOW_USAGE
    88         help
    89           Store usage messages in compressed form, uncompress them on-the-fly
    90           when <applet> --help is called.
    91 
    92           If you have a really tiny busybox with few applets enabled (and
    93           bunzip2 isn't one of them), the overhead of the decompressor might
    94           be noticeable.  Also, if you run executables directly from ROM
    95           and have very little memory, this might not be a win.  Otherwise,
    96           you probably want this.
     85        bool
     86        default n
    9787
    9888config BUSYBOX_CONFIG_FEATURE_INSTALLER
  • package/busybox/patches/950-unportability.patch

    r6513311 rf65ebbc  
    1212 debug=false
    1313 
     14--- busybox-1.4.1/applets/Kbuild.orig   Sat Mar 17 00:33:13 2007
     15+++ busybox-1.4.1/applets/Kbuild        Sat Mar 17 00:33:39 2007
     16@@ -7,16 +7,3 @@
     17 obj-y:=
     18 obj-y  += applets.o
     19 obj-y  += busybox.o
     20-
     21-# Generated file needs additional love
     22-
     23-applets/applets.o: include/usage_compressed.h
     24-
     25-hostprogs-y += usage
     26-always := $(hostprogs-y)
     27-HOSTCFLAGS_usage.o = -I$(srctree)/include
     28-
     29-quiet_cmd_gen_usage_compressed = GEN     include/usage_compressed.h
     30-      cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets
     31-include/usage_compressed.h: $(srctree)/include/usage.h applets/usage
     32-       $(call cmd,gen_usage_compressed)
Note: See TracChangeset for help on using the changeset viewer.