Changeset db5651c in freewrt for mk


Ignore:
Timestamp:
Sep 12, 2006, 8:11:35 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
eec1f7b
Parents:
a3abab6
Message:

merge wbx-target-cleanup to trunk.

  • mk directory for some top level makefiles (build.mk,vars.mk)
  • add a separate configfs partition to all models, 128 kb big
  • add model and platform specific startup files and kernel configs
  • delete target/linux/package, add all addon kernel packages to packages
  • simplify target/linux/brcm-2.4/Makefile, abstraction to mk/ comes later
  • add target/image directory, place where the different images are created
  • default off for all extra packages, be sure that you enable all packages you need to get a dsl-capable router. snapshots will be created by a specific config which contains all needed stuff (iptables, pppoe, pptp, haserl, webif)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@588 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
mk
Files:
1 added
2 moved

Legend:

Unmodified
Added
Removed
  • mk/build.mk

    ra3abab6 rdb5651c  
    1717-include $(TOPDIR)/.config
    1818endif
     19
    1920ifeq ($(strip $(FWRT_HAVE_DOT_CONFIG)),y)
    20 else
    21 V:=99
    22 endif
    2321include $(TOPDIR)/rules.mk
    2422
    25 ifeq ($(strip $(FWRT_HAVE_DOT_CONFIG)),y)
    2623all: world
    2724
     
    2926.PHONY: all world clean cleandir distclean image_clean target_clean
    3027
     28# In this section, we need .config
     29include .config.cmd
     30
    3131world: $(DL_DIR) $(BUILD_DIR) $(STAMP_DIR)
    3232        ${BASH} ${TOPDIR}/scripts/scan-pkgs.sh
    33         $(MAKE) -f build.mk tools/install toolchain/install target/compile package/compile root_clean package/install target/install package_index
     33        $(MAKE) -f mk/build.mk tools/install toolchain/install target/compile package/compile root_clean package/install target/install package_index
    3434        @$(TRACE) Build complete. See bin/ for the firmware and packages.
    3535
     
    7676        rm -rf $(BIN_DIR)
    7777
     78clean:
     79        @$(TRACE) clean
     80        @$(MAKE) -C $(CONFIG) clean
     81        rm -rf $(BUILD_DIR) $(BIN_DIR)
     82
    7883cleandir:
    7984        @$(TRACE) cleandir
     
    9398
    9499else # ifeq ($(strip $(FWRT_HAVE_DOT_CONFIG)),y)
     100
     101include $(TOPDIR)/lbin/prereq.mk
     102
    95103all: menuconfig
    96104        @echo "Start the build with \"make\" or with \"make v\" to be verbose"
    97 
    98 tools/install-lbin:
    99         $(MAKE) -C tools install-lbin
    100 
    101 endif # ifeq ($(strip $(FWRT_HAVE_DOT_CONFIG)),y)
    102105
    103106# configuration
     
    105108
    106109$(CONFIG)/conf:
    107         @$(MAKE) -C $(CONFIG) conf >/dev/null 2>&1
     110        @$(MAKE) -C $(CONFIG) conf > /dev/null 2>&1
    108111$(CONFIG)/mconf:
    109         @$(MAKE) -C $(CONFIG) >/dev/null 2>&1
     112        @$(MAKE) -C $(CONFIG) > /dev/null 2>&1
    110113
    111114menuconfig: $(CONFIG)/mconf
     
    127130        @cat .busybox-config .config.autobuild > .config
    128131
    129 clean:
    130         @$(TRACE) clean
    131         @$(MAKE) -C $(CONFIG) clean
    132         rm -rf $(BUILD_DIR) $(BIN_DIR)
     132tools/install-lbin:
     133        $(MAKE) -C tools install-lbin
     134
     135endif # ifeq ($(strip $(FWRT_HAVE_DOT_CONFIG)),y)
Note: See TracChangeset for help on using the changeset viewer.