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.
define Package/libgcc
SECTION:=libs
CATEGORY:=Base system
- DEFAULT:=y
DEPENDS:=@!NATIVE_TOOLCHAIN
TITLE:=GCC support library
URL:=http://gcc.gnu.org/
define Package/uclibc
SECTION:=libs
CATEGORY:=Base system
- DEFAULT:=y
DEPENDS:=@!NATIVE_TOOLCHAIN
TITLE:=C library embedded systems
URL:=http://uclibc.org/
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
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
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