From 95b6887e9aa27b9788f135635f1d40d9b309f456 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 19 Feb 2005 07:46:01 +0000 Subject: [PATCH] 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 --- openwrt/target/Config.in | 3 ++- openwrt/target/Makefile.in | 18 +++++++++++++++++- openwrt/target/default/openwrt.mk | 10 ---------- openwrt/target/default/skel.tar.gz | Bin 0 -> 193 bytes openwrt/target/device/Config.in | 17 +++++++++++++++++ openwrt/target/device/Makefile.in | 2 ++ openwrt/target/jffs2/jffs2root.mk | 5 +++++ .../target/squashfs-lzma/squashfslzmaroot.mk | 5 +++++ openwrt/target/squashfs/squashfsroot.mk | 5 +++++ 9 files changed, 53 insertions(+), 12 deletions(-) delete mode 100644 openwrt/target/default/openwrt.mk create mode 100644 openwrt/target/default/skel.tar.gz create mode 100644 openwrt/target/device/Config.in create mode 100644 openwrt/target/device/Makefile.in diff --git a/openwrt/target/Config.in b/openwrt/target/Config.in index 1fad548133..d93df6b1cf 100644 --- a/openwrt/target/Config.in +++ b/openwrt/target/Config.in @@ -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" diff --git a/openwrt/target/Makefile.in b/openwrt/target/Makefile.in index c01ade299a..802b576fba 100644 --- a/openwrt/target/Makefile.in +++ b/openwrt/target/Makefile.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 + diff --git a/openwrt/target/default/openwrt.mk b/openwrt/target/default/openwrt.mk deleted file mode 100644 index 89051cd1bf..0000000000 --- a/openwrt/target/default/openwrt.mk +++ /dev/null @@ -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 diff --git a/openwrt/target/default/skel.tar.gz b/openwrt/target/default/skel.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..86cefb1d24a81521856763fc61a4fa1a0fa2b5dc GIT binary patch literal 193 zcmV;y06za8iwFRIuNFc81MSsK4uUWcK;a&R8`#!P=RE$fG>`)7@ugL^ii;9W-nW^M zvVgo&QrC?;Qm!Z$-R{pVytYE}BLvKUXmd;~_PTxgGBx?rYQV zW_@{)W&Vkj`}e6kRon#M^bZ