Revert "build: align SOURCE path for build system and SDK"
authorDaniel Golle <daniel@makrotopia.org>
Mon, 12 Feb 2024 19:02:48 +0000 (19:02 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 12 Feb 2024 19:03:17 +0000 (19:03 +0000)
This reverts commit 131e41614dcfae1f995e55330ada6573ca244ba3.
Sadly it makes menuconfig fail with
tmp/.config-package.in:171: glob failed: No files found "feeds/base/utils/busybox/Config.in"
make: *** [/usr/src/openwrt/include/toplevel.mk:136: menuconfig] Error 1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/package-defaults.mk
target/imagebuilder/files/Makefile

index 392aad0d5db8e0d6d4bc1fb6ed95c9f4d3c3d840..30b112c7d8cc9c3b5f92042726f5a098d9e4f1a3 100644 (file)
@@ -20,7 +20,7 @@ define Package/Default
   PROVIDES:=
   EXTRA_DEPENDS:=
   MAINTAINER:=$(PKG_MAINTAINER)
-  SOURCE:=$(patsubst $(TOPDIR)/%,%,$(patsubst $(TOPDIR)/package/%,feeds/base/%,$(CURDIR)))
+  SOURCE:=$(patsubst $(TOPDIR)/%,%,$(CURDIR))
   ifneq ($(PKG_VERSION),)
     ifneq ($(PKG_RELEASE),)
       VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
index 40fba83b5e425c29d2972ceaac4beeaf36f52900..78ec7e2e94a94ebe10d374770b16330ee4014ad8 100644 (file)
@@ -106,8 +106,7 @@ PROFILE_LIST = $(foreach p,$(PROFILE_NAMES), \
        @$(SCRIPT_DIR)/target-metadata.pl profile_mk $< '$(BOARD)$(if $(SUBTARGET),/$(SUBTARGET))' > $@
 
 staging_dir/host/.prereq-build: include/prereq-build.mk
-       mkdir -p tmp feeds
-       ln -sf $(TOPDIR)/package $(TOPDIR)/feeds/base
+       mkdir -p tmp
        @$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f $(TOPDIR)/include/prereq-build.mk prereq IB=1 2>/dev/null || { \
                echo "Prerequisite check failed. Use FORCE=1 to override."; \
                false; \