X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8afb23270d23db6a033ba8fb77e1cf1a1d925a7c..5ce0b62462fb9d75a2c0083338d5f9c9e7633660:/package/base-files/Makefile?ds=sidebyside diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 1e234c65a..5af1414d4 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -35,7 +35,6 @@ CONFIG_PACKAGE_base-files$(TARGET):=$(CONFIG_PACKAGE_base-files) define Package/base-files$(TARGET) SECTION:=base CATEGORY:=Base system - DEFAULT:=y TITLE:=Base filesystem for OpenWrt DESCRIPTION:=\ This package contains a base filesystem and system scripts for OpenWrt. @@ -87,7 +86,6 @@ endef define Package/libgcc SECTION:=libs CATEGORY:=Base system - DEFAULT:=y DEPENDS:=@!NATIVE_TOOLCHAIN TITLE:=GCC support library URL:=http://gcc.gnu.org/ @@ -106,7 +104,6 @@ endef define Package/uclibc SECTION:=libs CATEGORY:=Base system - DEFAULT:=y DEPENDS:=@!NATIVE_TOOLCHAIN TITLE:=C library embedded systems URL:=http://uclibc.org/ @@ -122,7 +119,7 @@ define Build/Compile/ar7 endef define Build/Compile/brcm - $(TARGET_CC) -o $(PKG_BUILD_DIR)/jffs2root src/jffs2root.c + $(TARGET_CC) -I src -o $(PKG_BUILD_DIR)/jffs2root src/jffs2root.c endef define Build/Compile @@ -142,8 +139,10 @@ define Package/base-files$(TARGET)/install-brcm endef define Package/base-files$(TARGET)/install - $(call Package/base-files$(TARGET)/install-$(BOARD),$(1)) $(CP) ./default/* $(1)/ + if [ -d $(BOARD) ]; then \ + $(CP) $(BOARD)/* $(1)/; \ + fi if [ -d $(BOARD)-$(KERNEL) ]; then \ $(CP) $(BOARD)-$(KERNEL)/* $(1)/; \ fi @@ -164,6 +163,7 @@ define Package/base-files$(TARGET)/install rm -f $(1)/var ln -sf /tmp $(1)/var mkdir -p $(1)/etc +$(call Package/base-files$(TARGET)/install-$(BOARD),$(1)) endef define Package/libgcc/install