Skip to content
Snippets Groups Projects
  1. Feb 21, 2017
    • Felix Fietkau's avatar
      px5g: replace px5g-standalone with a statically linked variant of px5g-mbedtls · 709d10e2
      Felix Fietkau authored
      
      px5g-standalone only supports SHA1 for certificates, which is strongly
      deprecated. The new px5g-standalone is about 27k bigger (compressed),
      and has identical behavior to px5g-mbedtls (it uses SHA256).
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      709d10e2
    • Felix Fietkau's avatar
      mbedtls: add --function-sections and --data-sections to CFLAGS · 7df0069b
      Felix Fietkau authored
      
      This allows binaries that links these libraries statically to be reduced
      by using --gc-sections on link
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      7df0069b
    • Felix Fietkau's avatar
      build: move opkg host dependency from package/install to package/compile · adeae0e0
      Felix Fietkau authored
      
      Improves parallel build behavior, since it allows opkg to be built at
      the same time as other packages
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      adeae0e0
    • Felix Fietkau's avatar
      cmake: skip build system check on compile · 294e908a
      Felix Fietkau authored
      
      cmake checks the build system and its variables on its own to detect if
      the makefiles need to be regenerated.
      Unfortunately this can invalidate overrides passed in the
      Build/Configure step. On non-Linux systems this breaks the build when
      switching between targets of the same package architecture.
      
      Fix this by forcibly disabling the build system check and relying on the
      LEDE build system to take care of these things
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      294e908a
    • Felix Fietkau's avatar
      build: allow building an individual subdir without dependencies using NO_DEPS=1 · e313a330
      Felix Fietkau authored
      
      QUILT=1 had the same effect, but it is sometimes useful to be able to do
      this without quilt
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      e313a330
    • Michal Sojka's avatar
      scripts/feeds: Reuse TOPDIR if defined in environment · b1f102b0
      Michal Sojka authored
      
      The feeds script sets value of TOPDIR in a way that is inconsistent
      with how toplevel Makefile sets it. The inconsistency manifests when I
      use a "build directory" with symlinks to LEDE source (see below).
      
      When make is invoked in such a directory, make's TOPDIR variable is
      set to that directory, whereas scripts/feeds sets TOPDIR to the top of
      LEDE source, which results in creating feeds directory inside the LEDE
      source instead of in the build directory.
      
      This patch changes the script so that it reuses the TOPDIR value form
      the environment if it exists. The result is that 'make
      package/symlinks' correctly fetches feeds to the build directory
      instead in the source.
      
      I use the following commands to create the build directory:
      
          ln -s $SRC/config config
          ln -s $SRC/Config.in Config.in
          ln -s $SRC/feeds.conf.default feeds.conf.default
          ln -s $SRC/include include
          ln -s $SRC/Makefile Makefile
          mkdir package
          ln -s $SRC/package/base-files package/base-files
          ln -s $SRC/package/boot package/boot
          ln -s $SRC/package/devel package/devel
          ln -s $SRC/package/firmware package/firmware
          ln -s $SRC/package/kernel package/kernel
          ln -s $SRC/package/libs package/libs
          ln -s $SRC/package/Makefile package/Makefile
          ln -s $SRC/package/network package/network
          ln -s $SRC/package/system package/system
          ln -s $SRC/package/utils package/utils
          ln -s $SRC/rules.mk rules.mk
          ln -s $SRC/scripts scripts
          ln -s $SRC/target target
          ln -s $SRC/toolchain toolchain
          ln -s $SRC/tools tools
      
      This allows me to easily test changes in LEDE on multiple targets.
      
      Signed-off-by: default avatarMichal Sojka <sojkam1@fel.cvut.cz>
      b1f102b0
  2. Feb 20, 2017
  3. Feb 19, 2017
  4. Feb 18, 2017
  5. Feb 17, 2017
  6. Feb 16, 2017
Loading