diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-12-05 21:53:01 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-16 14:54:57 +0100 |
commit | 90965566891ee63baaae6be66e55a12c28ab1b65 (patch) | |
tree | 7405afb58ca0a4744cb7e4eaaf3b5af623e4ae2b /target/device/Atmel/atngw100/target_skeleton/usr | |
parent | 729b0fa2cae5ccb18c58d77a204180d2fad6db73 (diff) | |
download | buildroot-novena-90965566891ee63baaae6be66e55a12c28ab1b65.tar.gz buildroot-novena-90965566891ee63baaae6be66e55a12c28ab1b65.zip |
board: simplify atngw100 support
Minimize atngw100_defconfig, remove atngw100-base_defconfig, and
remove the target skeleton and device table. Instead of having
complete copies of new target skeletons (making them hard to
maintain), we should just have a post-build script that
adds/removes/tweaks the existing target skeleton.
Moreover, most of the tweaks in this target skeleton were for specific
packages, but the policy now is that board defconfig should just build
a basic root filesystem with Busybox, and let the user select
whichever set of packages (s)he wants.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/device/Atmel/atngw100/target_skeleton/usr')
-rwxr-xr-x | target/device/Atmel/atngw100/target_skeleton/usr/share/udhcpc/default.script | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/target/device/Atmel/atngw100/target_skeleton/usr/share/udhcpc/default.script b/target/device/Atmel/atngw100/target_skeleton/usr/share/udhcpc/default.script deleted file mode 100755 index 56cbaf6c4..000000000 --- a/target/device/Atmel/atngw100/target_skeleton/usr/share/udhcpc/default.script +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - - -case $1 in - deconfig) - ifconfig $interface 0.0.0.0 - ;; - bound|renew) - ifconfig $interface $ip netmask $subnet broadcast $broadcast - route add default gw $router - echo -n > /etc/resolv.conf - [ -z "$domain" ] || echo "domain $domain" >> /etc/resolv.conf - for n in $dns; do echo "nameserver $n" >> /etc/resolv.conf; done - if [ ! -z "$hostname" ]; then - echo $hostname > /etc/hostname - hostname $hostname - fi - ;; -esac |