diff options
author | Mike Baker <mbm@openwrt.org> | 2004-08-12 06:43:18 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2004-08-12 06:43:18 +0000 |
commit | b8498ba4793c3a73af038ea99f25034e15f9a6b8 (patch) | |
tree | 22752a601529b6191cdb4ca51cd33cf419daf621 /obsolete-buildroot | |
parent | ab8c3f11f4efaff748c7940dc96d9c4fa91dab24 (diff) | |
download | mtk-20170518-b8498ba4793c3a73af038ea99f25034e15f9a6b8.zip mtk-20170518-b8498ba4793c3a73af038ea99f25034e15f9a6b8.tar.gz mtk-20170518-b8498ba4793c3a73af038ea99f25034e15f9a6b8.tar.bz2 |
moved root.tar.gz to sources/openwrt/root
SVN-Revision: 135
Diffstat (limited to 'obsolete-buildroot')
-rw-r--r-- | obsolete-buildroot/Makefile | 13 | ||||
-rw-r--r-- | obsolete-buildroot/make/openwrt.mk | 7 |
2 files changed, 10 insertions, 10 deletions
diff --git a/obsolete-buildroot/Makefile b/obsolete-buildroot/Makefile index 3f0164a..7b60dd5 100644 --- a/obsolete-buildroot/Makefile +++ b/obsolete-buildroot/Makefile @@ -98,9 +98,9 @@ INSTALL_LIBGCJ:=false # The list of stuff to build for the target filesystem # ############################################################# -TARGETS:=host-sed gcc3_3 ipkg-utils openwrt-base openwrt-code.bin +TARGETS:=host-sed openwrt-code.bin -PACKAGES:=oidentd iproute2 sched-modules wshaper +PACKAGES:=oidentd iproute2 sched-modules wshaper zlib openssl openssh pppoecd ############################################################# # @@ -194,7 +194,10 @@ OPENWRT_IPK_DIR=$(SOURCE_DIR)/openwrt/ipkg $(BUILD_DIR)/Packages : $(PACKAGES_IPK) (cd $(BUILD_DIR) ; $(IPKG_MAKE_INDEX) . > Packages) -world: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS) $(PACKAGES_IPK) $(BUILD_DIR)/Packages +world: $(DL_DIR) $(TARGETS_SOURCE) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS) + @echo "ALL DONE." + +packages: ipkg-utils $(PACKAGES_IPK) $(BUILD_DIR)/Packages @echo "ALL DONE." .PHONY: all world clean dirclean distclean source $(TARGETS) \ @@ -223,9 +226,9 @@ $(STAGING_DIR): ln -fs ../$(REAL_GNU_TARGET_NAME)/include $(STAGING_DIR)/usr/include -$(TARGET_DIR): $(DL_DIR)/$(OPENWRT_ROOT_SKEL) +$(TARGET_DIR): rm -rf $(TARGET_DIR) - zcat $(DL_DIR)/$(OPENWRT_ROOT_SKEL) | tar -C $(BUILD_DIR) -xf - + cp -a $(SOURCE_DIR)/openwrt/root/ $(TARGET_DIR) -find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1 source: $(TARGETS_SOURCE) diff --git a/obsolete-buildroot/make/openwrt.mk b/obsolete-buildroot/make/openwrt.mk index e839a0a..5867046 100644 --- a/obsolete-buildroot/make/openwrt.mk +++ b/obsolete-buildroot/make/openwrt.mk @@ -23,7 +23,7 @@ # Currently the dependencies are not all handled. But that's true of # our buildroot in general, since it wasn't really set up for end users. -OPENWRT_TARGETS:= openwrt-linux openwrt-kmodules.tar.bz2 \ +OPENWRT_TARGETS:= gcc3_3 openwrt-linux openwrt-kmodules.tar.bz2 \ openwrt-shared openwrt-mtd openwrt-nvram openwrt-wlconf \ bridge dnsmasq1 iptables wtools busybox \ openwrt-rootprep @@ -34,8 +34,6 @@ openwrt-base: $(OPENWRT_TARGETS) ###################################################################### -ifneq ($(filter $(TARGETS),openwrt-base),) - WRT54G_SOURCE=wrt54gs.2.07.1.tgz WRT54G_SITE=http://www.linksys.com/support/opensourcecode/wrt54gs/2.07.1 WRT54G_DIR=$(BUILD_DIR)/WRT54GS @@ -204,7 +202,7 @@ openwrt-rootprep: ###################################################################### -openwrt-prune: +openwrt-prune: openwrt-base -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; # remove unneeded uClibc libs rm -rf $(TARGET_DIR)/lib/libthread_db* @@ -237,4 +235,3 @@ openwrt-g-code.bin: openwrt-gs-code.bin openwrt-code.bin: openwrt-gs-code.bin openwrt-g-code.bin ###################################################################### -endif |