Public feed
#377312
--- k.o/include/target.mk 2007-02-28 16:37:38.589024750 -0600
+++ k.c/include/target.mk 2007-02-28 15:31:47.850119000 -0600
@@ -5,6 +5,23 @@
# See /LICENSE for more information.
#
+define AddProfile
+ $(eval $(call Profile/Default))
+ $(eval $(call Profile/$(1)))
+ ifneq ($(ID),)
+ ifeq ($(PROFILE),)
+ PROFILE:=$(ID)
+ endif
+ $(ID)_NAME:=$(NAME)
+ $(ID)_PACKAGES:=$(PACKAGES)
+ ifneq ($(KCONFIG),)
+ PROFILE_LIST += \
+ echo '$(ID):'; [ -z '$(NAME)' ] || echo ' $(NAME)'; echo ' Packages: $(PACKAGES)';
+ endif
+ endif
+endef
+
+
include $(TMP_DIR)/.target.mk
ifeq ($(IB),1)
--- k.o/package/base-files/Makefile 2007-02-28 16:37:38.593025000 -0600
+++ k.c/package/base-files/Makefile 2007-03-01 11:14:01.575199750 -0600
@@ -96,8 +96,13 @@
define Package/base-files$(TARGET)/install
$(CP) ./files/* $(1)/
- if [ -d $(PLATFORM_DIR)/base-files/. ]; then \
- $(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \
+ if [ -d $(PLATFORM_DIR)/base-files/Default-base-files/. ]; then \
+ $(CP) $(PLATFORM_DIR)/base-files/Default-base-files/* $(1)/; \
+ fi
+ if [ "$(PROFILE)" != "Default" ]; then \
+ if [ -d $(PLATFORM_DIR)/base-files/$(PROFILE)-base-files/. ]; then \
+ $(CP) $(PLATFORM_DIR)/base-files/$(PROFILE)-base-files/* $(1)/; \
+ fi; \
fi
$(SED) 's,$$$$R,r$(REV),g' $(1)/etc/banner
$(SED) 's,$$$$S,$(BOARD)-$(KERNEL),g' $(1)/etc/ipkg.conf