1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:23:09 +02:00

sync with buildroot2 from uclibc, add devices, may be used to build other kernel modules for different devices, can be used for other stuff

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@267 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
wbx 2005-02-19 07:46:01 +00:00
parent d66efda536
commit db7f4ab4d2
9 changed files with 53 additions and 12 deletions

View File

@ -4,4 +4,5 @@ choice
source "target/squashfs/Config.in"
source "target/squashfs-lzma/Config.in"
endchoice
comment "After changing root filesystem, do make clean"
source "target/device/Config.in"

View File

@ -1 +1,17 @@
# Nothing
# Default target skeleton stuff, may be overridden
TARGET_SKELETON=target/default/skel.tar.gz
TARGET_SKEL_DIR=target/default/target_skeleton
include target/device/Makefile.in
openwrt-linux.trx: openwrt-trx
PATH=$(TARGET_PATH) trx -o openwrt-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFS)
openwrt-gs-code.bin: openwrt-addpattern openwrt-linux.trx
PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux.trx -o openwrt-gs-code.bin -g
openwrt-g-code.bin: openwrt-gs-code.bin
sed -e "1s,^W54S,W54G," < openwrt-gs-code.bin > openwrt-g-code.bin
openwrt-image: openwrt-g-code.bin

View File

@ -1,10 +0,0 @@
openwrt-linux.trx: openwrt-trx
PATH=$(TARGET_PATH) trx -o openwrt-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFS)
openwrt-gs-code.bin: openwrt-addpattern openwrt-linux.trx
PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux.trx -o openwrt-gs-code.bin -g
openwrt-g-code.bin: openwrt-gs-code.bin
sed -e "1s,^W54S,W54G," < openwrt-gs-code.bin > openwrt-g-code.bin
openwrt-image: openwrt-g-code.bin

Binary file not shown.

View File

@ -0,0 +1,17 @@
choice
prompt "Device Support"
default BR2_TARGET_ALL
config BR2_TARGET_ALL
bool "Support for all devices"
config BR2_TARGET_LINKSYS_WRT54G
bool "Linksys WRT54G Support"
config BR2_TARGET_LINKSYS_WRT54GS
bool "Linksys WRT54GS Support"
config BR2_TARGET_ASUS_WL500G
bool "Asus WL-500g Support"
endchoice

View File

@ -0,0 +1,2 @@
-include target/device/*/*/Makefile.in
-include target/device/all/Makefile.in

View File

@ -43,3 +43,8 @@ jffs2root-clean:
jffs2root-dirclean:
rm -rf $(MTD_DIR)
ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
TARGETS+=jffs2root openwrt-image
ROOTFS=jffs2
endif

View File

@ -48,3 +48,8 @@ squashfslzmaroot-clean:
squashfslzmaroot-dirclean:
rm -rf $(SQUASHFSLZMA_DIR)
ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS_LZMA)),y)
TARGETS+=squashfslzmaroot openwrt-image
ROOTFS=squashfslzma
endif

View File

@ -47,3 +47,8 @@ squashfsroot-clean:
squashfsroot-dirclean:
rm -rf $(SQUASHFS_DIR)
ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS)),y)
TARGETS+=squashfsroot openwrt-image
ROOTFS=squashfs
endif