remove old image builder directory - will be rewritten
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4688 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
2b9bdfa6ea
commit
9e82ec08c0
|
@ -1,55 +0,0 @@
|
|||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
default: clean all
|
||||
|
||||
TOPDIR:=${shell pwd}
|
||||
export TOPDIR
|
||||
IB:=1
|
||||
export IB
|
||||
include ./rules.mk
|
||||
|
||||
LINUX_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
|
||||
IPKG_KERNEL:=IPKG_TMP=$(BUILD_DIR)/tmp IPKG_INSTROOT=$(LINUX_BUILD_DIR)/root IPKG_CONF_DIR=$(LINUX_BUILD_DIR) $(SCRIPT_DIR)/ipkg -force-defaults -force-depends
|
||||
|
||||
define image_template
|
||||
|
||||
all: all-$(1)-$(2)
|
||||
|
||||
all-$(1)-$(2):
|
||||
@for listfile in ./lists/*.$(1)-$(2); do \
|
||||
$(MAKE) -s `echo $$$$listfile | sed 's,.*lists/\(.*\).$(1)-$(2),BOARD=$(1) KERNEL=$(2) LIST=\1,'` build; \
|
||||
done
|
||||
endef
|
||||
|
||||
include ./kernel.mk
|
||||
|
||||
clean: FORCE
|
||||
@rm -rf $(LINUX_BUILD_DIR)/root*
|
||||
@rm -rf $(BIN_DIR)
|
||||
all:
|
||||
|
||||
build: FORCE
|
||||
echo
|
||||
echo '### BUILDING IMAGE FROM lists/$(LIST).$(BOARD)-$(KERNEL)'
|
||||
echo
|
||||
rm -rf $(LINUX_BUILD_DIR)/root*
|
||||
mkdir -p $(BIN_DIR)/$(LIST)
|
||||
mkdir -p $(LINUX_BUILD_DIR)/tmp
|
||||
mkdir -p $(LINUX_BUILD_DIR)/root
|
||||
echo -e 'dest root /\noption offline_root $(LINUX_BUILD_DIR)/root' > $(LINUX_BUILD_DIR)/ipkg.conf
|
||||
$(IPKG_KERNEL) install $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/kernel[-_]*.ipk
|
||||
for package in `grep -v '^#' lists/$(LIST).$(BOARD)-$(KERNEL)`; do \
|
||||
$(IPKG_KERNEL) install `ls packages/$${package}_*`; \
|
||||
done
|
||||
if [ -d ./files ]; then \
|
||||
$(CP) --remove-destination ./files/* $(LINUX_BUILD_DIR)/root; \
|
||||
fi
|
||||
if [ -d ./files.$(LIST) ]; then \
|
||||
$(CP) --remove-destination ./files.$(LIST)/* $(LINUX_BUILD_DIR)/root; \
|
||||
fi
|
||||
find $(LINUX_BUILD_DIR)/root -name '.svn' || 'CVS' | xargs rm -rf
|
||||
$(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install
|
|
@ -1,21 +0,0 @@
|
|||
base-files
|
||||
base-files-ar7-2.4
|
||||
br2684ctl
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
kmod-atm
|
||||
kmod-cpmac
|
||||
kmod-pppoatm
|
||||
kmod-sangam-atm-annex-a
|
||||
kmod-ppp
|
||||
kmod-pppoe
|
||||
linux-atm
|
||||
mtd
|
||||
ppp
|
||||
ppp-mod-pppoa
|
||||
ppp-mod-pppoe
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,21 +0,0 @@
|
|||
base-files
|
||||
base-files-ar7-2.4
|
||||
br2684ctl
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
kmod-atm
|
||||
kmod-cpmac
|
||||
kmod-pppoatm
|
||||
kmod-sangam-atm-annex-b
|
||||
kmod-ppp
|
||||
kmod-pppoe
|
||||
linux-atm
|
||||
mtd
|
||||
ppp
|
||||
ppp-mod-pppoa
|
||||
ppp-mod-pppoe
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,24 +0,0 @@
|
|||
base-files
|
||||
base-files-brcm
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
haserl
|
||||
ipkg
|
||||
iptables
|
||||
iwlib
|
||||
kmod-brcm-wl
|
||||
kmod-diag
|
||||
kmod-ppp
|
||||
kmod-pppoe
|
||||
kmod-switch
|
||||
kmod-wlcompat
|
||||
mtd
|
||||
nvram
|
||||
ppp
|
||||
ppp-mod-pppoe
|
||||
uclibc
|
||||
webif
|
||||
wificonf
|
||||
wireless-tools
|
|
@ -1,17 +0,0 @@
|
|||
base-files
|
||||
base-files-brcm-2.6
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
iwlib
|
||||
kmod-madwifi
|
||||
kmod-ppp
|
||||
kmod-pppoe
|
||||
kmod-switch
|
||||
mtd
|
||||
ppp
|
||||
ppp-mod-pppoe
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,15 +0,0 @@
|
|||
base-files
|
||||
base-files-x86-2.4
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
kmod-net-natsemi
|
||||
kmod-ppp
|
||||
kmod-pppoe
|
||||
mtd
|
||||
ppp
|
||||
ppp-mod-pppoe
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,15 +0,0 @@
|
|||
base-files
|
||||
base-files-x86-2.6
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
kmod-net-natsemi
|
||||
kmod-ppp
|
||||
kmod-pppoe
|
||||
mtd
|
||||
ppp
|
||||
ppp-mod-pppoe
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,11 +0,0 @@
|
|||
base-files
|
||||
base-files-ar7-2.4
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
kmod-cpmac
|
||||
mtd
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,16 +0,0 @@
|
|||
base-files
|
||||
base-files-brcm-2.4
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
iwlib
|
||||
kmod-brcm-wl
|
||||
kmod-diag
|
||||
kmod-switch
|
||||
kmod-wlcompat
|
||||
mtd
|
||||
nvram
|
||||
uclibc
|
||||
wificonf
|
|
@ -1,11 +0,0 @@
|
|||
base-files
|
||||
base-files-brcm-2.6
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
iwlib
|
||||
kmod-switch
|
||||
mtd
|
||||
uclibc
|
|
@ -1,11 +0,0 @@
|
|||
base-files
|
||||
base-files-x86-2.4
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
kmod-net-natsemi
|
||||
mtd
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,11 +0,0 @@
|
|||
base-files
|
||||
base-files-x86-2.6
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
kmod-net-natsemi
|
||||
mtd
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,24 +0,0 @@
|
|||
base-files
|
||||
base-files-brcm
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
haserl
|
||||
ipkg
|
||||
iptables
|
||||
iwlib
|
||||
kmod-brcm-wl
|
||||
kmod-diag
|
||||
kmod-ppp
|
||||
kmod-gre
|
||||
kmod-switch
|
||||
kmod-wlcompat
|
||||
mtd
|
||||
nvram
|
||||
ppp
|
||||
pptp
|
||||
uclibc
|
||||
webif
|
||||
wificonf
|
||||
wireless-tools
|
|
@ -1,17 +0,0 @@
|
|||
base-files
|
||||
base-files-brcm-2.6
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
iwlib
|
||||
kmod-madwifi
|
||||
kmod-ppp
|
||||
kmod-gre
|
||||
kmod-switch
|
||||
mtd
|
||||
ppp
|
||||
pptp
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,15 +0,0 @@
|
|||
base-files
|
||||
base-files-x86-2.4
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
kmod-net-natsemi
|
||||
kmod-ppp
|
||||
kmod-gre
|
||||
mtd
|
||||
ppp
|
||||
pptp
|
||||
uclibc
|
||||
wireless-tools
|
|
@ -1,15 +0,0 @@
|
|||
base-files
|
||||
base-files-x86-2.6
|
||||
bridge
|
||||
busybox
|
||||
dnsmasq
|
||||
dropbear
|
||||
iptables
|
||||
kmod-net-natsemi
|
||||
kmod-ppp
|
||||
kmod-gre
|
||||
mtd
|
||||
ppp
|
||||
pptp
|
||||
uclibc
|
||||
wireless-tools
|
Loading…
Reference in New Issue