Skip to content

Commit

Permalink
build: use config.site generated by autoconf-lean, drop hardcoded sit…
Browse files Browse the repository at this point in the history
…efiles

Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 authored and dangowrt committed Feb 28, 2021
1 parent 32c664f commit f439e29
Show file tree
Hide file tree
Showing 20 changed files with 1 addition and 535 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ endif

# check prerequisites before starting to build
prereq: $(target/stamp-prereq) tmp/.prereq_packages
@if [ ! -f "$(INCLUDE_DIR)/site/$(ARCH)" ]; then \
echo 'ERROR: Missing site config for architecture "$(ARCH)" !'; \
echo ' The missing file will cause configure scripts to fail during compilation.'; \
echo ' Please provide a "$(INCLUDE_DIR)/site/$(ARCH)" file and restart the build.'; \
exit 1; \
fi

$(BIN_DIR)/profiles.json: FORCE
$(if $(CONFIG_JSON_OVERVIEW_IMAGE_INFO), \
Expand Down
2 changes: 1 addition & 1 deletion include/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ include $(INCLUDE_DIR)/autotools.mk
_pkg_target:=$(if $(QUILT),,.)

override MAKEFLAGS=
CONFIG_SITE:=$(INCLUDE_DIR)/site/$(ARCH)
CONFIG_SITE:=$(TOOLCHAIN_DIR)/config.site
CUR_MAKEFILE:=$(filter-out Makefile,$(firstword $(MAKEFILE_LIST)))
SUBMAKE:=$(NO_TRACE_MAKE) $(if $(CUR_MAKEFILE),-f $(CUR_MAKEFILE))
PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig
Expand Down
30 changes: 0 additions & 30 deletions include/site/aarch64

This file was deleted.

30 changes: 0 additions & 30 deletions include/site/aarch64_be

This file was deleted.

30 changes: 0 additions & 30 deletions include/site/arc

This file was deleted.

30 changes: 0 additions & 30 deletions include/site/arm

This file was deleted.

30 changes: 0 additions & 30 deletions include/site/armeb

This file was deleted.

3 changes: 0 additions & 3 deletions include/site/i386

This file was deleted.

30 changes: 0 additions & 30 deletions include/site/i486

This file was deleted.

3 changes: 0 additions & 3 deletions include/site/i686

This file was deleted.

78 changes: 0 additions & 78 deletions include/site/linux

This file was deleted.

28 changes: 0 additions & 28 deletions include/site/m68k

This file was deleted.

30 changes: 0 additions & 30 deletions include/site/mips

This file was deleted.

30 changes: 0 additions & 30 deletions include/site/mips64

This file was deleted.

Loading

0 comments on commit f439e29

Please sign in to comment.