sync with buildroot2 from uclibc, add devices, may be used to build other kernel modules for different devices, can be used for other stuff
SVN-Revision: 267
This commit is contained in:
parent
9d96d4bf9f
commit
95b6887e9a
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
BIN
openwrt/target/default/skel.tar.gz
Normal file
BIN
openwrt/target/default/skel.tar.gz
Normal file
Binary file not shown.
17
openwrt/target/device/Config.in
Normal file
17
openwrt/target/device/Config.in
Normal 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
|
2
openwrt/target/device/Makefile.in
Normal file
2
openwrt/target/device/Makefile.in
Normal file
@ -0,0 +1,2 @@
|
||||
-include target/device/*/*/Makefile.in
|
||||
-include target/device/all/Makefile.in
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user